Difference between revisions of "Template:UOAtlasFooter"

m
m
Line 46: Line 46:
 
--><h{{#if: {{#varexists:noscroll}}|3|2}} style="white-space: nowrap;"><span class="icon-{{#replace: {{#var:pinGroup}}| |_}}" style="vertical-align: bottom; overflow: hidden; transform: unset;"><div style="display: inline-block;">[[Image:UO-icons.png|class=icon icon-{{#replace: {{#var:pinGroup}}| |_}}|link=]]</div></span>&nbsp;<span class="pin-types" data-pin="{{#replace:{{#var:pinGroup}}| |-}}" data-name="{{#var:group}}">{{#if:{{{embedText|}}}|{{{embedText|}}}|{{#var:group}} }}</span></h{{#if: {{#varexists:noscroll}}|3|2}}><!--
 
--><h{{#if: {{#varexists:noscroll}}|3|2}} style="white-space: nowrap;"><span class="icon-{{#replace: {{#var:pinGroup}}| |_}}" style="vertical-align: bottom; overflow: hidden; transform: unset;"><div style="display: inline-block;">[[Image:UO-icons.png|class=icon icon-{{#replace: {{#var:pinGroup}}| |_}}|link=]]</div></span>&nbsp;<span class="pin-types" data-pin="{{#replace:{{#var:pinGroup}}| |-}}" data-name="{{#var:group}}">{{#if:{{{embedText|}}}|{{{embedText|}}}|{{#var:group}} }}</span></h{{#if: {{#varexists:noscroll}}|3|2}}><!--
 
-->{{#vardefine: pinType|pins-{{#var:pinGroup}} }}<!--
 
-->{{#vardefine: pinType|pins-{{#var:pinGroup}} }}<!--
-->{{#arrayprint:{{#var: pinType}}}}{{#arrayunique:{{#var: pinType}}}}<!--
+
-->{{#arrayunique:{{#var: pinType}}}}<!--
-->{{#arrayprint:{{#var: pinType}}}}{{#arraysort:{{#var: pinType}}|asc}}<!--
+
-->{{#arraysort:{{#var: pinType}}|asc}}<!--
-->{{#arrayprint:{{#var: pinType}}}}{{#arrayprint:{{#var: pinType}}|<br/>|@@@@ |<span style="z-index: 1; position: relative;" data-foo="@@@@" data-pair="{{#replace:{{#explode:@@@@|;|2}}|-|:}}">[[UO:{{#explode:@@@@|;|1}}|{{#explode:@@@@|;|0}}]]</span>}}
+
-->{{#arrayprint:{{#var: pinType}}|<br/>|@@@@ |<span style="z-index: 1; position: relative;" data-foo="@@@@" data-pair="@@@@">[[UO:{{#explode:@@@@|;|1}}|{{#explode:@@@@|;|0}}]]</span>}}
 
}}
 
}}
 
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>
 
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>

Revision as of 13:52, 8 September 2020