Template:NPC Text/doc

From Homecoming Wiki
< Template:NPC Text
Revision as of 01:49, 3 July 2008 by imported>Sekoia (historical) (+note about {{character}})
Jump to navigation Jump to search
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