Template:NPC Text/doc

From Unofficial Homecoming Wiki
< Template:NPC Text
Revision as of 02:11, 16 July 2008 by imported>Sekoia (removing examples that use positional parameters; noting default for title=)
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.

Normal usage:

{{NPC Text|title=Example Dialog|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