Difference between revisions of "Template:Event"

From Wikispooks
Jump to navigation Jump to search
(Has image)
(Support multiple types)
Line 7: Line 7:
 
|{{t|image}}        = an image ''([[Property:Has image]])''
 
|{{t|image}}        = an image ''([[Property:Has image]])''
 
|{{t|image_width}}  = width of this image
 
|{{t|image_width}}  = width of this image
|{{t|type}}         = what type of event ''([[Property:Has eventType]])''
+
|{{t|{{GREEN|type}}}}    = what type of event ''([[Property:Has eventType]])''
 
|{{t|glossary}}      = <s>Wikitext</s>Plaintext summary for the glossary (major terms only). ''([[Property:GlossaryDescription]])''
 
|{{t|glossary}}      = <s>Wikitext</s>Plaintext summary for the glossary (major terms only). ''([[Property:GlossaryDescription]])''
 
|{{t|wikipedia}}    = English wikipedia URL for the event ''([[Property:Has wikipediaPage]])''
 
|{{t|wikipedia}}    = English wikipedia URL for the event ''([[Property:Has wikipediaPage]])''
Line 35: Line 35:
 
</poem>
 
</poem>
 
Extra parameters from Wikpedia infoboxes:<br/>
 
Extra parameters from Wikpedia infoboxes:<br/>
|title, |caption, |place , |map, |map_caption, |map_size, |map_alt, |coordinates, |also known as, |target, |type, |weapons, |fatalities , |injuries, |survivors, |motive, |first reporter, |filmed by, |participants, |outcome, |reported deaths, |reported injuries, |reported missing, |reported property damage, |burial , |inquiries, |inquest, |coroner, |suspects, |accused, |convicted, |charges, |verdict, |convictions, |publication bans, |litigation, |awards , |url , |blank_label, |blank_data, |blank1_label, |blank1_data, |blank2_label, |blank2_data, |website, |notes
+
|title, |caption, |place , |map, |map_caption, |map_size, |map_alt, |coordinates, |also known as, |target, |weapons, |fatalities , |injuries, |survivors, |motive, |first reporter, |filmed by, |participants, |outcome, |reported deaths, |reported injuries, |reported missing, |reported property damage, |burial , |inquiries, |inquest, |coroner, |suspects, |accused, |convicted, |charges, |verdict, |convictions, |publication bans, |litigation, |awards , |url , |blank_label, |blank_data, |blank1_label, |blank1_data, |blank2_label, |blank2_data, |website, |notes
  
</noinclude><includeonly>{{WikiSpooks:Site Status}}[[Has objectClass::Event| ]]{{#arraymap:{{{subevents|}}}|,|x|[[Has subEvent::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#arraymap:{{{aspects|}}}|,|x|[[Has aspect::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}| ]]}}{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{#if: {{{type|}}}|[[Has eventType::{{{type}}}| ]]}}{{#if: {{{glossary|}}}|[[GlossaryDescription::{{{glossary}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{ArrayMapProperty|{{{authority|}}}|Has authority}}{{ArrayMapProperty|{{{plaintiffs|}}}|Has plaintiff}}{{ArrayMapProperty|{{{defendants|}}}|Has defendant}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has perpetrator|{{{perpetrators|}}}|{{{ON_perpetrators|}}}}}{{ONPropertyPair|has effect|{{{effects|}}}|{{{ON_effects|}}}}}{{ONPropertyPair|has witness|{{{witnesses|}}}|{{{ON_witnesses|}}}}}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}<!--
+
</noinclude><includeonly>{{WikiSpooks:Site Status}}[[Has objectClass::Event| ]]{{#arraymap:{{{subevents|}}}|,|x|[[Has subEvent::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#arraymap:{{{aspects|}}}|,|x|[[Has aspect::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}| ]]}}{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{ArrayMapProperty|{{{type|}}}|Has eventType}}{{#if: {{{glossary|}}}|[[GlossaryDescription::{{{glossary}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{ArrayMapProperty|{{{authority|}}}|Has authority}}{{ArrayMapProperty|{{{plaintiffs|}}}|Has plaintiff}}{{ArrayMapProperty|{{{defendants|}}}|Has defendant}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has perpetrator|{{{perpetrators|}}}|{{{ON_perpetrators|}}}}}{{ONPropertyPair|has effect|{{{effects|}}}|{{{ON_effects|}}}}}{{ONPropertyPair|has witness|{{{witnesses|}}}|{{{ON_witnesses|}}}}}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}<!--
 
{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia}}}| ]]}}
 
