Difference between revisions of "Template:Armor test"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(putting it back)
old>Realpsojed
(Test of using Data page instead of itempage)
Line 1: Line 1:
<includeonly>{| width=300px;
<includeonly>{| width=300px;
|style="text-align:center;"|{{#if:{{:{{ROOTPAGENAME}}|Unobtainable}}|{{Unobtainable}}<br />}}{{#if: {{:{{ROOTPAGENAME}}|Rarity}} | <span style="font-size: 20px;">{{c|{{:{{ROOTPAGENAME}}|Rarity}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}</span> <br /> <span style="color:#9d9a9a;">{{Translate|{{:{{ROOTPAGENAME}}|Rarity}}|Properties}} | <span style="font-size: 20px;">{{Translate|{{ROOTPAGENAME}}|ItemNames}}</span> <br /> <span style="color:#9d9a9a;">{{Translate|Common|Properties}} }} {{Translate|{{:{{ROOTPAGENAME}}|ArmorType}}|Properties}}</span>{{Tooltip rule}}
|style="text-align:center;"|{{#if:{{:{{Data}}|{{ROOTPAGENAME}}|Unobtainable}}|{{Unobtainable}}<br />}}{{#if: {{:{{Data}}|{{ROOTPAGENAME}}|Rarity}} | <span style="font-size: 20px;">{{c|{{:{{Data}}|{{ROOTPAGENAME}}|Rarity}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}</span> <br /> <span style="color:#9d9a9a;">{{Translate|{{:{{Data}}|{{ROOTPAGENAME}}|Rarity}}|Properties}} | <span style="font-size: 20px;">{{Translate|{{ROOTPAGENAME}}|ItemNames}}</span> <br /> <span style="color:#9d9a9a;">{{Translate|Common|Properties}} }} {{Translate|{{:{{Data}}|{{ROOTPAGENAME}}|ArmorType}}|Properties}}</span>{{Tooltip rule}}
|-
|-
|style="text-align:center;"|{{#if: {{:{{ROOTPAGENAME}}|Protection}} | {{:{{ROOTPAGENAME}}|Protection}} {{Translate|Protection|Properties}} {{Tooltip rule}} | }}
|style="text-align:center;"|{{#if: {{:{{Data}}|{{ROOTPAGENAME}}|Protection}} | {{:{{Data}}|{{ROOTPAGENAME}}|Protection}} {{Translate|Protection|Properties}} {{Tooltip rule}} | }}
|-
|-
|<div style="width:100%;float: left;color:#9d9a9a;">{{Test|{{ROOTPAGENAME}}}}</div>
|<div style="width:100%;float: left;color:#9d9a9a;">{{Test|{{ROOTPAGENAME}}}}</div>
<div style="clear: both;color:#9d9a9a;">{{Translate|Durability|Properties}}: <span style="color:white;">{{:{{ROOTPAGENAME}}|Durability}}/{{:{{ROOTPAGENAME}}|Durability}}</span></div>
<div style="clear: both;color:#9d9a9a;">{{Translate|Durability|Properties}}: <span style="color:white;">{{:{{Data}}|{{ROOTPAGENAME}}|Durability}}/{{:{{Data}}|{{ROOTPAGENAME}}|Durability}}</span></div>
|-
|-
|style="color:#9d7969;text-align:justify"|{{Tooltip rule}}{{#if: {{#titleparts: {{PAGENAME}} | 1 | 2}} | {{#ifeq: {{PAGENAME}} | {{ROOTPAGENAME}}/Tooltip | {{:{{ROOTPAGENAME}}|Description}} | {{Translate|{{ROOTPAGENAME}}|ItemDescriptions}}}} | {{:{{ROOTPAGENAME}}|Description}}}}<div style="float:right;">[[File:Gold_Icon.png|18px|alt={{Translate|Price|Properties}}|link=|{{Translate|Price|Properties}}]]{{W|{{:{{ROOTPAGENAME}}|Price}}}}</div><br />
|style="color:#9d7969;text-align:justify"|{{Tooltip rule}}{{#if: {{#titleparts: {{PAGENAME}} | 1 | 2}} | {{#ifeq: {{PAGENAME}} | {{ROOTPAGENAME}}/Tooltip | {{:{{Data}}|{{ROOTPAGENAME}}|Description}} | {{Translate|{{ROOTPAGENAME}}|ItemDescriptions}}}} | {{:{{Data}}|{{ROOTPAGENAME}}|Description}}}}<div style="float:right;">[[File:Gold_Icon.png|18px|alt={{Translate|Price|Properties}}|link=|{{Translate|Price|Properties}}]]{{W|{{:{{Data}}|{{ROOTPAGENAME}}|Price}}}}</div><br />
|-
|-
|style="text-align:center;"|[[File:{{#if:{{:{{ROOTPAGENAME}}|Image}}|{{:{{ROOTPAGENAME}}|Image}}|{{ROOTPAGENAME}}.png}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{Translate|{{ROOTPAGENAME}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}]]<!--
|style="text-align:center;"|[[File:{{#if:{{:{{Data}}|{{ROOTPAGENAME}}|Image}}|{{:{{Data}}|{{ROOTPAGENAME}}|Image}}|{{ROOTPAGENAME}}.png}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{Translate|{{ROOTPAGENAME}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}]]<!--


-->{{#if:{{:{{ROOTPAGENAME}}|Image2}}|[[File:{{:{{ROOTPAGENAME}}|Image2}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:{{ROOTPAGENAME}}|Name2}}|{{Translate|{{:{{ROOTPAGENAME}}|Name2}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:{{ROOTPAGENAME}}|Name2}}|{{Translate|{{:{{ROOTPAGENAME}}|Name2}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}]]<!--
-->{{#if:{{:{{Data}}|{{ROOTPAGENAME}}|Image2}}|[[File:{{:{{Data}}|{{ROOTPAGENAME}}|Image2}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:{{Data}}|{{ROOTPAGENAME}}|Name2}}|{{Translate|{{:{{Data}}|{{ROOTPAGENAME}}|Name2}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:{{Data}}|{{ROOTPAGENAME}}|Name2}}|{{Translate|{{:{{Data}}|{{ROOTPAGENAME}}|Name2}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}]]<!--


-->{{#if:{{:{{ROOTPAGENAME}}|Image3}}|<br />[[File:{{:{{ROOTPAGENAME}}|Image3}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:{{ROOTPAGENAME}}|Name3}}|{{Translate|{{:{{ROOTPAGENAME}}|Name3}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:{{ROOTPAGENAME}}|Name3}}|{{Translate|{{:{{ROOTPAGENAME}}|Name3}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}]]<!--
-->{{#if:{{:{{Data}}|{{ROOTPAGENAME}}|Image3}}|<br />[[File:{{:{{Data}}|{{ROOTPAGENAME}}|Image3}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:{{Data}}|{{ROOTPAGENAME}}|Name3}}|{{Translate|{{:{{Data}}|{{ROOTPAGENAME}}|Name3}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:{{Data}}|{{ROOTPAGENAME}}|Name3}}|{{Translate|{{:{{Data}}|{{ROOTPAGENAME}}|Name3}}|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}}}}]]}}}}}}
-->{{#if:{{:{{Data}}|{{ROOTPAGENAME}}|Image4}}|[[File:{{:{{Data}}|{{ROOTPAGENAME}}|Image4}}|class=image2x|link={{#ifeq:{{SUBPAGENAME}}|Tooltip|{{BASEPAGENAME}}|{{PAGENAME}}/Tooltip}}|alt={{#if:{{:{{Data}}|{{ROOTPAGENAME}}|Name4}}|{{Translate|{{:{{Data}}|{{ROOTPAGENAME}}|Name4}}|ItemNames}}|{{ROOTPAGENAME}}}}|{{#if:{{:{{Data}}|{{ROOTPAGENAME}}|Name4}}|{{Translate|{{:{{Data}}|{{ROOTPAGENAME}}|Name4}}|ItemNames}}|{{Translate|{{ROOTPAGENAME}}|ItemNames}}}}]]}}}}}}
|}
|}
</includeonly><noinclude>{{doc}}
</includeonly><noinclude>{{doc}}


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

Revision as of 16:55, 28 May 2021

This template has no documentation. If you know how to use this template, please add some.