Difference between revisions of "Template:UO Location"

m
m
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
={{{name|}}}=
 
{{#arraydefine:types|{{{types|}}}}}{{#vardefine:type|{{#arrayindex:types|0}}}}{{#arraysort:types|asc}}{| class="infobox"
 
{{#arraydefine:types|{{{types|}}}}}{{#vardefine:type|{{#arrayindex:types|0}}}}{{#arraysort:types|asc}}{| class="infobox"
 
|class="titlecell" colspan="2"| Location
 
|class="titlecell" colspan="2"| Location
Line 6: Line 7:
 
| Closest City: || [[UO:Atlas/{{ucfirst:{{{facet|}}}}}/{{{city|}}}|{{{city|}}}]]
 
| Closest City: || [[UO:Atlas/{{ucfirst:{{{facet|}}}}}/{{{city|}}}|{{{city|}}}]]
 
|-
 
|-
| Vendors: || {{#ifeq: {{#arraysize:b}}|0|none|[[Category:UO:NPCs]]{{#arrayprint:types||@@@@|[[UO:{{ucfirst:@@@@}}|{{ucfirst:@@@@}}]][[Category:UO:{{ucfirst:@@@@}}]]<br/>}} }}
+
| NPCs: || {{#ifeq: {{#arraysize:types}}|0|none|[[Category:UO:NPCs]]{{#arrayprint:types||@@@@|<span class="icon-{{#replace: @@@@| |_}}" style="vertical-align: bottom; overflow: hidden; transform: unset;"><div style="display: inline-block;">[[Image:UO-icons.png|class=icon icon-{{#replace: @@@@| |_}}|link=]]</div></span> [[UO:{{ProperCase|@@@@}}|{{ProperCase|@@@@}}]][[Category:UO:{{ProperCase|@@@@}}s]]<br/>}} }}
 
|-
 
|-
 
| Coordinates: || {{{x|}}} x {{{y|}}}<br>[[UO:Atlas/{{ucfirst:{{{facet|}}}}}|{{ucfirst:{{{facet|}}}}}]] {{SextantConvert|{{{facet|}}}|{{{x|}}}|{{{y|}}}}}
 
| Coordinates: || {{{x|}}} x {{{y|}}}<br>[[UO:Atlas/{{ucfirst:{{{facet|}}}}}|{{ucfirst:{{{facet|}}}}}]] {{SextantConvert|{{{facet|}}}|{{{x|}}}|{{{y|}}}}}
 
|-
 
|-
|colspan="2" style="text-align:center;background-color:#111;" | <br/>{{UO_Image|map|{{{facet|}}}|{{{x|}}}|{{{y|}}}|72|magnify=1.75|pintype={{#var:type}}|pinX={{{x|}}}|pinY={{{y|}}}|pinName={{{pin|}}}|sepia=1|compassrose=1}}<br>{{UO_Image|map|{{{facet|}}}|{{{x|}}}|{{{y|}}}|25.2|magnify=5}}<br/>
+
|colspan="2" style="text-align:center;background-color:#111;" | <br/>{{UO_Image|map|{{{facet|}}}|{{{x|}}}|{{{y|}}}|72|magnify=1.75|pintype={{#var:type}}|pinX={{{x|}}}|pinY={{{y|}}}|pinName={{{pin|}}}|sepia=1|compassrose=1}}<br>{{UO_Image|map|{{{facet|}}}|{{{x|}}}|{{{y|}}}|25.2|magnify=5|blur=yes}}<br/>
 
|}
 
|}

Latest revision as of 04:14, 14 September 2020

Location
Name:
Closest City: [[UO:Atlas//|]]
NPCs: none
Coordinates: x
[[UO:Atlas/|]] Expression error: Unexpected < operatoro <s'Expression error: Unexpected < operator., Expression error: Unexpected < operatoro <s'Expression error: Unexpected < operator.

<div data-pixels=72 style="clip-path: circle(72px at px px); transform: translate(Expression error: Missing operand for -.px,Expression error: Missing operand for -.px); width:px; height:px;image-rendering: pixelated;">
 

<div class="blur" data-pixels=25.2 style="clip-path: circle(25.2px at px px); transform: translate(Expression error: Missing operand for -.px,Expression error: Missing operand for -.px); width:px; height:px;image-rendering: pixelated;">File:MAP-1.png