{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia}}}| ]]}}
 
-->{{Infobox event
 
-->{{Infobox event
Line 60: Line 60:
 
| exposed by              = {{#ask: [[Exposed::{{FULLPAGENAME}}]] | format=list}}
 
| exposed by              = {{#ask: [[Exposed::{{FULLPAGENAME}}]] | format=list}}
 
<!-- From "Infobox_civilian_attack" -->
 
<!-- From "Infobox_civilian_attack" -->
 +
| type                    = {{ArrayMapBulletedListLink‎|{{{type|}}}}}
 
| target                  = {{{target|}}}
 
| target                  = {{{target|}}}
| type                    = {{{type|}}}
 
 
| weapons                  = {{{weapons|}}}
 
| weapons                  = {{{weapons|}}}
 
| fatalities              = {{{fatalities|}}}
 
| fatalities              = {{{fatalities|}}}

Revision as of 22:26, 26 July 2014

This template provides a standard format for event 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:

{{Event
|description = a short summary description of the event (Property:Description)
|image = an image (Property:Has image)
|image_width = width of this image
|type = what type of event (Property:Has eventType)
|glossary = WikitextPlaintext summary for the glossary (major terms only). (Property:GlossaryDescription)
|wikipedia = English wikipedia URL for the event (Property:Has wikipediaPage)
|occurred = when an event occurred (for instantaneous events) (Property:Occurred on)
|start = when the event began, or when it is scheduled to begin (Property:Start)
|end = when the event ended, or when it is scheduled to (if at all) (Property:End)
|video = a URL of a video of the event (Property:Has video)
|locations = where the event happened (Property:Has location)
|subevents = component event sub-event (for more complex events) (Property:Has subEvent)
|aspects = other angles on the event [displayed sub-pages] (Property:Has aspect)
|causes = other directly causes of this event (Property:Has cause)
|constitutes= suitable descriptions of this event (e.g. "Assassination, False Flag, Coup d'état") (Property:Constitutes)
|effects = other events directly caused by this event (Property:Has effect)
|perpetrators = which groups/individuals were responsible for this the event (Property:Has perpetrator)
For legal cases:

|witnesses = list of witnesses to the event (Property:Has witness)
 ABOUT THE OFFICIAL NARRATIVE:
|ON_constitutes= suitable descriptions of this event (Property:ON_constitutes)
|ON_causes = other directly causes of this event (Property:ON has cause)
|ON_effects = other events directly caused by this event (Property:ON has effect)
|ON_perpetrators = perpetrators of the event (Property:ON has perpetrator)
|ON_witnesses = list of witnesses to the event (Property:ON has witness)
 FOR LEGAL CASES:
|authority = which authority controls this case (Property:Has authority) (usually singular)
|plaintiffs = who is bringing this case (Property:Has plaintiff)
|defendants = who is defending this case (Property:Has defendant)}}

Extra parameters from Wikpedia infoboxes:
|title, |caption, |place , |map, |map_caption, |map_size, |map_alt, |coordinates, |also known as, |target, |weapons, |fatalities , |injuries, |survivors, |motive, |first reporter, |filmed by, |participants, |outcome, |reported deaths, |reported injuries, |reported missing, |reported property damage, |burial , |inquiries, |inquest, |coroner, |suspects, |accused, |convicted, |charges, |verdict, |convictions, |publication bans, |litigation, |awards , |url , |blank_label, |blank_data, |blank1_label, |blank1_data, |blank2_label, |blank2_data, |website, |notes