Jump to content

Template:Place: Difference between revisions

From Deep Politics Wiki
WikiSpooks>Robin
tidy names
 
WikiBot (talk | contribs)
m Plain formatting, no semantic markup
 
Line 42: Line 42:
<s>|{{GREEN|ON_causes}}= agent/cause/creator/precursor of the place  ''([[Property:ON has perpetrator]])''</s>
<s>|{{GREEN|ON_causes}}= agent/cause/creator/precursor of the place  ''([[Property:ON has perpetrator]])''</s>
}}
}}
</poem></noinclude><includeonly>{{SMWObjectHeader|Place}}{{#arraymap:{{{subplaces|}}}|,|x|[[Has subplace::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{ONPropertyPair|Constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has perpetrator|{{{causes|}}}|{{{ON_causes|}}}}}{{#if: {{{website|}}}|[[Has website::{{{website}}}| ]]}}<!--
</poem></noinclude><includeonly>{{SMWObjectHeader|Place}}{{#if: {{{end|}}}|}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{ONPropertyPair|Constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has perpetrator|{{{causes|}}}|{{{ON_causes|}}}}}{{#if: {{{website|}}}|}}<!--
-->[[Has cspan::{{{cspan|}}}| ]]<!---
--><!---
-->[[Has historycommons::{{{historycommons|}}}| ]]<!---
--><!---
-->[[Has isgp::{{{isgp|}}}| ]]<!---
--><!---
-->[[Has sourcewatch::{{{sourcewatch|}}}| ]]<!---
--><!---
-->[[Has spartacus::{{{spartacus|}}}| ]]<!---
--><!---
-->{{#if: {{{wikipedia|}}}|[[Has wikipediaPage2::{{{wikipedia}}}| ]]}}{{#if: {{{key_properties|}}}|[[Has keyProperties::{{{key_properties|}}}| ]]}}{{#if: {{{key_property_headers|}}}|[[Has keyPropertyHeaders::{{{key_property_headers}}}| ]]}}{{SMWDefaultMarkup}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]]}}{{#if: {{{image_map|}}}|[[Has map::File:{{{image_map|}}}| ]]}}{{#if: {{{coordinates|}}}|{{#set:Has coordinates={{{coordinates}}}}}}} <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
-->{{#if: {{{wikipedia|}}}|}}{{#if: {{{key_properties|}}}|}}{{#if: {{{key_property_headers|}}}|}}{{SMWDefaultMarkup}}{{#if: {{{image|}}}|}}{{#if: {{{image_map|}}}|}}{{#if: {{{coordinates|}}}|}} <!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
{{Infobox place
{{Infobox place
|image              ={{{image|}}}
|image              ={{{image|}}}
Line 60: Line 60:
|map_width          ={{{map_width|}}}
|map_width          ={{{map_width|}}}
|coordinates        ={{{coordinates|}}}
|coordinates        ={{{coordinates|}}}
|established_date    =[[Start::{{{start|}}}]]
|established_date    ={{{start|}}}
|capital_of          ={{#ask: [[Has headquarters::{{PAGENAME}}]]}}
|capital_of          =
<!-- WS Custom-->
<!-- WS Custom-->
|description =[[Description::{{{description|}}}]]
|description ={{{description|}}}
|locations            ={{{locations|}}}
|locations            ={{{locations|}}}
|type                ={{{type|}}}
|type                ={{{type|}}}

Latest revision as of 22:35, 24 September 2026

This template provides a standard format for place pages.

Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameters were formerly available, but have been upgraded. Some may still work, but do not use these.

It takes the following arguments: <poem>

 Place
[[File:image of the place (Property:Has image)|width of the image]]
caption for the image
alt text for the map
caption for the map
Typetype of the place (Property:Has placeType)
a short summary description of the place (Property:Description)

</poem>