Difference between revisions of "Template:UOAtlasFooter"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) |
||
(61 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly><div style="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 | ||
+ | |provisioners guild = Guild of Provisioners | ||
+ | |weapons guild = Society of Weaponmakers | ||
+ | |armaments guild = Guild of Armaments | ||
+ | |assasins guild = Guild of Assassins | ||
+ | |cooks guild = Society of Cooks and Chefs | ||
+ | |mages guild = Guild of Mages | ||
+ | |sorcerers guild = Guild of Sorcery | ||
+ | |illusionists guild = Masters of Illusion | ||
+ | |miners guild = Mining Cooperative | ||
+ | |rangers guild = League of Rangers | ||
+ | |seamans guild = Seaman's Chapter | ||
+ | |fishermans guild = Guild of Fishermen | ||
+ | |sailors guild = Sailor's Maritime Association | ||
+ | |shipwrights guild = Society of Shipwrights | ||
+ | |tailors guild = Tailor's Hall | ||
+ | |thieves guild = Society of Thieves | ||
+ | |rogues guild = Federation of Rogues and Beggars | ||
+ | |engineers guild = Order of Engineers | ||
+ | |warriors guild = Association of Warriors | ||
+ | |cavalry guild = Guild of Cavalry and Horse | ||
+ | |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="{{#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> | ||
Line 44: | Line 68: | ||
<select id="getlocselect"> | <select id="getlocselect"> | ||
<option value="archers guild">archers guild</option> | <option value="archers guild">archers guild</option> | ||
+ | <option value="architect">architect</option> | ||
<option value="armaments guild">armaments guild</option> | <option value="armaments guild">armaments guild</option> | ||
<option value="armorer">armorer</option> | <option value="armorer">armorer</option> | ||
<option value="armorers guild">armorers guild</option> | <option value="armorers guild">armorers guild</option> | ||
− | <option value=" | + | <option value="artist">artist</option> |
+ | <option value="artists guild">artists guild</option> | ||
<option value="assasins guild">assasins guild</option> | <option value="assasins guild">assasins guild</option> | ||
<option value="baker">baker</option> | <option value="baker">baker</option> | ||
<option value="bank">bank</option> | <option value="bank">bank</option> | ||
<option value="barber">barber</option> | <option value="barber">barber</option> | ||
+ | <option value="barbers guild">barbers guild</option> | ||
<option value="bard">bard</option> | <option value="bard">bard</option> | ||
<option value="bardic guild">bardic guild</option> | <option value="bardic guild">bardic guild</option> | ||
+ | <option value="barterers guild">barterers guild</option> | ||
<option value="beekeeper">beekeeper</option> | <option value="beekeeper">beekeeper</option> | ||
<option value="blacksmith">blacksmith</option> | <option value="blacksmith">blacksmith</option> | ||
Line 62: | Line 90: | ||
<option value="butcher">butcher</option> | <option value="butcher">butcher</option> | ||
<option value="carpenter">carpenter</option> | <option value="carpenter">carpenter</option> | ||
+ | <option value="cartographer">cartographer</option> | ||
<option value="cavalry guild">cavalry guild</option> | <option value="cavalry guild">cavalry guild</option> | ||
<option value="cave">cave</option> | <option value="cave">cave</option> | ||
Line 73: | Line 102: | ||
<option value="dock">dock</option> | <option value="dock">dock</option> | ||
<option value="dungeon">dungeon</option> | <option value="dungeon">dungeon</option> | ||
+ | <option value="engineers guild">engineers guild</option> | ||
<option value="exit">exit</option> | <option value="exit">exit</option> | ||
<option value="farm">farm</option> | <option value="farm">farm</option> | ||
Line 78: | Line 108: | ||
<option value="fishermans guild">fishermans guild</option> | <option value="fishermans guild">fishermans guild</option> | ||
<option value="fletcher">fletcher</option> | <option value="fletcher">fletcher</option> | ||
+ | <option value="flight path">flight path</option> | ||
+ | <option value="fort">fort</option> | ||
<option value="gate">gate</option> | <option value="gate">gate</option> | ||
<option value="graveyard">graveyard</option> | <option value="graveyard">graveyard</option> | ||
Line 88: | Line 120: | ||
<option value="island">island</option> | <option value="island">island</option> | ||
<option value="jeweler">jeweler</option> | <option value="jeweler">jeweler</option> | ||
+ | <option value="ladder">ladder</option> | ||
<option value="landmark">landmark</option> | <option value="landmark">landmark</option> | ||
<option value="library">library</option> | <option value="library">library</option> | ||
Line 93: | Line 126: | ||
<option value="mage">mage</option> | <option value="mage">mage</option> | ||
<option value="mages guild">mages guild</option> | <option value="mages guild">mages guild</option> | ||
+ | <option value="mariner">mariner</option> | ||
<option value="market">market</option> | <option value="market">market</option> | ||
<option value="merchants guild">merchants guild</option> | <option value="merchants guild">merchants guild</option> | ||
Line 104: | Line 138: | ||
<option value="provisioners guild">provisioners guild</option> | <option value="provisioners guild">provisioners guild</option> | ||
<option value="quest npc">quest npc</option> | <option value="quest npc">quest npc</option> | ||
+ | <option value="ranger">ranger</option> | ||
+ | <option value="rangers guild">rangers guild</option> | ||
<option value="rogues guild">rogues guild</option> | <option value="rogues guild">rogues guild</option> | ||
<option value="ruins">ruins</option> | <option value="ruins">ruins</option> | ||
+ | <option value="sailors guild">sailors guild</option> | ||
<option value="scenic point">scenic point</option> | <option value="scenic point">scenic point</option> | ||
+ | <option value="scribe">scribe</option> | ||
+ | <option value="seamans guild">seamans guild</option> | ||
<option value="secret door">secret door</option> | <option value="secret door">secret door</option> | ||
<option value="shadowlords faction">shadowlords faction</option> | <option value="shadowlords faction">shadowlords faction</option> | ||
Line 118: | Line 157: | ||
<option value="stealable item">stealable item</option> | <option value="stealable item">stealable item</option> | ||
<option value="tailor">tailor</option> | <option value="tailor">tailor</option> | ||
+ | <option value="tailors guild">tailors guild</option> | ||
<option value="tanner">tanner</option> | <option value="tanner">tanner</option> | ||
<option value="tavern">tavern</option> | <option value="tavern">tavern</option> | ||
Line 128: | Line 168: | ||
<option value="traders guild">traders guild</option> | <option value="traders guild">traders guild</option> | ||
<option value="true britannians faction">true britannians faction</option> | <option value="true britannians faction">true britannians faction</option> | ||
+ | <option value="veterinarian">veterinarian</option> | ||
<option value="warriors guild">warriors guild</option> | <option value="warriors guild">warriors guild</option> | ||
<option value="weapons guild">weapons guild</option> | <option value="weapons guild">weapons guild</option> | ||
Line 136: | Line 177: | ||
<input type="text" id="getlocwikipage" width="60" /><br><br> | <input type="text" id="getlocwikipage" width="60" /><br><br> | ||
Add the following to this page's wikitext to add this location:<br><br> | Add the following to this page's wikitext to add this location:<br><br> | ||
− | <span id="getlocresult"></span></div></div></div> | + | <span id="getlocresult"></span></div> |
+ | <div class="editPinButtons" style="display: flex;justify-content:space-between;padding-left:3%;position:absolute;bottom:10%;width:84%;"> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div id="editlocation"> | ||
+ | <div class="editPinButtons" style="display: flex;justify-content:space-between;padding-left:3%;position:absolute;bottom:10%;width:84%;"> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
}}<!-- | }}<!-- | ||
--><!-- Empty the arrays --><!-- | --><!-- Empty the arrays --><!-- |