Difference between revisions of "Template:Place"
(Has coordinates) |
(Extra parameters relating to maps) |
||
Line 4: | Line 4: | ||
<poem> | <poem> | ||
{{{{t|Place}} | {{{{t|Place}} | ||
− | |{{t|description}} | + | |{{t|description}} = a short summary description of the place ''([[Property:Description]])'' |
|{{t|{{PURPLE|website}}}} = the place's website ''([[Property:Has website]])'' | |{{t|{{PURPLE|website}}}} = the place's website ''([[Property:Has website]])'' | ||
|{{t|{{PURPLE|wikipedia}}}} = English wikipedia URL for the place ''([[Property:Has wikipediaPage]])'' | |{{t|{{PURPLE|wikipedia}}}} = English wikipedia URL for the place ''([[Property:Has wikipediaPage]])'' | ||
− | |{{t|start}} | + | |{{t|start}} = when it started ''([[Property:Start]])' |
− | |{{t|image}} | + | |{{t|image}} = image of the place ''([[Property:Has image]])'' |
+ | |{{t|image_width}} = width of the image | ||
+ | |{{t|image_alt}} = alt text for the image | ||
+ | |{{t|image_caption}} = caption for the image | ||
+ | |{{t|map}} = map of the place | ||
+ | |{{t|map_width}} = width of the map | ||
+ | |{{t|map_alt}} = alt text for the map | ||
+ | |{{t|map_caption}} = caption for the map | ||
|{{t|{{PINK|coordinates}}}} = where the place is ''([[Property:Has coordinates]])'' | |{{t|{{PINK|coordinates}}}} = where the place is ''([[Property:Has coordinates]])'' | ||
|{{t|{{GREEN|locations}}}} = smaller components of this place ''([[Property:Has location]])'' [Or do we want to change this?] | |{{t|{{GREEN|locations}}}} = smaller components of this place ''([[Property:Has location]])'' [Or do we want to change this?] | ||
Line 17: | Line 24: | ||
ABOUT THE OFFICIAL NARRATIVE: | ABOUT THE OFFICIAL NARRATIVE: | ||
|{{t|{{GREEN|ON_constitutes}}}}= suitable descriptions of this place ''([[Property:ON_constitutes]])'' | |{{t|{{GREEN|ON_constitutes}}}}= suitable descriptions of this place ''([[Property:ON_constitutes]])'' | ||
− | |{{t|{{GREEN|ON_causes}}}} = agent/cause/creator/precursor of the place ''([[Property:ON has perpetrator]])'' | + | <s>|{{t|{{GREEN|ON_causes}}}} = agent/cause/creator/precursor of the place ''([[Property:ON has perpetrator]])''</s> |
}} | }} | ||
</poem></noinclude><includeonly>{{SMWObjectHeader|Place}}{{Description|{{{description|}}}}}{{#arraymap:{{{subplaces|}}}|,|x|[[Has subplace::{{FULLPAGENAME}}/x| ]]| }}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia|}}}| ]]}}{{ONPropertyPair|Constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has perpetrator|{{{causes|}}}|{{{ON_causes|}}}}}{{SMWDefaultMarkup}}{{Infobox settlement | </poem></noinclude><includeonly>{{SMWObjectHeader|Place}}{{Description|{{{description|}}}}}{{#arraymap:{{{subplaces|}}}|,|x|[[Has subplace::{{FULLPAGENAME}}/x| ]]| }}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia|}}}| ]]}}{{ONPropertyPair|Constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has perpetrator|{{{causes|}}}|{{{ON_causes|}}}}}{{SMWDefaultMarkup}}{{Infobox settlement | ||
Line 24: | Line 31: | ||
|image_caption ={{{image_caption|}}} | |image_caption ={{{image_caption|}}} | ||
|image_flag ={{{image_flag|}}} | |image_flag ={{{image_flag|}}} | ||
+ | |imagesize ={{{image_width|}}} | ||
+ | |image_map ={{{map|}}} | ||
+ | |mapsize ={{{map_width|}}} | ||
+ | |map_alt ={{{map_alt|}}} | ||
+ | |map_caption ={{{map_caption|}}} | ||
| coordinates ={{#if: {{{coordinates|}}}|[[Has coordinates::{{{coordinates}}}]]}}<!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} --> | | coordinates ={{#if: {{{coordinates|}}}|[[Has coordinates::{{{coordinates}}}]]}}<!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} --> | ||
|established_date =[[Start::{{{start|}}}]] | |established_date =[[Start::{{{start|}}}]] |
Revision as of 11:36, 1 February 2015
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)
|website = the place's website (Property:Has website)
|wikipedia = English wikipedia URL for the place (Property:Has wikipediaPage)
|start = when it started (Property:Start)'
|image = image of the place (Property:Has image)
|image_width = width of the image
|image_alt = alt text for the image
|image_caption = caption for the image
|map = map of the place
|map_width = width of the map
|map_alt = alt text for the map
|map_caption = caption for the map
|coordinates = where the place is (Property:Has coordinates)
|locations = smaller components of this place (Property:Has location) [Or do we want to change this?]
|subplaces = component place sub-place (for more complex places) (Property:Has subplace)
COMMA SEPARATED LISTS OF PROPERTIES:
|constitutes= suitable descriptions of this place (e.g. "Nation State, City") (Property:Constitutes)
|perpetrators = 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 perpetrator)
}}