Difference between revisions of "Template:Armor"

From Stoneshard wiki
Jump to navigation Jump to search
old>Phoe nixx
(add linebreak for the third image)
old>Phoe nixx
(added Name2...Name4 parameters for the case of armor with multiple appearances with alternative names)
Line 11: Line 11:
|style="text-align:center;"|[[File:{{#if:{{:{{ROOTPAGENAME}}|Image}}|{{:{{ROOTPAGENAME}}|Image}}|{{ROOTPAGENAME}}.png}}|link={{ROOTPAGENAME}}/Tooltip|alt={{ROOTPAGENAME}}|{{ROOTPAGENAME}}]]<!--
|style="text-align:center;"|[[File:{{#if:{{:{{ROOTPAGENAME}}|Image}}|{{:{{ROOTPAGENAME}}|Image}}|{{ROOTPAGENAME}}.png}}|link={{ROOTPAGENAME}}/Tooltip|alt={{ROOTPAGENAME}}|{{ROOTPAGENAME}}]]<!--


-->{{#if:{{:{{ROOTPAGENAME}}|Image2}}|[[File:{{:{{ROOTPAGENAME}}|Image2}}|link={{ROOTPAGENAME}}/Tooltip|alt={{ROOTPAGENAME}}|{{ROOTPAGENAME}}]]<!--
-->{{#if:{{:{{ROOTPAGENAME}}|Image2}}|[[File:{{:{{ROOTPAGENAME}}|Image2}}|link={{ROOTPAGENAME}}/Tooltip|alt={{#if:{{:{{ROOTPAGENAME}}|Name2}}|{{:{{ROOTPAGENAME}}|Name2}}|{{ROOTPAGENAME}}}}|{{#if:{{:{{ROOTPAGENAME}}|Name2}}|{{:{{ROOTPAGENAME}}|Name2}}|{{ROOTPAGENAME}}}}]]<!--


-->{{#if:{{:{{ROOTPAGENAME}}|Image3}}|<br />[[File:{{:{{ROOTPAGENAME}}|Image3}}|link={{ROOTPAGENAME}}/Tooltip|alt={{ROOTPAGENAME}}|{{ROOTPAGENAME}}]]<!--
-->{{#if:{{:{{ROOTPAGENAME}}|Image3}}|<br />[[File:{{:{{ROOTPAGENAME}}|Image3}}|link={{ROOTPAGENAME}}/Tooltip|alt={{#if:{{:{{ROOTPAGENAME}}|Name3}}|{{:{{ROOTPAGENAME}}|Name3}}|{{ROOTPAGENAME}}}}|{{#if:{{:{{ROOTPAGENAME}}|Name3}}|{{:{{ROOTPAGENAME}}|Name3}}|{{ROOTPAGENAME}}}}]]<!--


-->{{#if:{{:{{ROOTPAGENAME}}|Image4}}|[[File:{{:{{ROOTPAGENAME}}|Image4}}|link={{ROOTPAGENAME}}/Tooltip|alt={{ROOTPAGENAME}}|{{ROOTPAGENAME}}]]}}}}}}
-->{{#if:{{:{{ROOTPAGENAME}}|Image4}}|[[File:{{:{{ROOTPAGENAME}}|Image4}}|link={{ROOTPAGENAME}}/Tooltip|alt={{#if:{{:{{ROOTPAGENAME}}|Name4}}|{{:{{ROOTPAGENAME}}|Name4}}|{{ROOTPAGENAME}}}}|{{#if:{{:{{ROOTPAGENAME}}|Name4}}|{{:{{ROOTPAGENAME}}|Name4}}|{{ROOTPAGENAME}}}}]]}}}}}}
|}
|}
</includeonly><noinclude>{{doc}}
</includeonly><noinclude>{{doc}}


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

Revision as of 23:36, 6 October 2020