Difference between revisions of "Template:UOAtlasFooter"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) |
||
(32 intermediate revisions by the same user not shown) | |||
Line 44: | Line 44: | ||
|#default = {{ucfirst:{{#var:pinGroup}} }}s | |#default = {{ucfirst:{{#var:pinGroup}} }}s | ||
}} }}<!-- | }} }}<!-- | ||
− | --><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> <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> <span class="pin-types" data-pin="{{#replace:{{#var:pinGroup}}| |-}}" data-name="{{#var:group}}">{{ProperCase|{{#if:{{{embedText|}}}|{{{embedText|}}}|{{#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 style="z-index: 1; position: relative;" data-pair="{{#replace:{{#explode: | + | -->{{#ifeq:{{#var: pinType}}|pins-door|<div class="mw-collapsible mw-collapsed" 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>}}<!-- | ||
+ | -->{{#ifeq:{{#var: pinType}}|pins-door|</div>}} | ||
}} | }} | ||
<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> |