Difference between revisions of "Template:UOAddPin"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
(44 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 45: | 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 69: | Line 73: | ||
|sorcerers guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | |sorcerers guild = {{#vardefine:xOffset|9}}{{#vardefine:yOffset|8}} | ||
|stable = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | |stable = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | ||
− | | | + | |stairs = {{#vardefine:xOffset|4}}{{#vardefine:yOffset|6}} |
|tailor = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | |tailor = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | ||
|tanner = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | |tanner = {{#vardefine:xOffset|8}}{{#vardefine:yOffset|13}} | ||
Line 86: | 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}} | ||
}}<!-- | }}<!-- | ||
− | --> | + | -->{{#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 | bard | ||
bardic guild | bardic guild | ||
+ | barterers guild | ||
beekeeper | beekeeper | ||
blacksmith | blacksmith | ||
Line 112: | Line 135: | ||
butcher | butcher | ||
carpenter | carpenter | ||
+ | cartographer | ||
cavalry guild | cavalry guild | ||
+ | cave | ||
champion | champion | ||
city | city | ||
Line 122: | Line 147: | ||
dock | dock | ||
dungeon | dungeon | ||
+ | engineers guild | ||
exit | exit | ||
farm | farm | ||
Line 127: | Line 153: | ||
fishermans guild | fishermans guild | ||
fletcher | fletcher | ||
+ | flight path | ||
+ | fort | ||
gate | gate | ||
graveyard | graveyard | ||
Line 137: | 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 | ||
Line 153: | 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 | ||
shadowlords faction | shadowlords faction | ||
ship | ship | ||
Line 163: | Line 200: | ||
sorcerers guild | sorcerers guild | ||
stable | stable | ||
− | + | stairs | |
+ | stealable item | ||
tailor | tailor | ||
+ | tailors guild | ||
tanner | tanner | ||
tavern | tavern | ||
Line 175: | 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