Difference between revisions of "Template:Place"
({{Explain parameters}}) |
(Add {{WikiSpooks:Site Status}}) |
||
Line 8: | Line 8: | ||
|{{t|location}} = where the place happened ''([[Property:Has location]])'' [Deprecated] | |{{t|location}} = where the place happened ''([[Property:Has location]])'' [Deprecated] | ||
|{{t|{{GREEN|locations}}}} = where the place happened ''([[Property:Has location]])'' | |{{t|{{GREEN|locations}}}} = where the place happened ''([[Property:Has location]])'' | ||
− | |{{t|{{GREEN| | + | |{{t|{{GREEN|subplaces}}}} = component place sub-place (for more complex places) ''([[Property:Has subplace]])'' |
|{{t|{{GREEN|aspects}}}} = other angles on the place [displayed sub-pages] ''([[Property:Has aspect]])'' | |{{t|{{GREEN|aspects}}}} = other angles on the place [displayed sub-pages] ''([[Property:Has aspect]])'' | ||
COMMA SEPARATED LISTS OF PROPERTIES: | COMMA SEPARATED LISTS OF PROPERTIES: | ||
Line 17: | Line 17: | ||
|{{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>[[Constitutes::Place| ]]{{Description|{{{description|}}}}}{{#arraymap:{{{subplaces|}}}|,|x|[[Has subplace::{{FULLPAGENAME}}/x| ]]| }}{{#arraymap:{{{aspects|}}}|,|x|[[Has aspect::{{FULLPAGENAME}}/x| ]]| }}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{location|}}}|[[Has location::{{{location|}}}| ]]}}{{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| ]]| }}{{#arraymap:{{{aspects|}}}|,|x|[[Has aspect::{{FULLPAGENAME}}/x| ]]| }}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{location|}}}|[[Has location::{{{location|}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia|}}}| ]]}}{{ONPropertyPair|Constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has cause|{{{causes|}}}|{{{ON_causes|}}}}}}}{{SMWDefaultMarkup}}</includeonly> |
Revision as of 16:25, 14 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 parameterswere 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)
|wikipedia = English wikipedia URL for the place (Property:Has wikipediaPage)
|location = where the place happened (Property:Has location) [Deprecated]
|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)??
}}