Difference between revisions of "Template:UOAtlasFooter"

m
 
(48 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="clear: left;float:left;width:{{{1|29}}}%;" id="UOLinksList">
+
<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 (a.k.a. ''bardic guild'')
+
|bardic guild = Bardic Collegium
|provisioners guild = Guild of Provisioners (a.k.a. ''provisioners guild'')
+
|provisioners guild = Guild of Provisioners
|weapons guild = Society of Weaponmakers (a.k.a. ''weapons guild'')
+
|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 (a.k.a. ''cooks guild'')
+
|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 (a.k.a. ''illusionists guild'')
+
|illusionists guild = Masters of Illusion
|miners guild = Mining Cooperative (a.k.a. ''miners guild'')
+
|miners guild = Mining Cooperative
|rangers guild = League of Rangers (a.k.a. ''rangers guild'')
+
|rangers guild = League of Rangers
|seamans guild = Seaman's Chapter (a.k.a. ''seamans guild'')
+
|seamans guild = Seaman's Chapter
 
|fishermans guild = Guild of Fishermen
 
|fishermans guild = Guild of Fishermen
|sailors guild = Sailor's Maritime Association (a.k.a. ''sailors guild'')
+
|sailors guild = Sailor's Maritime Association
|shipwrights guild = Society of Shipwrights (a.k.a. ''shipwrights guild'')
+
|shipwrights guild = Society of Shipwrights
|tailors guild = Tailor's Hall (a.k.a. ''tailors guild'')
+
|tailors guild = Tailor's Hall
|thieves guild = Society of Thieves (a.k.a. ''thieves guild'')
+
|thieves guild = Society of Thieves
|rogues guild = Federation of Rogues and Beggars (a.k.a. ''rogues guild'')
+
|rogues guild = Federation of Rogues and Beggars
|engineers guild = Order of Engineers (a.k.a. ''engineers guild'')
+
|engineers guild = Order of Engineers
|warriors guild = Association of Warriors (a.k.a. ''warriors guild'')
+
|warriors guild = Association of Warriors
|cavalry guild = Guild of Cavalry and Horse (a.k.a. ''cavalry guild'')
+
|cavalry guild = Guild of Cavalry and Horse
|fighters guild = Fighters and Footmen (a.k.a. ''fighters guild'')
+
|fighters guild = Fighters and Footmen
 
|#default = {{ucfirst:{{#var:pinGroup}} }}s
 
|#default = {{ucfirst:{{#var:pinGroup}} }}s
 
}} }}<!--
 
}} }}<!--
--><h{{#if: {{#varexists:noscroll}}|3|2}}><div style="transform: translateY(-5px);display: inline-block;">[[Image:UO-icons.png|class=icon icon-{{#replace: {{#var:pinGroup}}| |_}}|link=]]</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}} 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}}">{{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:@@@@|;|2}}|-|:}}">[[UO:{{#explode:@@@@|;|1}}|{{#explode:@@@@|;|0}}]]</span>}}
+
-->{{#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>

Latest revision as of 09:10, 11 October 2020