Template:CharacterEquipmentList/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
mNo edit summary
No edit summary
Line 7: Line 7:
*header: A required parameter which marks this as the start of an equipment list table.
*header: A required parameter which marks this as the start of an equipment list table.
*equipmentType: The type of equipment in this table (weapon, armor, shield, etc.)
*equipmentType: The type of equipment in this table (weapon, armor, shield, etc.)
*statModified: The main stat being modified by the equipment
*title: A required parameter specifying the title of this table.  Normally the name of the game.
*title: A required parameter specifying the title of this table.  Normally the name of the game.
*subtitle: An optional parameter specifying a subtitle.  Normally the console version of the game when more than one exists.
*subtitle: An optional parameter specifying a subtitle.  Normally the console version of the game when more than one exists.
*collapsed: An optional parameter specifying that the table should collapse by default.  This parameter should be given a dummy value if specified, i.e. collapsed=true.
===Entry===
===Entry===
Each entry call designates a single equipment item
Each entry call designates a single equipment item
Line 16: Line 16:
*item: The equipment item.  Should be an interwiki link.  Should also include console information if there are variations between equipment in different releases (i.e. (GBC)).
*item: The equipment item.  Should be an interwiki link.  Should also include console information if there are variations between equipment in different releases (i.e. (GBC)).
*statModifier: The modifier amount of the main stat the equipment modifies.  Should include a '+' symbol.
*statModifier: The modifier amount of the main stat the equipment modifies.  Should include a '+' symbol.
===Note===
A note can be added where additional detail is necessary.
<pre>{{CharacterEquipmentList|note|text=This is a note.}}</pre>
*note: A required parameter marking this as a note.
*text: The text of the note.
===Footer===
===Footer===
The footer call marks the end of the equipment table.
The footer call marks the end of the equipment table.
Line 25: Line 30:
{{CharacterEquipmentList|entry|item=[[Club]]|statModifier=Attack +6}}
{{CharacterEquipmentList|entry|item=[[Club]]|statModifier=Attack +6}}
{{CharacterEquipmentList|entry|item=[[Thorn Whip]]|statModifier=Attack +20}}
{{CharacterEquipmentList|entry|item=[[Thorn Whip]]|statModifier=Attack +20}}
{{CharacterEquipmentList|note|This is my note.}}
{{CharacterEquipmentList|footer}}
{{CharacterEquipmentList|footer}}
===Code===
===Code===
Line 31: Line 37:
{{CharacterEquipmentList|entry|item=[[Club]]|statModifier=Attack +6}}
{{CharacterEquipmentList|entry|item=[[Club]]|statModifier=Attack +6}}
{{CharacterEquipmentList|entry|item=[[Thorn Whip]]|statModifier=Attack +20}}
{{CharacterEquipmentList|entry|item=[[Thorn Whip]]|statModifier=Attack +20}}
{{CharacterEquipmentList|note|This is my note.}}
{{CharacterEquipmentList|footer}}
{{CharacterEquipmentList|footer}}
</pre>
</pre>

Navigation menu