Template:Equipment/doc: Difference between revisions

29 bytes added ,  17:19, 18 March 2010
no edit summary
(Updated to handle flavor text)
No edit summary
Line 9: Line 9:
===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|entry|console=NES,GBC|name=Copper Sword|statModified=Attack|statModifier=+10|flavor=A long copper swordnotes=This weapon is cursed}}</pre>
<pre>{{Equipment|entry
|console=NES,GBC
|name=Copper sword
|statModified=Attack
|statModifier=+10
|flavor=A long copper swordnotes=This weapon is cursed}}</pre>
*entry: A required parameter marking an entry.
*entry: A required parameter marking an entry.
*console: The console version of the game. This parameter should contain multiple console values separated by commas if the attribute parameters are the same. This is not a required parameter for games which have only one console version.
*console: The console version of the game. This parameter should contain multiple console values separated by commas if the attribute parameters are the same. This is not a required parameter for games which have only one console version.
Line 28: Line 33:
===Sample===
===Sample===
{{Equipment|header}}
{{Equipment|header}}
{{Equipment|entry|console=DS|name=Club|statModified=Attack|statModifier=+8|buyPrice=60g|sellPrice=30g}}
{{Equipment|entry
{{Equipment|entry|name=Club|console=SNES|statModified=Attack|statModifier=+10||buyPrice=60g|sellPrice=30g|notes=Casts Blaze in battle when used as an item}}
|console=DS
|name=Club
|statModified=Attack
|statModifier=+8
|buyPrice=60g
|sellPrice=30g}}
{{Equipment|entry
|name=Club
|console=SNES
|statModified=Attack
|statModifier=+10
|buyPrice=60g
|sellPrice=30g
|notes=Casts Blaze in battle when used as an item}}
{{Equipment|footer}}
{{Equipment|footer}}
===Code===
===Code===
<pre>
<pre>
{{Equipment|header}}
{{Equipment|header}}
{{Equipment|entry|console=DS|name=Club|statModified=Attack|statModifier=+8|buyPrice=60g|sellPrice=30g}}
{{Equipment|entry
{{Equipment|entry|name=Club|console=SNES|statModified=Attack|statModifier=+10||buyPrice=60g|sellPrice=30g|notes=Casts Blaze in battle when used as an item}}
|console=DS
|name=Club
|statModified=Attack
|statModifier=+8
|buyPrice=60g
|sellPrice=30g}}
{{Equipment|entry
|name=Club
|console=SNES
|statModified=Attack
|statModifier=+10
|buyPrice=60g
|sellPrice=30g
|notes=Casts Blaze in battle when used as an item}}
{{Equipment|footer}}
{{Equipment|footer}}
</pre>
</pre>