Difference between revisions of "Template:UOAddPin"
BrianFreud (talk | contribs) m |
BrianFreud (talk | contribs) m |
||
Line 88: | Line 88: | ||
|#default = {{#vardefine:xOffset|0}}{{#vardefine:yOffset|0}} | |#default = {{#vardefine:xOffset|0}}{{#vardefine:yOffset|0}} | ||
}}<!-- | }}<!-- | ||
− | --><span id="{{{2}}}-{{{3}}}-{{#replace: {{#var:type}}| |}}" data-name="{{{4}}}" class="pin scale{{#replace:{{#var:scale}}|.|-}}" style="left: {{#expr: {{{2}}} - {{#var:xOffset}} }}px; top: {{#expr: {{{3}}} - {{#var:yOffset}} }}px;">[[Image:UO-icon-{{#var:type}}.png|link=UO:{{#if: {{{link|}}}|{{{link}}}|{{{4}}} }}|alt=|]]</span><!-- | + | --><span id="{{{2}}}-{{{3}}}-{{#replace: {{#var:type}}| |}}" data-name="{{{4}}}" class="pin scale{{#replace:{{#var:scale}}|.|-}} {{#replace: {{#var:type}}| |-}}" style="left: {{#expr: {{{2}}} - {{#var:xOffset}} }}px; top: {{#expr: {{{3}}} - {{#var:yOffset}} }}px;">[[Image:UO-icon-{{#var:type}}.png|link=UO:{{#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}}};{{#if: {{{link|}}}|{{{link}}}|{{{4}}} }};{{{2}}}-{{{3}}}-{{#replace: {{#var:type}}| |}} }}<!-- | -->{{#arraydefine:pins-{{#var:type}}|{{#arrayprint:pins-{{#var:type}}}},{{{4}}};{{#if: {{{link|}}}|{{{link}}}|{{{4}}} }};{{{2}}}-{{{3}}}-{{#replace: {{#var:type}}| |}} }}<!-- |
Revision as of 00:37, 11 September 2016
Valid pin types: archers guild armaments guild armorer armorers guild armourers guild assasins guild baker bank barber bard bardic guild beekeeper blacksmith blacksmiths guild body of water bowyer bridge butcher carpenter cavalry guild 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 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 shadowlords faction ship shipwright shipwrights guild shrine sorcerers guild stable stair tailor tanner tavern teleporter terrain theater thieves guild tinker tinkers guild traders guild true britannians faction warriors guild weapons guild