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

Template:NPC Text/doc: Difference between revisions

From Paragon Wiki Archive
Jump to navigationJump to search
Aggelakis (talk | contribs)
mNo edit summary
Aggelakis (talk | contribs)
m dialog->dialogue
Line 6: Line 6:
Normal usage:
Normal usage:


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


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


If omitted, title= defaults to "NPC Text".
If omitted, title= defaults to "NPC Text".

Revision as of 19:04, 7 July 2009

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 NPC text to a mission article.

Normal usage:

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

Result:

If omitted, title= defaults to "NPC Text".

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

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

See also