Template:NPC: Difference between revisions
Appearance
imported>Katzeus No edit summary |
imported>Katzeus No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><p>[[File:{{{1|}}}_Icon.png|link={{{1|}}}]] [[{{{1|}}}]]{{#if: {{{2|}}}| ({{{2|}}})|}}</p></includeonly> | <includeonly><p>[[File:{{{1|}}}_Icon.png|link={{{1|}}}]] [[{{{1|}}}]]{{#if: {{{2|}}}| ({{{2|}}})|}}</p></includeonly> | ||
<noinclude>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 == | |||
<pre> | |||
{{name|Pierre|Father}} | |||
</pre> | |||
When used the parameters are not identified by name, but by order. Example use of this template; | |||
<pre>{{npc|Jodi|Mother}}</pre> | |||
Result: {{npc|Jodi|Mother}} | |||
<pre>{{npc|Pierre|30G}}</pre> | |||
Result: {{npc|Pierre|30G}} | |||
<pre>{{npc|Sebastian}}</pre> | |||
Result: {{npc|Sebastian}} | |||
[[Category:Template]]</noinclude> | |||
Revision as of 06:24, 26 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: Template:Npc
{{npc|Pierre|30G}}
Result: Template:Npc
{{npc|Sebastian}}
Result: Template:Npc