Template:Place: Difference between revisions

From stencil.wiki
No edit summary
No edit summary
Line 22: Line 22:
     }}
     }}
   |}} <!-- No delimiter -->
   |}} <!-- No delimiter -->
        <!-- Place Type + Country -->
      {{#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 -->
      {{#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>
<noinclude>
<noinclude>
{{#template_params:Place Location (label=Location;property=Location)|Place Type (label=Type;list;property=Place type)}}
{{#template_params:Place Location (label=Location;property=Location)|Place Type (label=Type;list;property=Place type)}}
</noinclude>
</noinclude>

Revision as of 21:36, 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.