Difference between revisions of "Template:UOAddPin"

m
m
Line 109: Line 109:
 
-->{{#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><!--
 
-->{{#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}}|{{#replace:{{#replace:{{#replace:{{#replace:{{#arrayprint:pins-{{#var:type}}}},{{{4|{{{link|}}} }}};{{#if: {{{link|}}}|{{{link}}}|{{{4}}} }};{{#var:x}}-{{#var:y}}-{{#replace: {{#var:type}}| |_}} |0|⓪}}|1|①}}|2|②}}|3|③}} }}}}<!--
+
-->{{#arraydefine:pins-{{#var:type}}|{{#replace:{{#replace:{{#replace:{{#replace:{{#arrayprint:pins-{{#var:type}}}},{{{4|{{{link|}}} }}};{{#if: {{{link|}}}|{{{link}}}|{{{4}}} }};{{#var:x}}-{{#var:y}}-{{#replace: {{#var:type}}| |_}} |0|⓪}}|1|①}}|2|②}}|3|③}} }}<!--
 
--></includeonly><noinclude>
 
--></includeonly><noinclude>
 
  <nowiki>Valid pin types:
 
  <nowiki>Valid pin types:

Revision as of 12:04, 9 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