Template:Place: Difference between revisions

From stencil.wiki
No edit summary
 
No edit summary
Line 1: Line 1:
<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><includeonly>{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
</noinclude><includeonly>{{Infobox place
! style="text-align: center; background-color:#ccccff;" colspan="2" |<span style="font-size: larger;">{{PAGENAME}}</span>
|title={{PAGENAME}}
|-
|Location = {{{Place Location|}}}]]
! Location
|Type {{#arraymap:{{{Place Type|}}}|,|x|[[Place type::x]]}}
| [[Location::{{{Place Location|}}}]]
|-
! Type
| {{#arraymap:{{{Place Type|}}}|,|x|[[Place type::x]]}}
 
|}
|}


[[Category:Places]]
[[Category:Places]]
</includeonly>
</includeonly>

Revision as of 22:48, 3 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.