Difference between revisions of "Template:UOAddPin"

m
m
 
(34 intermediate revisions by the same user not shown)
Line 48: Line 48:
 
|island = {{#vardefine:xOffset|13}}{{#vardefine:yOffset|8}}
 
|island = {{#vardefine:xOffset|13}}{{#vardefine:yOffset|8}}
 
|jeweler = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 
|jeweler = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
|landmark = {{#vardefine:xOffset|5}}{{#vardefine:yOffset|5}}
+
|templandmark = {{#vardefine:xOffset|5}}{{#vardefine:yOffset|5}}
 +
|landmark = {{#vardefine:xOffset|0}}{{#vardefine:yOffset|0}}
 
|library = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 
|library = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 
|mage = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 
|mage = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
Line 89: Line 90:
 
|shadowlords faction = {{#vardefine:xOffset|10}}{{#vardefine:yOffset|17}}
 
|shadowlords faction = {{#vardefine:xOffset|10}}{{#vardefine:yOffset|17}}
 
|true britannians faction = {{#vardefine:xOffset|10}}{{#vardefine:yOffset|17}}
 
|true britannians faction = {{#vardefine:xOffset|10}}{{#vardefine:yOffset|17}}
 +
|architect = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|mariner = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|cartographer = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|scribe = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|barbers guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}}
 +
|ladder = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|veterinarian = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|artist = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|barterers guild = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|engineers guild = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|ranger = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|rangers guild = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|seamans guild = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|sailors guild = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 +
|tailors guild = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}}
 
|#default = {{#vardefine:xOffset|0}}{{#vardefine:yOffset|0}}
 
|#default = {{#vardefine:xOffset|0}}{{#vardefine:yOffset|0}}
 
}}<!--
 
}}<!--
--><span id="{{{2}}}-{{{3}}}-{{#replace: {{#var:type}}| |_}}" data-name="{{{4|{{{link|}}} }}}" class="pin scale{{#replace:{{#var:scale}}|.|-}} {{#replace: {{#var:type}}| |-}}" style="left: {{#expr: {{{2}}} - {{#var:xOffset}} }}px; top: {{#expr: {{{3}}} - {{#var:yOffset}} }}px;">[[Image:UO-icons.png|class=icon icon-{{#replace: {{#var:type}}| |_}}|link=UO:{{#if: {{{link|}}}|{{{link}}}|{{{4}}} }}|alt=|]]</span><!--
+
-->{{#vardefine:x|{{{2}}}}}{{#vardefine:y|{{{3}}}}}<span id="pin{{#var:x}}_{{#var:y}}_{{#replace: {{#var:type}}| |_}}" data-offsetX="{{#var:xOffset}}" data-offsetY="{{#var:yOffset}}" data-name="{{{4|{{{link|}}} }}}" data-page="{{{link|}}}" class="pin icon-{{#replace: {{#var:type}}| |-}} {{#replace: {{#var:type}}| |-}} {{#if:{{{sepia|}}}|pinsepia}}" style="left: {{#var:x}}px; top: {{#var:y}}px;{{#if:{{{scalepin|}}}|transform: scale({{{scalepin}}}) rotate(-45deg); }}">[[Image:UO-icons.png|class=icon icon-{{#replace: {{#var:type}}| |_}}|link=UO:{{#if: {{{link|}}}|{{{link}}}|{{#replace:{{{4}}}|&#xa;|}} }}|alt=|]]</span><!--
 
-->{{#arraydefine:pinGroups|{{#arrayprint:pinGroups}},{{#var:type}}}}<!--
 
-->{{#arraydefine:pinGroups|{{#arrayprint:pinGroups}},{{#var:type}}}}<!--
-->{{#arraydefine:pins-{{#var:type}}|{{#arrayprint:pins-{{#var:type}}}},{{{4|{{{link|}}} }}};{{#if: {{{link|}}}|{{{link}}}|{{{4}}} }};{{{2}}}-{{{3}}}-{{#replace: {{#var:type}}| |}} }}<!--
+
-->{{#arraydefine:pins-{{#var:type}}|{{#arrayprint:pins-{{#var:type}}}},{{#replace:{{#replace:{{#replace:{{#replace:{{{4|{{{link|}}} }}};{{#if: {{{link|}}}|{{{link}}}|{{{4}}} }};{{#var:x}}-{{#var:y}}-{{#replace: {{#var:type}}| |_}} |0|⓪}}|1|①}}|2|②}}|3|③}};{{{nolink|no}}} }}<!--
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
 
  <nowiki>Valid pin types:
 
  <nowiki>Valid pin types:
 
archers guild
 
archers guild
 +
architect
 
armaments guild
 
armaments guild
 
armorer
 
armorer
 
armorers guild
 
armorers guild
 +
artist
 +
artists guild
 
assasins guild
 
assasins guild
 
baker
 
baker
 
bank
 
bank
 
barber
 
barber
 +
barbers guild
 
bard
 
bard
 
bardic guild
 
bardic guild
 +
barterers guild
 
beekeeper
 
beekeeper
 
blacksmith
 
blacksmith
Line 114: Line 135:
 
butcher
 
butcher
 
carpenter
 
carpenter
 +
cartographer
 
cavalry guild
 
cavalry guild
 
cave
 
cave
Line 125: Line 147:
 
dock
 
dock
 
dungeon
 
dungeon
 +
engineers guild
 
exit
 
exit
 
farm
 
farm
Line 130: Line 153:
 
fishermans guild
 
fishermans guild
 
fletcher
 
fletcher
 +
flight path
 +
fort
 
gate
 
gate
 
graveyard
 
graveyard
Line 140: Line 165:
 
island
 
island
 
jeweler
 
jeweler
 +
ladder
 
landmark
 
landmark
 
library
 
library
Line 145: Line 171:
 
mage
 
mage
 
mages guild
 
mages guild
 +
mariner
 
market
 
market
 
merchants guild
 
merchants guild
Line 157: Line 184:
 
provisioners guild
 
provisioners guild
 
quest npc
 
quest npc
 +
ranger
 +
rangers guild
 
rogues guild
 
rogues guild
 
ruins
 
ruins
 +
sailors guild
 
scenic point
 
scenic point
 +
scribe
 +
seamans guild
 
secret door
 
secret door
 
shadowlords faction
 
shadowlords faction
Line 171: Line 203:
 
stealable item
 
stealable item
 
tailor
 
tailor
 +
tailors guild
 
tanner
 
tanner
 
tavern
 
tavern
Line 181: Line 214:
 
traders guild
 
traders guild
 
true britannians faction
 
true britannians faction
 +
veterinarian
 
warriors guild
 
warriors guild
 
weapons guild
 
weapons guild
 
</nowiki></noinclude>
 
</nowiki></noinclude>

Latest revision as of 23:56, 13 September 2020

Valid pin types:
archers guild
architect
armaments guild
armorer
armorers guild
artist
artists guild
assasins guild
baker
bank
barber
barbers guild
bard
bardic guild
barterers guild
beekeeper
blacksmith
blacksmiths guild
body of water
bowyer
bridge
butcher
carpenter
cartographer
cavalry guild
cave
champion
city
cooks guild
council of mages faction
counselors guild
customs
daily rare
dock
dungeon
engineers guild
exit
farm
fighters guild
fishermans guild
fletcher
flight path
fort
gate
graveyard
guild
healer
healers guild
herbalist
illusionists guild
inn
island
jeweler
ladder
landmark
library
lockpicking box
mage
mages guild
mariner
market
merchants guild
minax faction
miners guild
moongate
other
painter
player  (this one will work, but don't use it)
point of interest
provisioner
provisioners guild
quest npc
ranger
rangers guild
rogues guild
ruins
sailors guild
scenic point
scribe
seamans guild
secret door
shadowlords faction
ship
shipwright
shipwrights guild
shrine
sorcerers guild
stable
stairs
stealable item
tailor
tailors guild
tanner
tavern
teleporter
terrain
theater
thieves guild
tinker
tinkers guild
traders guild
true britannians faction
veterinarian
warriors guild
weapons guild