Difference between revisions of "Template:NPC Text/doc"
From Paragon Wiki Archive
m (+note about {{character}}) |
(removing examples that use positional parameters; noting default for title=) |
||
Line 4: | Line 4: | ||
This template is used for adding NCP text to a mission article. | This template is used for adding NCP text to a mission article. | ||
− | + | Normal usage: | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
:<nowiki>{{NPC Text|title=Example Dialog|text=Person A: This is an example.<br />Person B: That's so cool!}}</nowiki> | :<nowiki>{{NPC Text|title=Example Dialog|text=Person A: This is an example.<br />Person B: That's so cool!}}</nowiki> | ||
Line 25: | Line 10: | ||
Result: | Result: | ||
{{NPC Text|title=Example Dialog|text=Person A: This is an example.<br />Person B: That's so cool!}} | {{NPC Text|title=Example Dialog|text=Person A: This is an example.<br />Person B: That's so cool!}} | ||
+ | |||
+ | If omitted, title= defaults to "NPC Text". | ||
You can also use the type= flag to specify hero or villain to get different results. | You can also use the type= flag to specify hero or villain to get different results. | ||
− | :<nowiki>{{NPC Text|type=hero|Person A: This is an example.<br />Person B: That's so cool!}}</nowiki> | + | :<nowiki>{{NPC Text|type=hero|text=Person A: This is an example.<br />Person B: That's so cool!}}</nowiki> |
− | {{NPC Text|type=hero|Person A: This is an example.<br />Person B: That's so cool!}} | + | {{NPC Text|type=hero|text=Person A: This is an example.<br />Person B: That's so cool!}} |
− | :<nowiki>{{NPC Text|type=villain|Person A: This is an example.<br />Person B: That's so cool!}}</nowiki> | + | :<nowiki>{{NPC Text|type=villain|text=Person A: This is an example.<br />Person B: That's so cool!}}</nowiki> |
− | {{NPC Text|type=villain|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== | ==See also== |
Revision as of 02:11, 16 July 2008
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:
Example Dialog
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