Template:CharacterEquipmentList/doc: Difference between revisions
No edit summary |
No edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 9: | Line 9: | ||
*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. | ||
===Entry=== | ===Entry=== | ||
Each entry call designates a single equipment item | Each entry call designates a single equipment item | ||
<pre>{{CharacterEquipmentList|entry|item=[[Leather | <pre>{{CharacterEquipmentList|entry|item=[[Leather hat]]|statModifier=+20}}</pre> | ||
*entry: A required parameter marking an entry. | *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)). | *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=== | ===Note=== | ||
| Line 27: | Line 26: | ||
==Example== | ==Example== | ||
===Sample=== | ===Sample=== | ||
{{CharacterEquipmentList|header|title=Dragon Quest III|subtitle=NES|equipmentType=Weapon}} | {{CharacterEquipmentList|header|title={{Dragon Quest III}}|subtitle={{NES}}|equipmentType=Weapon}} | ||
{{CharacterEquipmentList|entry|item=[[Club]]|statModifier=Attack +6}} | {{CharacterEquipmentList|entry|item=[[Oaken club|Club]]|statModifier=Attack +6}} | ||
{{CharacterEquipmentList|entry|item=[[Thorn | {{CharacterEquipmentList|entry|item=[[Thorn whip]]|statModifier=Attack +20}} | ||
{{CharacterEquipmentList|note|This is my note.}} | {{CharacterEquipmentList|note|text=This is my note.}} | ||
{{CharacterEquipmentList|footer}} | {{CharacterEquipmentList|footer}} | ||
===Code=== | ===Code=== | ||
<pre> | <pre> | ||
{{CharacterEquipmentList|header|title=Dragon Quest III|subtitle=NES|equipmentType=Weapon}} | {{CharacterEquipmentList|header|title={{Dragon Quest III}}|subtitle={{NES}}|equipmentType=Weapon}} | ||
{{CharacterEquipmentList|entry|item=[[Club]]|statModifier=Attack +6}} | {{CharacterEquipmentList|entry|item=[[Oaken club|Club]]|statModifier=Attack +6}} | ||
{{CharacterEquipmentList|entry|item=[[Thorn | {{CharacterEquipmentList|entry|item=[[Thorn whip]]|statModifier=Attack +20}} | ||
{{CharacterEquipmentList|note|This is my note.}} | {{CharacterEquipmentList|note|text=This is my note.}} | ||
{{CharacterEquipmentList|footer}} | {{CharacterEquipmentList|footer}} | ||
</pre> | </pre> | ||