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|}}}| | ||
|    {{# |    {{#arraymap:{{{Place Type}}}|,|x| | ||
|      <!-- General Place Type --> |      <!-- General Place Type --> | ||
|      [[Category:{{#switch:{{lc: |      [[Category:{{#switch:{{lc:x}} | ||
|        | education center = Education Centers |        | education center = Education Centers | ||
|        | print shop = Print Shops |        | print shop = Print Shops | ||
| Line 18: | Line 18: | ||
|        | store = Stores |        | store = Stores | ||
|        | venue = Venues |        | venue = Venues | ||
|        | #default = {{ucfirst: |        | #default = {{ucfirst:x}}s | ||
|      }}]] |      }}]] | ||
|      <!-- Place Type + Country --> |      <!-- Place Type + Country --> | ||
|      [[Category:{{#switch:{{lc: |      {{#if:{{{Country|}}}| | ||
|       [[Category:{{#switch:{{lc:x}} | |||
|         | education center = Education Centers | |||
|         | print shop = Print Shops | |||
|         | publisher = Publishers | |||
|         | studio = Studios | |||
|         | store = Stores | |||
|         | venue = Venues | |||
|         | #default = {{ucfirst:x}}s | |||
|       }} in {{ucfirst:{{lc:{{{Country}}}}}}}]] | |||
|     }} | |||
|      <!-- Place Type + Region --> |      <!-- Place Type + Region --> | ||
|      [[Category:{{#switch:{{lc: |      {{#if:{{{Country|}}}| | ||
|       [[Category:{{#switch:{{lc:x}} | |||
|         | education center = Education Centers | |||
|         | print shop = Print Shops | |||
|         | publisher = Publishers | |||
|         | studio = Studios | |||
|         | store = Stores | |||
|         | venue = Venues | |||
|         | #default = {{ucfirst:x}}s | |||
|       }} in {{CountryRegionMapping|country={{{Country}}}}}]] | |||
|     }} | |||
|    }} |    }} | ||
| }} | }} | ||
| </includeonly> | </includeonly> | ||
Revision as of 17:22, 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.