Difference between revisions of "Template:Armor/doc"
Jump to navigation
Jump to search
(add more examples) |
Tag: Reverted |
||
| Line 17: | Line 17: | ||
{{{{{1|Tooltip hover box}}}|title={{Armor|Nistrian Noble Cloak|category=no}}}} | {{{{{1|Tooltip hover box}}}|title={{Armor|Nistrian Noble Cloak|category=no}}}} | ||
{{{{{1|Tooltip hover box}}}|title={{Armor|Guardsman Shield|category=no}}}} | {{{{{1|Tooltip hover box}}}|title={{Armor|Guardsman Shield|category=no}}}} | ||
==Template Data== | |||
<templatedata> | |||
{ | |||
"description": "This is armor template created for use together with the template to display tooltip with item attributes for armor and jewelry.", | |||
"params": { | |||
"1": { | |||
"label": "First parameter", | |||
"description": "You can provide the item name as first parameter, otherwise the pagename is used.", | |||
"type": "string", | |||
"autovalue": "{{ROOTPAGENAME}}", | |||
"example": "Peasant Shoes" | |||
}, | |||
"category": { | |||
"label": "Category", | |||
"description": "If you don't want to add this category to a page, fill this category parameter with any value.", | |||
"type": "string", | |||
"example": "no" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
{{Doc/end}} | {{Doc/end}} | ||
Revision as of 04:58, 21 December 2024
This is armor template created for use together with the Template:Tooltip hover box template to display tooltip with item attributes for armor and jewelry.
Usage: Copy this code to any page where you want to display the item tooltip:
{{{{{1|Tooltip hover box}}}|title={{Armor}}}}
You can provide the item name as first parameter, otherwise the pagename is used.
By default, the page is also labelled with a category corresponding to the item type (ie. Venemist's Talisman will receive the Category: Amulet).
If you don't want to add this category to a page, add the category parameter:
{{{{{1|Tooltip hover box}}}|title={{Armor|Venemist's Talisman|category=no}}}}
| Tier 4 Venemist's Talisman unique amulet |
Unholy Resistance: +13% Bonus Range: +1 Magic Power: +6% Experience Gain: +9% Vision: +1 Durability: 35/35
|
Venemist's Talisman |
| Tier 4 Jousting Armor unique heavy chestpiece |
| 21 Protection |
Physical Resistance: +33% Bleed Resistance: +36% Block Chance: +5% Block Power: +5 Dodge Chance: -17% Crit Avoidance: +18% Damage Taken: -5% Energy: -18 Energy Restoration: -5% Durability: 360/360
|
Jousting Armor |
|
| Tier 5 Nistrian Noble Cloak common light cloak |
Physical Resistance: +9% Nature Resistance: +9% Bleed Resistance: +9% Crit Avoidance: +9% Damage Taken: -3% Durability: 40/40
|
Nistrian Noble Cloak |
|
| Tier 5 Guardsman Shield unique heavy shield |
Move Resistance: +20% Control Resistance: +5% Block Chance: +44% Block Power: +44 Block Power Recovery: -13% Counter Chance: +5% Dodge Chance: -16% Crit Avoidance: +8% Energy: -16 Energy Restoration: -3% Fortitude: +10% Durability: 350/350
|
Guardsman Shield |
|
Template Data
<templatedata> {
"description": "This is armor template created for use together with the template to display tooltip with item attributes for armor and jewelry.",
"params": {
"1": {
"label": "First parameter",
"description": "You can provide the item name as first parameter, otherwise the pagename is used.",
"type": "string",
"autovalue": "Armor",
"example": "Peasant Shoes"
},
"category": {
"label": "Category",
"description": "If you don't want to add this category to a page, fill this category parameter with any value.",
"type": "string",
"example": "no"
}
}
} </templatedata>