Template:Equipment/doc: Difference between revisions

From Dragon Quest Wiki
(updating to match template)
No edit summary
Line 7: Line 7:
<pre>{{Equipment|header|image=Broad_sword.png|name=Broad Sword|console=NES}}</pre>
<pre>{{Equipment|header|image=Broad_sword.png|name=Broad Sword|console=NES}}</pre>
*'''header''': A required parameter which marks this as the start of a equipment table.
*'''header''': A required parameter which marks this as the start of a equipment table.
*'''console''': An optional parameter for specifying the console version of the game the equipment appears in.
*'''name''': The name of the equipment.  This should be the localization name used in the game in which this piece of equipment appears.
*'''name''': The name of the equipment.  This should be the localization name used in the game in which this piece of equipment appears.
*'''image''': if there is an image of this piece of equipment, it should be included here.  Note this is the filename only, not a link to the image.
*'''image''': if there is an image of this piece of equipment, it should be included here.  Note this is the filename only, not a link to the image.
Line 26: Line 27:
==Example==
==Example==
===Sample===
===Sample===
{{Equipment|header|image=Lottery_icon.png|name=Giant Hammer}}
{{Equipment|header|image=Lottery_icon.png|name=Giant Hammer|console=GBC}}
{{Equipment|stat|name=Attack|modifier=+8}}
{{Equipment|stat|name=Attack|modifier=+8}}
{{Equipment|stat|name=Agility|modifier=-10}}
{{Equipment|stat|name=Agility|modifier=-10}}