Template:Place: Difference between revisions
| IssuePress (talk | contribs) No edit summary | IssuePress (talk | contribs)  No edit summary | ||
| Line 5: | Line 5: | ||
| |Location = {{{Location|}}} | |Location = {{{Location|}}} | ||
| |Place Type = {{#arraymap:{{{Place Type|}}}|,|x|[[Place type::x]]}} | |Place Type = {{#arraymap:{{{Place Type|}}}|,|x|[[Place type::x]]}} | ||
| |Country = {{{Country|}}} | |||
| }} | }} | ||
| [[Category:Places]] | [[Category:Places]] | ||
| {{#if:{{{Place Type|}}}| | |||
|   {{#arraymap:{{{Place Type|}}}|,|x|[[Category:{{#switch:{{lc:x}} | |||
|     | education center = Education Centers | |||
|     | print shop = Print Shops | |||
|     | publisher = Publishers | |||
|     | studio = Studios | |||
|     | store = Stores | |||
|     | venue = Venues | |||
|     | #default = {{x}}s | |||
|   }}]]}} | |||
| }} | |||
| {{#if:{{{Country|}}}| | |||
|   [[Category:Places in {{uc:{{{Country}}}}}]] | |||
|   [[Category:Places in {{CountryRegionMapping|country={{{Country}}}}}]] | |||
| }} | |||
| </includeonly> | </includeonly> | ||
Revision as of 16:52, 4 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.