Difference between revisions of "Template:UO Location"

(Created page with "{{#arraydefine:types|{{{types|}}}}}{{#arraydefine:types|{{#arraysort:types|asc}}}}{| class="infobox" |class="titlecell" colspan="2"| Location |- | Name || {{{name|}}} | Vendor...")
 
m
 
(27 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#arraydefine:types|{{{types|}}}}}{{#arraydefine:types|{{#arraysort:types|asc}}}}{| class="infobox"
+
={{{name|}}}=
 +
{{#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/>
+
|-
* [[UO:{{ucfirst:@@@@}}|{{ucfirst:@@@@}}]][[Category:UO:{{ucfirst:@@@@}}]]
+
| Closest City: || [[UO:Atlas/{{ucfirst:{{{facet|}}}}}/{{{city|}}}|{{{city|}}}]]
}}
+
|-
| Coordinates || {{{x|}}} x {{{y|}}}
+
| 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/>}} }}
|colspan="2" | {{UO_Image|map|{{{facet|}}}|{{{x|}}}|{{{y|}}}|75|magnify=1.5|pintype=provisioner|pinX={{{x|}}}|pinY={{{y|}}}|pinName={{{pin|}}}|sepia=1}}<br>{{UO_Image|map|{{{facet|}}}|{{{x|}}}|{{{y|}}}|22.5|magnify=5}}
+
|-
 +
| 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|blur=yes}}<br/>
 
|}
 
|}

Latest revision as of 05: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