Template:Place: Difference between revisions
IssuePress (talk | contribs) No edit summary |
Robertbaxter (talk | contribs) No edit summary |
||
Line 2: | Line 2: | ||
{{Infobox place | {{Infobox place | ||
| title = {{PAGENAME}} | | title = {{PAGENAME}} | ||
| | | location = {{{location|}}}{{#if:{{{country|}}}|, {{{country|}}}}} | ||
| | | place_type = {{#arraymap:{{{place_type|}}}|,|x|[[place_type::x]]}} | ||
| | | country = {{{country|}}} | ||
| | | coordinates = {{{coordinates|}}} | ||
| | | websites = {{{websites|}}} | ||
}} | }} | ||
[[Category:Places]] | [[Category:Places]] | ||
{{#if:{{{ | {{#if:{{{place_type|}}}| | ||
{{#arraymap:{{{ | {{#arraymap:{{{place_type}}}|,|x| | ||
{{#if:x| | {{#if:x| | ||
<!-- General Place Type --> | <!-- General Place Type --> | ||
Line 24: | Line 24: | ||
}} | }} | ||
<!-- Place Type + Country --> | <!-- Place Type + Country --> | ||
{{#if:{{{ | {{#if:{{{country|}}}| | ||
[[Category:{{#switch:{{lc:x}} | [[Category:{{#switch:{{lc:x}} | ||
| education center = Education Centers | | education center = Education Centers | ||
Line 33: | Line 33: | ||
| venue = Venues | | venue = Venues | ||
| #default = {{ucfirst:x}}s | | #default = {{ucfirst:x}}s | ||
}} in {{{ | }} in {{{country}}}]] | ||
}} | }} | ||
<!-- Place Type + Region --> | <!-- Place Type + Region --> | ||
{{#if:{{{ | {{#if:{{{country|}}}| | ||
[[Category:{{#switch:{{lc:x}} | [[Category:{{#switch:{{lc:x}} | ||
| education center = Education Centers | | education center = Education Centers | ||
Line 46: | Line 46: | ||
| venue = Venues | | venue = Venues | ||
| #default = {{ucfirst:x}}s | | #default = {{ucfirst:x}}s | ||
}} in {{CountryRegionMapping|country={{{ | }} in {{CountryRegionMapping|country={{{country}}}}}]] | ||
}} | }} | ||
|}} <!-- No delimiter --> | |}} <!-- No delimiter --> |
Revision as of 17:21, 6 December 2024
This is the "Place" template.
It should be called in the following format:
{{Place |Place Location= |Place Type= }}
Edit the page to see the template text.