Template:NPC Text: Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
mNo edit summary
m (Improved formatting.)
Line 1: Line 1:
<includeonly>{|
<includeonly>{|
| style="width: 0%; padding:0px" |
| style="width: 0%; padding:0.1px" |
| style="width: 100%" |
| style="width: 100%" |
{{Hidden|header={{{title|NPC Text}}}|content={{{text|'''Please supply text. See [[Template:NPC Text]] for usage.'''}}}|headercss = background:  
{{Hidden|header={{{title|NPC Text}}}|content={{{text|'''Please supply text. See [[Template:NPC Text]] for usage.'''}}}|headercss = background:  

Revision as of 00:57, 28 October 2020

[edit] [purge] Documentation

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