Difference between revisions of "Template:UOAddPin"

m
m
Line 91: Line 91:
 
|#default = {{#vardefine:xOffset|0}}{{#vardefine:yOffset|0}}
 
|#default = {{#vardefine:xOffset|0}}{{#vardefine:yOffset|0}}
 
}}<!--
 
}}<!--
--><span id="{{{2}}}:{{{3}}}:{{#replace: {{#var:type}}| |_}}" data-offsetX="{{#var:xOffset}}" data-offsetY="{{#var:yOffset}}" data-name="{{{4|{{{link|}}} }}}" data-page="{{{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><!--
+
--><span id="{{{2}}}:{{{3}}}:{{#replace: {{#var:type}}| |_}}" data-offsetX="{{#var:xOffset}}" data-offsetY="{{#var:yOffset}}" data-name="{{{4|{{{link|}}} }}}" data-page="{{{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:{{#replace:{{#if: {{{link|}}}|{{{link}}}|{{{4}}} }}| |_}}|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}}}},{{{4|{{{link|}}} }}};{{#if: {{{link|}}}|{{{link}}}|{{{4}}} }};{{{2}}}-{{{3}}}-{{#replace: {{#var:type}}| |}} }}<!--

Revision as of 14:37, 25 September 2016

Valid pin types:
archers guild
armaments guild
armorer
armorers guild
assasins guild
baker
bank
barber
bard
bardic guild
beekeeper
blacksmith
blacksmiths guild
body of water
bowyer
bridge
butcher
carpenter
cavalry guild
cave
champion
city
cooks guild
council of mages faction
counselors guild
customs
daily rare
dock
dungeon
exit
farm
fighters guild
fishermans guild
fletcher
gate
graveyard
guild
healer
healers guild
herbalist
illusionists guild
inn
island
jeweler
landmark
library
lockpicking box
mage
mages guild
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
rogues guild
ruins
scenic point
secret door
shadowlords faction
ship
shipwright
shipwrights guild
shrine
sorcerers guild
stable
stairs
stealable item
tailor
tanner
tavern
teleporter
terrain
theater
thieves guild
tinker
tinkers guild
traders guild
true britannians faction
warriors guild
weapons guild