Difference between revisions of "Template:Armor"

From Stoneshard wiki
Jump to navigation Jump to search
(Expanding up to 6 alternative images and names due to new Heater Shields)
Tag: Reverted
(Undo revision 57341 by Psojed (talk) Heaters are getting separated)
Tag: Undo
Line 15: Line 15:
-->{{#if:{{:Armor data|{{ROOTPAGENAME}}|Image3}}|<br />[[File:{{:Armor data|{{ROOTPAGENAME}}|Image3}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:Armor data|{{ROOTPAGENAME}}|Name3}}|{{Translate|{{:Armor data|{{ROOTPAGENAME}}|Name3}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:Armor data|{{ROOTPAGENAME}}|Name3}}|{{Translate|{{:Armor data|{{ROOTPAGENAME}}|Name3}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}]]<!--
-->{{#if:{{:Armor data|{{ROOTPAGENAME}}|Image3}}|<br />[[File:{{:Armor data|{{ROOTPAGENAME}}|Image3}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:Armor data|{{ROOTPAGENAME}}|Name3}}|{{Translate|{{:Armor data|{{ROOTPAGENAME}}|Name3}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:Armor data|{{ROOTPAGENAME}}|Name3}}|{{Translate|{{:Armor data|{{ROOTPAGENAME}}|Name3}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}]]<!--


-->{{#if:{{:Armor data|{{ROOTPAGENAME}}|Image4}}|[[File:{{:Armor data|{{ROOTPAGENAME}}|Image4}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:Armor data|{{ROOTPAGENAME}}|Name4}}|{{Translate|{{:Armor data|{{ROOTPAGENAME}}|Name4}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:Armor data|{{ROOTPAGENAME}}|Name4}}|{{Translate|{{:Armor data|{{ROOTPAGENAME}}|Name4}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}]]<!--
-->{{#if:{{:Armor data|{{ROOTPAGENAME}}|Image4}}|[[File:{{:Armor data|{{ROOTPAGENAME}}|Image4}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:Armor data|{{ROOTPAGENAME}}|Name4}}|{{Translate|{{:Armor data|{{ROOTPAGENAME}}|Name4}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:Armor data|{{ROOTPAGENAME}}|Name4}}|{{Translate|{{:Armor data|{{ROOTPAGENAME}}|Name4}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}]]}}}}}}
 
-->{{#if:{{:Armor data|{{ROOTPAGENAME}}|Image5}}|[[File:{{:Armor data|{{ROOTPAGENAME}}|Image5}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:Armor data|{{ROOTPAGENAME}}|Name5}}|{{Translate|{{:Armor data|{{ROOTPAGENAME}}|Name5}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:Armor data|{{ROOTPAGENAME}}|Name5}}|{{Translate|{{:Armor data|{{ROOTPAGENAME}}|Name5}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}]]<!--
 
-->{{#if:{{:Armor data|{{ROOTPAGENAME}}|Image6}}|[[File:{{:Armor data|{{ROOTPAGENAME}}|Image6}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:Armor data|{{ROOTPAGENAME}}|Name6}}|{{Translate|{{:Armor data|{{ROOTPAGENAME}}|Name6}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:Armor data|{{ROOTPAGENAME}}|Name6}}|{{Translate|{{:Armor data|{{ROOTPAGENAME}}|Name6}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}]]}}}}}}}}}}
|}
|}
{{#if: {{#titleparts: {{PAGENAME}} | 1 | 2}} | {{#ifeq: {{PAGENAME}} | {{ROOTPAGENAME}}/Tooltip |[[Category:{{:Armor data|{{ROOTPAGENAME}}|ArmorType}} Tooltips]]|{{#if: {{#titleparts: {{PAGENAME}} | 1 | 3}}|[[Category: {{uc:{{#titleparts: {{PAGENAME}} | 1 | 2}}}} {{:Armor data|{{ROOTPAGENAME}}|ArmorType}} Tooltips]]|[[Category: {{uc:{{#titleparts: {{PAGENAME}} | 1 | 2}}}} {{:Armor data|{{ROOTPAGENAME}}|ArmorType}}]]}}}}|[[Category: {{:Armor data|{{ROOTPAGENAME}}|ArmorType}}]]}}</includeonly><noinclude>{{doc}}
{{#if: {{#titleparts: {{PAGENAME}} | 1 | 2}} | {{#ifeq: {{PAGENAME}} | {{ROOTPAGENAME}}/Tooltip |[[Category:{{:Armor data|{{ROOTPAGENAME}}|ArmorType}} Tooltips]]|{{#if: {{#titleparts: {{PAGENAME}} | 1 | 3}}|[[Category: {{uc:{{#titleparts: {{PAGENAME}} | 1 | 2}}}} {{:Armor data|{{ROOTPAGENAME}}|ArmorType}} Tooltips]]|[[Category: {{uc:{{#titleparts: {{PAGENAME}} | 1 | 2}}}} {{:Armor data|{{ROOTPAGENAME}}|ArmorType}}]]}}}}|[[Category: {{:Armor data|{{ROOTPAGENAME}}|ArmorType}}]]}}</includeonly><noinclude>{{doc}}
[[Category:Tooltip templates]]</noinclude>
[[Category:Tooltip templates]]</noinclude>

Revision as of 23:09, 12 October 2022

Template-info.png Documentation

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}}}}
UNOBTAINABLE
Armor
Data does not exist. Data does not exist.
Data does not exist. Protection
Durability: Data does not exist./Data does not exist.

Data does not exist.
PriceData does not exist.

ArmorData does not exist.
Data does not exist.Data does not exist.
UNOBTAINABLE
Armor
Data does not exist. Data does not exist.
Data does not exist. Protection
Durability: Data does not exist./Data does not exist.

Data does not exist.
PriceData does not exist.

ArmorData does not exist.
Data does not exist.Data does not exist.
UNOBTAINABLE
Armor
Data does not exist. Data does not exist.
Data does not exist. Protection
Durability: Data does not exist./Data does not exist.

Data does not exist.
PriceData does not exist.

ArmorData does not exist.
Data does not exist.Data does not exist.
UNOBTAINABLE
Armor
Data does not exist. Data does not exist.
Data does not exist. Protection
Durability: Data does not exist./Data does not exist.

Data does not exist.
PriceData does not exist.

ArmorData does not exist.
Data does not exist.Data does not exist.