Coasterpedia
Log in

Difference between revisions of "Template:Location"

Difference between revisions of "Template:Location"

 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#vardefine:locations|{{#if:{{{5|}}}|5|{{#if:{{{4|}}}|4|{{#if:{{{3|}}}|3|{{#if:{{{2|}}}|2|1}}}}}}}}}}<!--
+
Location: {{{1}}}, {{{2}}}<noinlcude>[[Category:UploadWizard templates]]</noinclude>
 
 
-->{{flag|{{#switch:{{#var:locations}}
 
|1={{{1}}}
 
|2={{{2}}}
 
|3={{{3}}}
 
|4={{{4}}}
 
|5={{{5}}}
 
}}|{{#if:{{{small|}}}|small=yes|}}}}<!--
 
 
 
--><span class="location-{{#switch:{{#var:locations}}|5=tiny|4=small|3=medium|2=large|1=huge}}">{{{1}}}{{#ifexpr:{{#var:locations}}>1|,&#32;&#32;|}}</span><!--
 
 
 
--><span class="location-{{#switch:{{#var:locations}}|5=small|4=medium|3=large|2=huge|1=none}}">{{{2}}}{{#ifexpr:{{#var:locations}}>2|,&#32;&#32;|}}</span><!--
 
 
 
--><span class="location-{{#switch:{{#var:locations}}|5=medium|4=large|3=huge|#default=none}}">{{{3}}}{{#ifexpr:{{#var:locations}}>3|,&#32;&#32;|}}</span><!--
 
 
 
--><span class="location-{{#switch:{{#var:locations}}|5=large|4=huge|#default=none}}">{{{4}}}{{#ifexpr:{{#var:locations}}>4|,&#32;&#32;|}}</span><!--
 
 
 
--><span class="location-{{#switch:{{#var:locations}}|5=huge|#default=none}}">{{{5}}}</span>
 

Latest revision as of 13:10, 13 June 2019

Location: {{{1}}}, {{{2}}}<noinlcude>