Template:NPC Text/doc: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
imported>Zombie Man
m (typo)
imported>Zombie Man
m (Moved within heirarchy of categories)
 
Line 26: Line 26:
<includeonly><!--
<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->
[[Category:Templates|{{PAGENAME}}]] [[Category:Mission Templates]]
[[Category:Mission Templates]]
</includeonly>
</includeonly>

Latest revision as of 23:19, 17 February 2010

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:

Example dialogue 

Person A: This is an example.
Person B: That's so cool!


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 

Person A: This is an example.
Person B: That's so cool!


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

Person A: This is an example.
Person B: That's so cool!


See also