Difference between revisions of "Template:Place"

From Wikispooks
Jump to navigation Jump to search
(external icons params)
(|cavdef)
 
(9 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
It takes the following arguments:
 
It takes the following arguments:
 
<poem>
 
<poem>
{{{{t|Place}}
+
{{Place
|{{t|description}}   = a short summary description of the place ''([[Property:Description]])''
+
|description    = a short summary description of the place ''([[Property:Description]])''
|{{t|start}}         = when it started ''([[Property:Start]])''
+
|start          = when it started ''([[Property:Start]])''
|{{t|image}}         = image of the place ''([[Property:Has image]])''
+
|image          = image of the place ''([[Property:Has image]])''
|{{t|image_width}}   = width of the image
+
|image_width    = width of the image
|{{t|image_alt}}     = alt text for the image
+
|image_alt      = alt text for the image
|{{t|image_caption}} = caption for the image
+
|image_caption  = caption for the image
|{{t|map}}           = map of the place
+
|map            = map of the place
|{{t|map_width}}     = width of the map
+
|map_width      = width of the map
|{{t|map_alt}}          = alt text for the map
+
|map_alt         = alt text for the map
|{{t|map_caption}}           = caption for the map
+
|map_caption          = caption for the map
|{{PURPLE|website}} = URL of the group's homepage, ''([[Property:Has website]])''
+
|{{PURPLE|website}} = URL of the place's homepage, ''([[Property:Has website]])''
|{{PURPLE|facebook}}= URL of the group's [[facebook]] page ''([[Property:Has facebook]])''
+
|{{PURPLE|cavdef}}        = URL of the place's [[CAVDEF]] page, if any ''([[Property:Has cavdef]])''
|twitter           = Handle of the group's twitter (no '@') ''([[Property:Has twitter]])''
+
|{{PURPLE|cspan}}        = URL of the place's [[C-Span]] page, if any ''([[Property:Has cspan]])''
|{{PURPLE|historycommons}}        = URL of the group's [[History commons]] page, if any ''([[Property:Has historycommons]])''
+
|{{PURPLE|facebook}}= URL of the place's [[facebook]] page ''([[Property:Has facebook]])''
|{{PURPLE|isgp}}        = URL of the group's [[ISGP]] page, if any ''([[Property:Has isgp]])''
+
|{{PURPLE|twitter}}= URL of the place's twitter page ''([[Property:Has twitter]])''
|{{PURPLE|wikipedia}}        = URL of the group's [[Wikipedia]] page, if any ''([[Property:Has wikipediaPage]])''
+
|{{PURPLE|historycommons}}        = URL of the place's [[History commons]] page, if any ''([[Property:Has historycommons]])''
|{{PURPLE|youtube}}        = URL of the group's [[Youtube]] channel, if any ''([[Property:Has youtube]])''
+
|{{PURPLE|isgp}}        = URL of the place's [[ISGP]] page, if any ''([[Property:Has isgp]])''
 +
|{{PURPLE|wikipedia}}        = URL of the place's [[Wikipedia]] page, if any ''([[Property:Has wikipediaPage]])''
 +
|{{PURPLE|youtube}}        = URL of the place's [[Youtube]] channel, if any ''([[Property:Has youtube]])''
 
|wikipedia_protection      = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise ''([[Property:Has wikipediaProtection]])''
 
|wikipedia_protection      = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise ''([[Property:Has wikipediaProtection]])''
|{{PURPLE|nndb}}    = URL of the group's [[NNDB]] page ''([[Property:Has nndb]])''
+
|{{PURPLE|namebase}}  = URL of the place's [[namebase]] page ''([[Property:Has namebase]])''
|{{PURPLE|powerbase}}  = URL of the group's [[powerbase]] page ''([[Property:Has powerbase]])''
+
|{{PURPLE|nndb}}    = URL of the place's [[NNDB]] page ''([[Property:Has nndb]])''
|{{PURPLE|sourcewatch}}  = URL of the group's [[sourcewatch]] page ''([[Property:Has sourcewatch]])''
+
|{{PURPLE|powerbase}}  = URL of the place's [[powerbase]] page ''([[Property:Has powerbase]])''
|{{PURPLE|spartacus}}  = URL of the group's [[Spartacus]] page ''([[Property:Has spartacus]])''
+
|{{PURPLE|sourcewatch}}  = URL of the place's [[sourcewatch]] page ''([[Property:Has sourcewatch]])''
 +
|{{PURPLE|spartacus}}  = URL of the place's [[Spartacus]] page ''([[Property:Has spartacus]])''
 
|{{PINK|coordinates}}  = where the place is ''([[Property:Has coordinates]])''
 
|{{PINK|coordinates}}  = where the place is ''([[Property:Has coordinates]])''
 
|{{GREEN|locations}}  = smaller components of this place ''([[Property:Has location]])'' [Or do we want to change this?]
 
|{{GREEN|locations}}  = smaller components of this place ''([[Property:Has location]])'' [Or do we want to change this?]
 
|{{GREEN|subplaces}}  = component place sub-place (for more complex places) ''([[Property:Has subplace]])''
 
|{{GREEN|subplaces}}  = component place sub-place (for more complex places) ''([[Property:Has subplace]])''
|{{t|type}}         = type of the place ''([[Property:Has placeType]])''
+
|type          = type of the place ''([[Property:Has placeType]])''
 
|{{VIOLET|key_properties}}= Slash separated list of important properties of this page ''([[Property:Has keyProperties]])''
 
|{{VIOLET|key_properties}}= Slash separated list of important properties of this page ''([[Property:Has keyProperties]])''
 
|{{VIOLET|key_property_headers}}= Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])''
 
|{{VIOLET|key_property_headers}}= Slash separated list of property descriptions (same length as the above) ''([[Property:Has keyPropertyHeaders]])''
 
COMMA SEPARATED LISTS OF PROPERTIES:
 
COMMA SEPARATED LISTS OF PROPERTIES:
|{{t|{{GREEN|constitutes}}}}= suitable descriptions of this place (e.g. "Nation State, City") ([[Property:Constitutes]])
+
|{{GREEN|constitutes}}= suitable descriptions of this place (e.g. "Nation State, City") ([[Property:Constitutes]])
|{{t|{{GREEN|perpetrators}}}}    = agent/cause/creator/precursors of the place  ''([[Property:Has cause]])''??
+
|{{GREEN|perpetrators}}= agent/cause/creator/precursors of the place  ''([[Property:Has cause]])''??
 
  ABOUT THE OFFICIAL NARRATIVE:
 
  ABOUT THE OFFICIAL NARRATIVE:
|{{t|{{GREEN|ON_constitutes}}}}= suitable descriptions of this place ''([[Property:ON_constitutes]])''
+
|{{GREEN|ON_constitutes}}= suitable descriptions of this place ''([[Property:ON_constitutes]])''
<s>|{{t|{{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}}{{Description|{{{description|}}}}}{{#arraymap:{{{subplaces|}}}|,|x|[[Has subplace::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage2::{{{wikipedia|}}}| ]]}}{{ONPropertyPair|Constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has perpetrator|{{{causes|}}}|{{{ON_causes|}}}}}{{#if: {{{website|}}}|[[Has website::{{{website}}}| ]]}}<!--
+
</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}}}| ]]}}<!--
 +
