Difference between revisions of "Template:UO Location"

m
m
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||@@@@|<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:{{ucfirst:@@@@}}|{{ucfirst:@@@@}}]][[Category:UO:{{ucfirst:@@@@}}]]<br/>}} }}
+
| Vendors: || {{#ifeq: {{#arraysize:b}}|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:{{ucfirst:@@@@}}|{{ucfirst:@@@@}}]][[Category:UO:{{ucfirst:@@@@}}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|}}}}}

Revision as of 04:03, 7 September 2020

Location
Name:
Closest City: [[UO:Atlas//|]]
Vendors:
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 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