11,286
edits
FlyingRagnar (talk | contribs) No edit summary |
FlyingRagnar (talk | contribs) (updating to match reworked template) |
||
| Line 5: | Line 5: | ||
===Header=== | ===Header=== | ||
A header call to this template should be the first usage of this template on any page. | A header call to this template should be the first usage of this template on any page. | ||
<pre>{{Equipment|header}}</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. | |||
*'''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. | |||
===Entry=== | ===Entry=== | ||
An entry call is made to designate equipment data for a specific console. Note that pieces of equipment that have the exact same attributes across different consoles can be described in the same entry. | An entry call is made to designate equipment data for a specific console. Note that pieces of equipment that have the exact same attributes across different consoles can be described in the same entry. | ||
<pre>{{Equipment| | <pre>{{Equipment|stat|name=Attack|modified=+10}}</pre> | ||
*'''stat''': A required parameter marking a stat entry. | |||
|name | *'''name''': The name of the stat being modified by the equipment | ||
*'''modifier''': The value (+/-) the stat is being modified. Should include a + or - in front of the value. | |||
| | |||
* | |||
* | |||
* | |||
===Footer=== | ===Footer=== | ||
The footer call marks the end of the equipment table. | The footer call marks the end of the equipment table. | ||
<pre>{{Equipment|footer}}</pre> | <pre>{{Equipment|footer|sellPrice=300|flavor=This is some flavor.|notes=These are notes.}}</pre> | ||
*footer: A required parameter marking the template as the footer. | *'''footer''': A required parameter marking the template as the footer. | ||
*'''buyPrice''': The price of the equipment when bought from a shop. The 'G' for gold is added automatically. | |||
*'''sellPrice''': The price of the equipment when sold to a shop. The 'G' for gold is added automatically. | |||
*'''flavor''': If there is specific flavor text used to describe this equipment in the game, it should be quoted here. This paramter is optional. | |||
*'''notes''': Any special notes about this particular piece of equipment (cursed, in-battle effects, etc.) This parameter is optional. | |||
==Example== | ==Example== | ||
===Sample=== | ===Sample=== | ||
{{Equipment|header}} | {{Equipment|header|name=Giant Hammer|console=GBC}} | ||
{{Equipment| | {{Equipment|stat|name=Attack|modifier=+8}} | ||
{{Equipment|stat|name=Agility|modifier=-10}} | |||
|name | {{Equipment|footer|buyPrice=60|sellPrice=30|flavor=A giant hammer with destructive power.|notes=Casts Slow when used in battle.}} | ||
| | |||
{{Equipment| | |||
|name= | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|notes=Casts | |||
===Code=== | ===Code=== | ||
<pre> | <pre> | ||
{{Equipment|header}} | {{Equipment|header|name=Giant Hammer|console=GBC}} | ||
{{Equipment| | {{Equipment|stat|name=Attack|modifier=+8}} | ||
{{Equipment|stat|name=Agility|modifier=-10}} | |||
|name | {{Equipment|footer|buyPrice=60|sellPrice=30|flavor=A giant hammer with destructive power.|notes=Casts Slow when used in battle.}} | ||
| | |||
{{Equipment| | |||
|name= | |||
| | |||
| | |||
| | |||
| | |||
| | |||
|notes=Casts | |||
</pre> | </pre> | ||