-->[[Has cspan::{{{cspan|}}}| ]]<!---
 
-->[[Has historycommons::{{{historycommons|}}}| ]]<!---
 
-->[[Has historycommons::{{{historycommons|}}}| ]]<!---
 
-->[[Has isgp::{{{isgp|}}}| ]]<!---
 
-->[[Has isgp::{{{isgp|}}}| ]]<!---
Line 50: Line 54:
 
|image_caption      ={{{image_caption|}}}
 
|image_caption      ={{{image_caption|}}}
 
|image_flag          ={{{image_flag|}}}
 
|image_flag          ={{{image_flag|}}}
|imagesize          ={{{image_width|}}}
+
|image_width        ={{{image_width|}}}
 
|image_map          ={{{map|}}}
 
|image_map          ={{{map|}}}
|mapsize            ={{{map_width|}}}
 
 
|map_alt            ={{{map_alt|}}}
 
|map_alt            ={{{map_alt|}}}
 
|map_caption        ={{{map_caption|}}}
 
|map_caption        ={{{map_caption|}}}
 +
|map_width          ={{{map_width|}}}
 
|coordinates        ={{{coordinates|}}}
 
|coordinates        ={{{coordinates|}}}
 
|established_date    =[[Start::{{{start|}}}]]
 
|established_date    =[[Start::{{{start|}}}]]
|interest_of        ={{#ask: [[Has interest::{{PAGENAME}}]]}}
+
|capital_of          ={{#ask: [[Has headquarters::{{PAGENAME}}]]}}
 
<!-- WS Custom-->
 
<!-- WS Custom-->
 +
|description =[[Description::{{{description|}}}]]
 
|locations            ={{{locations|}}}
 
|locations            ={{{locations|}}}
 
|type                ={{{type|}}}
 
|type                ={{{type|}}}
 
|constitutes          ={{{constitutes|}}}
 
|constitutes          ={{{constitutes|}}}
 
|ON_constitutes      ={{{ON_constitutes|}}}
 
|ON_constitutes      ={{{ON_constitutes|}}}
| facebook            = {{{facebook|}}}
+
|cavdef = {{{cavdef|}}}
| historycommons      = {{{historycommons|}}}
+
|cspan              = {{{cspan|}}}
| isgp                = {{{isgp|}}}
+
|facebook            = {{{facebook|}}}
| linkedin            = {{{linkedin|}}}
+
|historycommons      = {{{historycommons|}}}
| nndb                = {{{nndb|}}}
+
|isgp                = {{{isgp|}}}
| powerbase          = {{{powerbase|}}}
+
|linkedin            = {{{linkedin|}}}
| sourcewatch        = {{{sourcewatch|}}}
+
|namebase            = {{{namebase|}}}
| spartacus          = {{{spartacus|}}}
+
|nndb                = {{{nndb|}}}
| twitter            = {{{twitter|}}}
+
|powerbase          = {{{powerbase|}}}
| wikipedia          = {{#if: {{{wikipedia|}}}|{{{wikipedia}}}|{{{WP|}}}}}
+
|sourcewatch        = {{{sourcewatch|}}}
| wikipedia_protection     = {{{wikipedia_protection|}}}
+
|spartacus          = {{{spartacus|}}}
| youtube            = {{{youtube|}}}
+
|twitter            = {{{twitter|}}}
 +
|wikipedia          = {{{wikipedia|}}}
 +
|wikipedia_protection= {{{wikipedia_protection|}}}
 +
|youtube            = {{{youtube|}}}
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 14:12, 14 March 2023

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)
|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
|website = URL of the place's homepage, (Property:Has website)
|cavdef = URL of the place's CAVDEF page, if any (Property:Has cavdef)
|cspan = URL of the place's C-Span page, if any (Property:Has cspan)
|facebook= URL of the place's facebook page (Property:Has facebook)
|twitter= URL of the place's twitter page (Property:Has twitter)
|historycommons = URL of the place's History commons page, if any (Property:Has historycommons)
|isgp = URL of the place's ISGP page, if any (Property:Has isgp)
|wikipedia = URL of the place's Wikipedia page, if any (Property:Has wikipediaPage)
|youtube = URL of the place's Youtube channel, if any (Property:Has youtube)
|wikipedia_protection = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise (Property:Has wikipediaProtection)
|namebase = URL of the place's namebase page (Property:Has namebase)
|nndb = URL of the place's NNDB page (Property:Has nndb)
|powerbase = URL of the place's powerbase page (Property:Has powerbase)
|sourcewatch = URL of the place's sourcewatch page (Property:Has sourcewatch)
|spartacus = URL of the place's Spartacus page (Property:Has spartacus)
|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)
|type = type of the place (Property:Has placeType)
|key_properties= Slash separated list of important properties of this page (Property:Has keyProperties)
|key_property_headers= Slash separated list of property descriptions (same length as the above) (Property:Has keyPropertyHeaders)
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)
}}