Template:Place: Difference between revisions
| IssuePress (talk | contribs) No edit summary | Robertbaxter (talk | contribs)  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 =  | | place_type = {{{place_type|}}} | ||
| | country = {{{country|}}} | | country = {{{country|}}} | ||
| | coordinates = {{{coordinates|}}} | | coordinates = {{{coordinates|}}} | ||
| }}<!-- | |||
| -->[[Category:Places]] | |||
| [[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> | |||