Difference between revisions of "Template:Armor"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(added check for NewProp param and added Test template = new properties system. If NewProp exists, it will ignore old properties system and look for new properties system.)
old>Realpsojed
(check if page is a Tooltip page, add category "ArmorType Tooltips" for Tooltip pages, otherwise add category "ArmorType")
Line 17: Line 17:
-->{{#if:{{:{{ROOTPAGENAME}}|Image4}}|[[File:{{:{{ROOTPAGENAME}}|Image4}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:{{ROOTPAGENAME}}|Name4}}|{{Translate|{{:{{ROOTPAGENAME}}|Name4}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:{{ROOTPAGENAME}}|Name4}}|{{Translate|{{:{{ROOTPAGENAME}}|Name4}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}]]}}}}}}
-->{{#if:{{:{{ROOTPAGENAME}}|Image4}}|[[File:{{:{{ROOTPAGENAME}}|Image4}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:{{ROOTPAGENAME}}|Name4}}|{{Translate|{{:{{ROOTPAGENAME}}|Name4}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:{{ROOTPAGENAME}}|Name4}}|{{Translate|{{:{{ROOTPAGENAME}}|Name4}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}]]}}}}}}
|}
|}
</includeonly><noinclude>{{doc}}
{{#ifeq: {{PAGENAME}} | {{ROOTPAGENAME}}/Tooltip |[[Category:{{:{{ROOTPAGENAME}}|ArmorType}} Tooltips]]|[[Category:{{:{{ROOTPAGENAME}}|ArmorType}}]]}}</includeonly><noinclude>{{doc}}


[[Category:Tooltip templates]]</noinclude>
[[Category:Tooltip templates]]</noinclude>

Revision as of 14:47, 21 June 2021