Difference between revisions of "Template:UOAtlasFooter"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) |
||
(49 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div style="clear: left;float:left; | + | <includeonly></div><div style="--linksWidth: {{{1|29}}}%; clear: left;float:left;{{#if:{{{embedded|}}}|position: absolute;}}" id="UOLinksList" class="UOLinksList"> |
{{#arrayunique:pinGroups}}{{#arraysort:pinGroups|asc}} | {{#arrayunique:pinGroups}}{{#arraysort:pinGroups|asc}} | ||
{{#loop: i | {{#loop: i | ||
|0 | |0 | ||
|{{#arraysize:pinGroups}} | |{{#arraysize:pinGroups}} | ||
− | |<br><br>{{#vardefine: pinGroup|{{#arrayindex:pinGroups | {{#var:i}} }} }}{{#vardefine:group|{{#switch: {{#var:pinGroup}} | + | |{{#if:{{{embedded|}}}||<br><br>}}{{#vardefine: pinGroup|{{#arrayindex:pinGroups | {{#var:i}} }} }}{{#vardefine:group|{{#switch: {{#var:pinGroup}} |
|body of water = Bodies of water | |body of water = Bodies of water | ||
|city = Cities | |city = Cities | ||
Line 20: | Line 20: | ||
|terrain = Terrain | |terrain = Terrain | ||
|true britannians faction = True Britannians faction | |true britannians faction = True Britannians faction | ||
− | |bardic guild = Bardic Collegium | + | |bardic guild = Bardic Collegium |
− | |provisioners guild = Guild of Provisioners | + | |provisioners guild = Guild of Provisioners |
− | |weapons guild = Society of Weaponmakers | + | |weapons guild = Society of Weaponmakers |
|armaments guild = Guild of Armaments | |armaments guild = Guild of Armaments | ||
|assasins guild = Guild of Assassins | |assasins guild = Guild of Assassins | ||
− | |cooks guild = Society of Cooks and Chefs | + | |cooks guild = Society of Cooks and Chefs |
|mages guild = Guild of Mages | |mages guild = Guild of Mages | ||
|sorcerers guild = Guild of Sorcery | |sorcerers guild = Guild of Sorcery | ||
− | |illusionists guild = Masters of Illusion | + | |illusionists guild = Masters of Illusion |
− | |miners guild = Mining Cooperative | + | |miners guild = Mining Cooperative |
− | |rangers guild = League of Rangers | + | |rangers guild = League of Rangers |
− | |seamans guild = Seaman's Chapter | + | |seamans guild = Seaman's Chapter |
|fishermans guild = Guild of Fishermen | |fishermans guild = Guild of Fishermen | ||
− | |sailors guild = Sailor's Maritime Association | + | |sailors guild = Sailor's Maritime Association |
− | |shipwrights guild = Society of Shipwrights | + | |shipwrights guild = Society of Shipwrights |
− | |tailors guild = Tailor's Hall | + | |tailors guild = Tailor's Hall |
− | |thieves guild = Society of Thieves | + | |thieves guild = Society of Thieves |
− | |rogues guild = Federation of Rogues and Beggars | + | |rogues guild = Federation of Rogues and Beggars |
− | |engineers guild = Order of Engineers | + | |engineers guild = Order of Engineers |
− | |warriors guild = Association of Warriors | + | |warriors guild = Association of Warriors |
− | |cavalry guild = Guild of Cavalry and Horse | + | |cavalry guild = Guild of Cavalry and Horse |
− | |fighters guild = Fighters and Footmen | + | |fighters guild = Fighters and Footmen |
|#default = {{ucfirst:{{#var:pinGroup}} }}s | |#default = {{ucfirst:{{#var:pinGroup}} }}s | ||
}} }}<!-- | }} }}<!-- | ||
− | --><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 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> |