Difference between revisions of "Template:NPC Text/doc"
From Paragon Wiki Archive
(removing examples that use positional parameters; noting default for title=) |
Zombie Man (Talk | contribs) m (Moved within heirarchy of categories) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> | ||
==Usage== | ==Usage== | ||
− | This template is used for adding | + | This template is used for adding NPC text to a mission article. |
Normal usage: | Normal usage: | ||
− | :<nowiki>{{NPC Text|title=Example | + | :<nowiki>{{NPC Text|title=Example dialogue|text=Person A: This is an example.<br />Person B: That's so cool!}}</nowiki> |
Result: | Result: | ||
− | {{NPC Text|title=Example | + | {{NPC Text|title=Example dialogue|text=Person A: This is an example.<br />Person B: That's so cool!}} |
If omitted, title= defaults to "NPC Text". | If omitted, title= defaults to "NPC Text". | ||
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]] | + | [[Category:Mission Templates]] |
</includeonly> | </includeonly> |
Latest revision as of 03:19, 18 February 2010
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
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
- {{NPC Text|type=villain|text=Person A: This is an example.<br />Person B: That's so cool!}}
NPC Text
See also