Difference between revisions of "Template:UO Location"

m
m
 
(20 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
 
|-
 
|-
| Name || {{{name|}}}
+
| Name: || {{{name|}}}
 
|-
 
|-
| Vendors || {{#arrayprint:types||@@@@|<nowiki/>
+
| Closest City: || [[UO:Atlas/{{ucfirst:{{{facet|}}}}}/{{{city|}}}|{{{city|}}}]]
[[UO:{{ucfirst:@@@@}}|{{ucfirst:@@@@}}]][[Category:UO:{{ucfirst:@@@@}}]]
 
}}
 
 
|-
 
|-
| Closest City || {{{city|}}}
+
| 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|}}}
+
| 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|}}}|75|magnify=2|pintype={{#var:type}}|pinX={{{x|}}}|pinY={{{y|}}}|pinName={{{pin|}}}|sepia=1}}<br>{{UO_Image|map|{{{facet|}}}|{{{x|}}}|{{{y|}}}|30|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