Template:NPC Text/doc: Difference between revisions

From City of Heroes: Rebirth Wiki
Jump to navigation Jump to search
imported>Sekoia
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...
(No difference)

Revision as of 02:55, 27 February 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.

This:

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

Results in this:


NPC Text 

Please supply text. See Template:NPC Text for usage.


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:

Example Dialog 

Please supply text. See Template:NPC Text for usage.


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:

Example Dialog 

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


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 

Please supply text. See Template:NPC Text for usage.


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

Please supply text. See Template:NPC Text for usage.


See also