Template:NPC Text/doc: Difference between revisions

From Homecoming Wiki
Jump to navigation Jump to search
imported>Sekoia (historical)
(New page: {{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> ==Usage== This template is used for adding NCP text to a mission article. This: :<nowik...)
 
imported>Sekoia (historical)
m (+note about {{character}})
Line 3: Line 3:
==Usage==
==Usage==
This template is used for adding NCP text to a mission article.
This template is used for adding NCP text to a mission article.
If you use the {{tl|character}} template in your text, be sure to use the text= parameter. If you don't, nothing will show up due to parsing issues.


This:
This:

Revision as of 01:49, 3 July 2008

This is a documentation subpage for Template:NPC Text (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

Usage

This template is used for adding NCP text to a mission article.

If you use the {{character}} template in your text, be sure to use the text= parameter. If you don't, nothing will show up due to parsing issues.

This:

{{NPC Text|Person A: This is an example.<br />Person B: That's so cool!}}

Results in this:

You can also specify a title.

{{NPC Text|title=Example Dialog|Person A: This is an example.<br />Person B: That's so cool!}}

Result:

And you can also call it like this if you want:

{{NPC Text|title=Example Dialog|text=Person A: This is an example.<br />Person B: That's so cool!}}

Result:

You can also use the type= flag to specify hero or villain to get different results.

{{NPC Text|type=hero|Person A: This is an example.<br />Person B: That's so cool!}}
{{NPC Text|type=villain|Person A: This is an example.<br />Person B: That's so cool!}}

See also