Template:Place: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly><!--
{{Infobox place
-->{{Infobox place
| title = {{PAGENAME}}
| title = {{PAGENAME}}
| location = {{{location|}}}{{#if:{{{country|}}}|, {{{country|}}}}}
| location = {{{location|}}}{{#if:{{{country|}}}|, {{{country|}}}}}
| place_type = {{#arraymap:{{{place_type|}}}|,|x|[[place_type::x]]}}
| place_type = {{{place_type|}}}
| country = {{{country|}}}
| country = {{{country|}}}
| coordinates = {{{coordinates|}}}
| coordinates = {{{coordinates|}}}
| websites = {{{websites|}}}
}}<!--
}}
-->[[Category:Places]]
{{#if:{{{inks|}}}|{{Chip container|{{{inks}}}|template=Color chip|title=Available Inks}} }}
{{#if:{{{machines|}}}|{{Chip container|{{{machines}}}|template=Machine chip|title=Machines}} }}
 
[[Category:Places]]
{{#if:{{{place_type|}}}|
{{#if:{{{place_type|}}}|
   {{#arraymap:{{{place_type}}}|,|x|
   {{#arraymap:{{{place_type}}}|,|x|
Line 52: Line 48:
       }}
       }}
  |}} <!-- No delimiter -->
  |}} <!-- No delimiter -->
}}
}}<!--
</includeonly>
-->{{#set:
    Has type          = {{{place_type|}}}
  | At location      = {{{location|}}}{{#if:{{{country|}}}|, {{{country|}}}}}
  | At coordinates    = {{{coordinates|}}}
  | In country        = {{{country|}}}
  | In region        = {{#if:{{{country|}}}|{{CountryRegionMapping|country={{{country}}}}}|}}
  | Has ink          = {{{inks|}}}
  | Has machine      = {{{machines|}}}
}}<!--
--></includeonly>

Revision as of 00:40, 8 December 2024