Difference between revisions of "Template:Place"

From Wikispooks
Jump to navigation Jump to search
(tidy)
(expand)
Line 5: Line 5:
 
{{{{t|Place}}
 
{{{{t|Place}}
 
|{{t|description}}  = a short summary description of the place ''([[Property:Description]])''
 
|{{t|description}}  = a short summary description of the place ''([[Property:Description]])''
 +
|{{t|website}}      = the place's website ''([[Property:Has website]])''
 
|{{t|wikipedia}}    = English wikipedia URL for the place ''([[Property:Has wikipediaPage]])''
 
|{{t|wikipedia}}    = English wikipedia URL for the place ''([[Property:Has wikipediaPage]])''
 +
|{{t|start}}        = when it started ''([[Property:Started]])''
 +
|{{t|image}}        = image of the place ''([[Property:Has image]])''
 
|{{t|{{GREEN|locations}}}}  = where the place happened  ''([[Property:Has location]])''
 
|{{t|{{GREEN|locations}}}}  = where the place happened  ''([[Property:Has location]])''
 
|{{t|{{GREEN|subplaces}}}}  = component place sub-place (for more complex places) ''([[Property:Has subplace]])''
 
|{{t|{{GREEN|subplaces}}}}  = component place sub-place (for more complex places) ''([[Property:Has subplace]])''
Line 16: Line 19:
 
|{{t|{{GREEN|ON_causes}}}}    = agent/cause/creator/precursor of the place  ''([[Property:ON has cause]])''??
 
|{{t|{{GREEN|ON_causes}}}}    = agent/cause/creator/precursor of the place  ''([[Property:ON has cause]])''??
 
}}
 
}}
</poem></noinclude><includeonly>{{WikiSpooks:Site Status}}[[Constitutes::Place| ]]{{Description|{{{description|}}}}}{{#arraymap:{{{subplaces|}}}|,|x|[[Has subplace::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#arraymap:{{{aspects|}}}|,|x|[[Has aspect::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia|}}}| ]]}}{{ONPropertyPair|Constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has cause|{{{causes|}}}|{{{ON_causes|}}}}}}}{{SMWDefaultMarkup}}</includeonly>
+
</poem></noinclude><includeonly>{{WikiSpooks:Site Status}}[[Constitutes::Place| ]]{{Description|{{{description|}}}}}{{#arraymap:{{{subplaces|}}}|,|x|[[Has subplace::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#arraymap:{{{aspects|}}}|,|x|[[Has aspect::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia|}}}| ]]}}{{ONPropertyPair|Constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has cause|{{{causes|}}}|{{{ON_causes|}}}}}}}{{SMWDefaultMarkup}}{{Infobox settlement
 +
|image =[[Has image::{{{image|}}}]]
 +
|image_alt      = {{{image_alt|}}}
 +
|image_caption  = {{{image_caption|}}}
 +
|image_flag    = {{{image_flag|}}}
 +
|established_date =[[Start::{{{start|}}}]]
 +
}}</includeonly>

Revision as of 18:23, 27 June 2014

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:

{{Place
|description = a short summary description of the place (Property:Description)
|website = the place's website (Property:Has website)
|wikipedia = English wikipedia URL for the place (Property:Has wikipediaPage)
|start = when it started (Property:Started)
|image = image of the place (Property:Has image)
|locations = where the place happened (Property:Has location)
|subplaces = component place sub-place (for more complex places) (Property:Has subplace)
|aspects = other angles on the place [displayed sub-pages] (Property:Has aspect)
COMMA SEPARATED LISTS OF PROPERTIES:
|constitutes= suitable descriptions of this place (e.g. "Nation State, City") (Property:Constitutes)
|causes = agent/cause/creator/precursors of the place (Property:Has cause)??
 ABOUT THE OFFICIAL NARRATIVE:
|ON_constitutes= suitable descriptions of this place (Property:ON_constitutes)
|ON_causes = agent/cause/creator/precursor of the place (Property:ON has cause)??
}}