Difference between revisions of "Template:UOAtlasFooter"

m
m
Line 22: Line 22:
 
|#default = {{ucfirst:{{#var:pinGroup}} }}s
 
|#default = {{ucfirst:{{#var:pinGroup}} }}s
 
}} }}<!--
 
}} }}<!--
--><h{{#if: {{#varexists:noscroll}}|3|2}}><div style="transform: translateY(-5px);display: inline-block;">[[File:UO-icon-{{#var:pinGroup}}.png]]</div>&nbsp;<span class="pin-types" data-pin="{{#replace:{{#var:pinGroup}}| |:}}" data-name="{{#var:group}}">{{#var:group}}</span></h{{#if: {{#varexists:noscroll}}|3|2}}><!--
+
--><h{{#if: {{#varexists:noscroll}}|3|2}}><div style="transform: translateY(-5px);display: inline-block;">[[File:UO-icon-{{#var:pinGroup}}.png]]</div>&nbsp;<span class="pin-types" data-pin="{{#replace:{{#var:pinGroup}}| |-}}" data-name="{{#var:group}}">{{#var:group}}</span></h{{#if: {{#varexists:noscroll}}|3|2}}><!--
 
-->{{#vardefine: pinType|pins-{{#var:pinGroup}} }}<!--
 
-->{{#vardefine: pinType|pins-{{#var:pinGroup}} }}<!--
 
-->{{#arrayunique:{{#var: pinType}}}}<!--
 
-->{{#arrayunique:{{#var: pinType}}}}<!--
 
-->{{#arraysort:{{#var: pinType}}|asc}}<!--
 
-->{{#arraysort:{{#var: pinType}}|asc}}<!--
-->{{#arrayprint:{{#var: pinType}}|<br/>|@@@@ |<span data-pair="{{#explode:@@@@|;|2}}">[[UO:{{#explode:@@@@|;|1}}|{{#explode:@@@@|;|0}}]]</span>}}
+
-->{{#arrayprint:{{#var: pinType}}|<br/>|@@@@ |<span data-pair="{{#replace:{{#explode:@@@@|;|2}}|-|:}}">[[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 23:50, 25 September 2016