Template:NPC Text/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Zombie Man (historical) m (Moved within heirarchy of categories) |
(Added Half Size example) |
||
Line 20: | Line 20: | ||
:<nowiki>{{NPC Text|type=villain|text=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|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!}} | ||
You can also use the width= flag to set a size for the box options of: 25, 50, 75. Default is 100% | |||
:<nowiki>{{NPC Text|width=50|text=Person A: This is an example of a half size box.<br />Person B: That's so cool!}}</nowiki> | |||
{{NPC Text|type=hero|width=50|text=Person A: This is an example of a half size box.<br />Person B: That's so cool!}} | |||
==See also== | ==See also== |
Revision as of 21:06, 22 June 2020
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
You can also use the width= flag to set a size for the box options of: 25, 50, 75. Default is 100%
- {{NPC Text|width=50|text=Person A: This is an example of a half size box.<br />Person B: That's so cool!}}
NPC Text
See also