Badge time.png   The Paragon Wiki Archive documents the state of City of Heroes/Villains as it existed on December 1, 2012.

Template:NPC Text/doc

From Paragon Wiki Archive
< Template:NPC Text
Revision as of 01:49, 3 July 2008 by Sekoia (Talk | contribs) (+note about {{character}})

Jump to: navigation, 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