Difference between revisions of "Template:UOAddPin"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
(19 intermediate revisions by the same user not shown) | |||
Line 107: | Line 107: | ||
|#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|{{{link|}}} }}};{{#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: |
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