Difference between revisions of "Template:UOAddPin"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
(52 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:type|{{lc:{{{1}}} }} }}<!-- | <includeonly>{{#vardefine:type|{{lc:{{{1}}} }} }}<!-- | ||
-->{{#switch: {{#var:type}} | -->{{#switch: {{#var:type}} | ||
+ | |stealable item = {{#vardefine:xOffset|5}}{{#vardefine:yOffset|5}} | ||
+ | |secret door = {{#vardefine:xOffset|5}}{{#vardefine:yOffset|5}} | ||
+ | |lockpicking box = {{#vardefine:xOffset|5}}{{#vardefine:yOffset|5}} | ||
+ | |cave = {{#vardefine:xOffset|5}}{{#vardefine:yOffset|5}} | ||
|archers guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |archers guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
|armaments guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |armaments guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
|armorer = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | |armorer = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | ||
|armorers guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |armorers guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
− | |||
|artists guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |artists guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
|assasins guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |assasins guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
Line 22: | Line 25: | ||
|carpenter = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | |carpenter = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | ||
|cavalry guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |cavalry guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
+ | |champion = {{#vardefine:xOffset|10}}{{#vardefine:yOffset|13}} | ||
|city = {{#vardefine:xOffset|13}}{{#vardefine:yOffset|13}} | |city = {{#vardefine:xOffset|13}}{{#vardefine:yOffset|13}} | ||
|cooks guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |cooks guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
|counselors guild = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | |counselors guild = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | ||
|customs = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | |customs = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | ||
+ | |daily rare = {{#vardefine:xOffset|10}}{{#vardefine:yOffset|16}} | ||
|dock = {{#vardefine:xOffset|4}}{{#vardefine:yOffset|7}} | |dock = {{#vardefine:xOffset|4}}{{#vardefine:yOffset|7}} | ||
|dungeon = {{#vardefine:xOffset|13}}{{#vardefine:yOffset|17}} | |dungeon = {{#vardefine:xOffset|13}}{{#vardefine:yOffset|17}} | ||
Line 43: | 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}} | ||
− | | | + | |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 50: | Line 56: | ||
|merchants guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |merchants guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
|miners guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |miners guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
− | |moongate = {{#vardefine:xOffset|3}}{{#vardefine:yOffset|17}} | + | |moongate = {{#vardefine:xOffset|3}}{{#vardefine:yOffset|17}} |
+ | |other = {{#vardefine:xOffset|7}}{{#vardefine:yOffset|7}} | ||
|painter = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | |painter = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | ||
+ | |player = {{#vardefine:xOffset|15}}{{#vardefine:yOffset|36}} | ||
|point of interest = {{#vardefine:xOffset|6}}{{#vardefine:yOffset|5}} | |point of interest = {{#vardefine:xOffset|6}}{{#vardefine:yOffset|5}} | ||
|provisioner = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | |provisioner = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | ||
|provisioners guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |provisioners guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
+ | |quest npc = {{#vardefine:xOffset|12}}{{#vardefine:yOffset|15}} | ||
|rogues guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |rogues guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
|ruins = {{#vardefine:xOffset|1}}{{#vardefine:yOffset|4}} | |ruins = {{#vardefine:xOffset|1}}{{#vardefine:yOffset|4}} | ||
Line 77: | Line 86: | ||
|warriors guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |warriors guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
|weapons guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |weapons guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
+ | |council of mages faction = {{#vardefine:xOffset|10}}{{#vardefine:yOffset|17}} | ||
+ | |minax faction = {{#vardefine:xOffset|10}}{{#vardefine:yOffset|17}} | ||
+ | |shadowlords 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}} | ||
}}<!-- | }}<!-- | ||
− | --> | + | -->{{#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}}}|
|}} }}|alt=|]]</span><!-- |
-->{{#arraydefine:pinGroups|{{#arrayprint:pinGroups}},{{#var:type}}}}<!-- | -->{{#arraydefine:pinGroups|{{#arrayprint:pinGroups}},{{#var:type}}}}<!-- | ||
− | -->{{#arraydefine:pins-{{#var:type}}|{{#arrayprint:pins-{{#var:type}}}},{{{4}}};{{#if: {{{link|}}}|{{{link}}}|{{{4}}} }};{{ | + | -->{{#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 | ||
bardic guild | bardic guild | ||
− | + | barterers guild | |
beekeeper | beekeeper | ||
blacksmith | blacksmith | ||
Line 103: | Line 135: | ||
butcher | butcher | ||
carpenter | carpenter | ||
+ | cartographer | ||
cavalry guild | cavalry guild | ||
+ | cave | ||
+ | champion | ||
city | city | ||
cooks guild | cooks guild | ||
+ | council of mages faction | ||
counselors guild | counselors guild | ||
customs | customs | ||
+ | daily rare | ||
dock | dock | ||
dungeon | dungeon | ||
+ | engineers guild | ||
exit | exit | ||
farm | farm | ||
Line 115: | Line 153: | ||
fishermans guild | fishermans guild | ||
fletcher | fletcher | ||
+ | flight path | ||
+ | fort | ||
gate | gate | ||
graveyard | graveyard | ||
Line 125: | Line 165: | ||
island | island | ||
jeweler | jeweler | ||
+ | ladder | ||
landmark | landmark | ||
library | library | ||
+ | lockpicking box | ||
mage | mage | ||
mages guild | mages guild | ||
+ | mariner | ||
market | market | ||
merchants guild | merchants guild | ||
+ | minax faction | ||
miners guild | miners guild | ||
moongate | moongate | ||
+ | other | ||
painter | painter | ||
+ | player (this one will work, but don't use it) | ||
point of interest | point of interest | ||
provisioner | provisioner | ||
provisioners guild | provisioners guild | ||
+ | quest npc | ||
+ | ranger | ||
+ | rangers guild | ||
rogues guild | rogues guild | ||
ruins | ruins | ||
+ | sailors guild | ||
scenic point | scenic point | ||
+ | scribe | ||
+ | seamans guild | ||
+ | secret door | ||
+ | shadowlords faction | ||
ship | ship | ||
shipwright | shipwright | ||
Line 147: | Line 201: | ||
stable | stable | ||
stairs | stairs | ||
+ | stealable item | ||
tailor | tailor | ||
+ | tailors guild | ||
tanner | tanner | ||
tavern | tavern | ||
Line 157: | Line 213: | ||
tinkers guild | tinkers guild | ||
traders guild | traders guild | ||
+ | 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