Template:Equipment/doc: Difference between revisions

362 bytes removed ,  23:07, 20 February 2010
m
no edit summary
mNo edit summary
mNo edit summary
Line 7: Line 7:
<pre>{{Equipment|header}}</pre>
<pre>{{Equipment|header}}</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.
===Subtable===
===Entry===
A subtable 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 subtable.
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|subtable|console=NES,GBC}}</pre>
<pre>{{Equipment|subtable|console=NES,GBC}}</pre>
*subtable: A required parameter marking the start of a subtable.
*entry: A required parameter marking an entry.
*console: The console version of the game. '''Note:''' This parameter should contain multiple console values separated by commas if the attribute parameters are the same.
*console: The console version of the game. '''Note:''' This parameter should contain multiple console values separated by commas if the attribute parameters are the same.
*name: The name of the piece of equipment.  Note that equipment with different localized names, can be combined if there other parameters are the same.  If this is the case, the most recent localization name should be used, with others following in parentheses (i.e. Steel Sword (Broad Sword)).
*name: The name of the piece of equipment.  Note that equipment with different localized names, can be combined if there other parameters are the same.  If this is the case, the most recent localization name should be used, with others following in parentheses (i.e. Steel Sword (Broad Sword)).
Line 17: Line 17:
*statModifier: The value (+/-) the stat is being modified.  Should include a + or - in front of the value.
*statModifier: The value (+/-) the stat is being modified.  Should include a + or - in front of the value.
*notes: Any special notes about this particular piece of equipment (cursed, in-battle effects, etc.)
*notes: Any special notes about this particular piece of equipment (cursed, in-battle effects, etc.)
===Subtable Footer===
This call is mainly for formatting purposes separate sets of equipment data.
<pre>{{Equipment|subtablefooter}}</pre>
*subtablefooter: A required parameter marking the end of a subtable.
===Footer===
===Footer===
The footer call marks the end of the equipment table.
The footer call marks the end of the equipment table.
Line 30: Line 26:
===Sample===
===Sample===
{{Equipment|header}}
{{Equipment|header}}
{{Equipment|subtable|console=DS|name=Club|statModified=Attack|statModifier=+8}}
{{Equipment|entry|console=DS|name=Club|statModified=Attack|statModifier=+8}}
{{Equipment|subtablefooter}}
{{Equipment|entry|name=Club|console=SNES|statModified=Attack|statModifier=+10|notes=Casts Blaze in battle when used as an item}}
{{Equipment|subtable|name=Club|console=SNES|statModified=Attack|statModifier=+10|notes=Casts Blaze in battle when used as an item}}
{{Equipment|subtablefooter}}
{{Equipment|footer}}
{{Equipment|footer}}
===Code===
===Code===
<pre>
<pre>
{{Equipment|header}}
{{Equipment|header}}
{{Equipment|subtable|console=DS|name=Club|statModified=Attack|statModifier=+8}}
{{Equipment|entry|console=DS|name=Club|statModified=Attack|statModifier=+8}}
{{Equipment|subtablefooter}}
{{Equipment|entry|name=Club|console=SNES|statModified=Attack|statModifier=+10|notes=Casts Blaze in battle when used as an item}}
{{Equipment|subtable|name=Club|console=SNES|statModified=Attack|statModifier=+10|notes=Casts Blaze in battle when used as an item}}
{{Equipment|subtablefooter}}
{{Equipment|footer}}
{{Equipment|footer}}
</pre>
</pre>