Template:CharacterEquipmentList/doc: Difference between revisions

From Dragon Quest Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
<pre>{{CharactEquipmentList|header|equipmentType=Helmets|statModified=Defense}}</pre>
<pre>{{CharactEquipmentList|header|equipmentType=Helmets|statModified=Defense}}</pre>
*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 being lists (weapons, armor, shields, etc.)
*equipmentType: The type of equipment in this table (weapon, armor, shield, etc.)
*statModified: The main stat being modified by the equipment
*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.
*subtitle: An optional parameter specifying a subtitle.  Normally the console version of the game when more than one exists.
===Entry===
===Entry===
Each entry call designates a single equipment item
Each entry call designates a single equipment item
Line 20: Line 22:
==Example==
==Example==
===Sample===
===Sample===
{{CharacterEquipmentList|header|title=Dragon Quest III|subtitle=NES|equipmentType=Weapons|statModified=Attack}}
{{CharacterEquipmentList|header|title=Dragon Quest III|subtitle=NES|equipmentType=Weapon|statModified=Attack}}
{{CharacterEquipmentList|entry|item=[[Club]]|statModifier=+6}}
{{CharacterEquipmentList|entry|item=[[Club]]|statModifier=+6}}
{{CharacterEquipmentList|entry|item=[[Thorn Whip]]|statModifier=+20}}
{{CharacterEquipmentList|entry|item=[[Thorn Whip]]|statModifier=+20}}
Line 26: Line 28:
===Code===
===Code===
<pre>
<pre>
{{CharacterEquipmentList|header|title=Dragon Quest III|subtitle=NES|equipmentType=Weapons|statModified=Attack}}
{{CharacterEquipmentList|header|title=Dragon Quest III|subtitle=NES|equipmentType=Weapon|statModified=Attack}}
{{CharacterEquipmentList|entry|item=[[Club]]|statModifier=+6}}
{{CharacterEquipmentList|entry|item=[[Club]]|statModifier=+6}}
{{CharacterEquipmentList|entry|item=[[Thorn Whip]]|statModifier=+20}}
{{CharacterEquipmentList|entry|item=[[Thorn Whip]]|statModifier=+20}}
{{CharacterEquipmentList|footer}}
{{CharacterEquipmentList|footer}}
</pre>
</pre>

Revision as of 15:18, 11 August 2010

The CharacterEquipmentList template is used to list equipment which a character is able to equip. A separate list should be used for each type of equipment (Weapons, Armor, Shields, Helmets).

Usage

Header

A header call to this template should be the first usage of this template on any page.

{{CharactEquipmentList|header|equipmentType=Helmets|statModified=Defense}}
  • 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.)
  • 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.
  • subtitle: An optional parameter specifying a subtitle. Normally the console version of the game when more than one exists.

Entry

Each entry call designates a single equipment item

{{CharacterEquipmentList|entry|item=[[Leather Hat]]|statModifier=+20}}
  • entry: A required parameter marking an entry.
  • 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.

Footer

The footer call marks the end of the equipment table.

{{CharacterEquipmentList|footer}}
  • footer: A required parameter marking the template as the footer.

Example

Sample

Dragon Quest III (NES) 
Weapon Modifier(s)
Club +6
Thorn Whip +20

Code

{{CharacterEquipmentList|header|title=Dragon Quest III|subtitle=NES|equipmentType=Weapon|statModified=Attack}}
{{CharacterEquipmentList|entry|item=[[Club]]|statModifier=+6}}
{{CharacterEquipmentList|entry|item=[[Thorn Whip]]|statModifier=+20}}
{{CharacterEquipmentList|footer}}