Template:NPC: Difference between revisions
Appearance
imported>Oath2order m Oath2order moved page Template:Npc to Template:NPC without leaving a redirect |
imported>Oath2order No edit summary |
||
| Line 8: | Line 8: | ||
</pre> | </pre> | ||
When used the parameters are not identified by name, but by order. Example use of this template; | When used the parameters are not identified by name, but by order. Example use of this template; | ||
<pre>{{ | <pre>{{NPC|Jodi|Mother}}</pre> | ||
Result: {{ | Result: {{NPC|Jodi|Mother}} | ||
<pre>{{ | <pre>{{NPC|Pierre|30G}}</pre> | ||
Result: {{ | Result: {{NPC|Pierre|30G}} | ||
<pre>{{ | <pre>{{NPC|Sebastian}}</pre> | ||
Result: {{ | Result: {{NPC|Sebastian}} | ||
[[Category:Template]]</noinclude> | [[Category:Template]]</noinclude> | ||
Revision as of 05:44, 29 February 2016
This template places the picture of an npc next to their name, resizes the image to 32px wide, makes the npc name a link, and lastly places the third parameter in parenthesis to signify relationship or any other secondary detail.
The corresponding template for items and objects is named Template:name.
Use
{{name|Pierre|Father}}
When used the parameters are not identified by name, but by order. Example use of this template;
{{NPC|Jodi|Mother}}Result:
Jodi (Mother)
{{NPC|Pierre|30G}}Result:
Pierre (30G)
{{NPC|Sebastian}}Result: