Difference between revisions of "Template:UOAtlasFooter"

Line 47: Line 47:
 
-->{{#vardefine: pinType|pins-{{#var:pinGroup}} }}<!--
 
-->{{#vardefine: pinType|pins-{{#var:pinGroup}} }}<!--
 
-->{{#arrayunique:{{#var: pinType}}}}<!--
 
-->{{#arrayunique:{{#var: pinType}}}}<!--
-->{{#arraysort:{{#var: pinType}}|asc}}<!--
+
-->{{#arraysort:{{#var: pinType}}|asc}}{{#var: pinType}}<!--
 
-->{{#ifeq:{{#var: pinType}}|door|<div class="mw-collapsible" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}">}}<!--
 
-->{{#ifeq:{{#var: pinType}}|door|<div class="mw-collapsible" data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}">}}<!--
 
-->{{#arrayprint:{{#var: pinType}}|<br/>|@@@@ |{{#vardefine:val|{{#replace:{{#replace:{{#replace:{{#replace:@@@@|⓪|0}}|①|1}}|②|2}}|③|3}} }}<span style="z-index: 1; position: relative; cursor: pointer;" data-pair="pin{{#replace:{{#explode:{{#var:val}}|;|2}}|-|_}}">{{#ifeq:{{#explode:{{#var:val}}|;|3}}|no|[[UO:{{#explode:{{#var:val}}|;|1}}|{{#explode:{{#var:val}}|;|0}}]]|{{#explode:{{#var:val}}|;|0}}}}</span>}}<!--
 
-->{{#arrayprint:{{#var: pinType}}|<br/>|@@@@ |{{#vardefine:val|{{#replace:{{#replace:{{#replace:{{#replace:@@@@|⓪|0}}|①|1}}|②|2}}|③|3}} }}<span style="z-index: 1; position: relative; cursor: pointer;" data-pair="pin{{#replace:{{#explode:{{#var:val}}|;|2}}|-|_}}">{{#ifeq:{{#explode:{{#var:val}}|;|3}}|no|[[UO:{{#explode:{{#var:val}}|;|1}}|{{#explode:{{#var:val}}|;|0}}]]|{{#explode:{{#var:val}}|;|0}}}}</span>}}<!--

Revision as of 09:08, 11 October 2020