Difference between revisions of "Template:Event"

From Wikispooks
Jump to navigation Jump to search
(has eventType)
(for legal cases)
Line 5: Line 5:
 
{{{{t|Event}}
 
{{{{t|Event}}
 
|{{t|description}}  = a short summary description of the event ''([[Property:Description]])''
 
|{{t|description}}  = a short summary description of the event ''([[Property:Description]])''
 +
|{{t|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 14: Line 15:
 
|{{t|{{GREEN|subEvents}}}}  = component event sub-event (for more complex events) ''([[Property:Has subEvent]])''
 
|{{t|{{GREEN|subEvents}}}}  = component event sub-event (for more complex events) ''([[Property:Has subEvent]])''
 
|{{t|{{GREEN|aspects}}}}    = other angles on the event [displayed sub-pages] ''([[Property:Has aspect]])''
 
|{{t|{{GREEN|aspects}}}}    = other angles on the event [displayed sub-pages] ''([[Property:Has aspect]])''
|{{t|type}}          = what type of event ''([[Property:Has eventType]])''
 
COMMA SEPARATED LISTS OF PROPERTIES:
 
 
|{{t|{{GREEN|witnesses}}}}  = list of witnesses to the event ''([[Property:Has witness]])''
 
|{{t|{{GREEN|witnesses}}}}  = list of witnesses to the event ''([[Property:Has witness]])''
 
|{{t|{{GREEN|constitutes}}}}= suitable descriptions of this event (e.g. "Assassination, False Flag, Coup d'état") ([[Property:Constitutes]])
 
|{{t|{{GREEN|constitutes}}}}= suitable descriptions of this event (e.g. "Assassination, False Flag, Coup d'état") ([[Property:Constitutes]])
 
|{{t|{{GREEN|causes}}}}    = agent/cause/creator/precursor of the event  ''([[Property:Has cause]])''??
 
|{{t|{{GREEN|causes}}}}    = agent/cause/creator/precursor of the event  ''([[Property:Has cause]])''??
 
|{{t|{{GREEN|effects}}}}  = other events directly caused by this event ''([[Property:Has effect]])''
 
|{{t|{{GREEN|effects}}}}  = other events directly caused by this event ''([[Property:Has effect]])''
 +
''For legal cases:<br/>
 +
|{{t|{{GREEN|plaintiffs}}}}  = who is bringing this case  ''([[Property:Has plaintiff]])''
 +
|{{t|{{GREEN|defendants}}}}  = who is defending this case ''([[Property:Has defendant]])''
 
  ABOUT THE OFFICIAL NARRATIVE:
 
  ABOUT THE OFFICIAL NARRATIVE:
 
|{{t|{{GREEN|ON_witnesses}}}}  = list of witnesses to the event ''([[Property:ON_has witness]])''
 
|{{t|{{GREEN|ON_witnesses}}}}  = list of witnesses to the event ''([[Property:ON_has witness]])''
Line 30: Line 32:
 
|title, |image , |image_size, |caption, |place , |map, |map_caption, |map_size, |map_alt, |coordinates, |also known as, |cause , |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, |image , |image_size, |caption, |place , |map, |map_caption, |map_size, |map_alt, |coordinates, |also known as, |cause , |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
  
</noinclude><includeonly>[[Constitutes::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}}}| ]]}}{{#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|}}}}}{{ONPropertyPair|has effect|{{{effects|}}}|{{{ON_effects|}}}}}{{ONPropertyPair|has witness|{{{witnesses|}}}|{{{ON_witnesses|}}}}}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}<!--
+
</noinclude><includeonly>[[Constitutes::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}}}| ]]}}{{#if: {{{location|}}}|[[Has location::{{{location|}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{ArrayMapProperty|{{{plaintiffs|}}}|Has plaintiff}}{{ArrayMapProperty|{{{defendants|}}}|Has defendant}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia|}}}| ]]}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has cause|{{{causes|}}}|{{{ON_causes|}}}}}{{ONPropertyPair|has effect|{{{effects|}}}|{{{ON_effects|}}}}}{{ONPropertyPair|has witness|{{{witnesses|}}}|{{{ON_witnesses|}}}}}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}<!--
  
 
-->{{Infobox event
 
-->{{Infobox event

Revision as of 12:23, 26 May 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)
|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)
|location = where the event happened (Property:Has location) [Deprecated]
|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)
|witnesses = list of witnesses to the event (Property:Has witness)
|constitutes= suitable descriptions of this event (e.g. "Assassination, False Flag, Coup d'état") (Property:Constitutes)
|causes = agent/cause/creator/precursor of the event (Property:Has cause)??
|effects = other events directly caused by this event (Property:Has effect)
For legal cases:

|plaintiffs = who is bringing this case (Property:Has plaintiff)
|defendants = who is defending this case (Property:Has defendant)
 ABOUT THE OFFICIAL NARRATIVE:
|ON_witnesses = list of witnesses to the event (Property:ON_has witness)
|ON_constitutes= suitable descriptions of this event (Property:ON_constitutes)
|ON_causes = agent/cause/creator/precursor of the event (Property:ON has cause)??
|ON_effects = other events directly caused by this event (Property:ON has effect)
}}

Extra parameters from Wikpedia infoboxes:
|title, |image , |image_size, |caption, |place , |map, |map_caption, |map_size, |map_alt, |coordinates, |also known as, |cause , |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