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