Template:NPC Text/doc
< Template:NPC Text
Jump to navigation
Jump to search
Revision as of 21:49, 2 July 2008 by imported>Sekoia (+note about {{character}})
Usage
This template is used for adding NCP text to a mission article.
If you use the {{character}} template in your text, be sure to use the text= parameter. If you don't, nothing will show up due to parsing issues.
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. |
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