Difference between revisions of "Template:Event"

From Wikispooks
Jump to navigation Jump to search
({{Constitutes::Event}})
(Upgrade to use ONPropertyPair)
Line 8: Line 8:
 
|{{t|end}}          = when the event ended, or when it is scheduled to (if at all) ''([[Property:End]])''
 
|{{t|end}}          = when the event ended, or when it is scheduled to (if at all) ''([[Property:End]])''
 
|{{t|location}}      = where the event happened  ''([[Property:Has location]])'' [Deprecated]
 
|{{t|location}}      = where the event happened  ''([[Property:Has location]])'' [Deprecated]
|{{t|{{GREEN|locations}}}}     = where the event happened  ''([[Property:Has location]])''
+
|{{t|{{GREEN|locations}}}}   = where the event happened  ''([[Property:Has location]])''
|{{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]])''
 
COMMA SEPARATED LISTS OF PROPERTIES:
 
COMMA SEPARATED LISTS OF PROPERTIES:
 +
|{{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]])''
 
  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_constitutes}}}}= suitable descriptions of this event ''([[Property:ON_constitutes]])''
 
|{{t|{{GREEN|ON_constitutes}}}}= suitable descriptions of this event ''([[Property:ON_constitutes]])''
|{{t|{{GREEN|ON_cause}}}}    = agent/cause/creator/precursor of the event  ''([[Property:ON has cause]])''??
+
|{{t|{{GREEN|ON_causes}}}}    = agent/cause/creator/precursor of the event  ''([[Property:ON has cause]])''??
|{{t|{{GREEN|ON_effect}}}}  = other events directly caused by this event ''([[Property:ON has effect]])''
+
|{{t|{{GREEN|ON_effects}}}}  = other events directly caused by this event ''([[Property:ON has effect]])''
 
}}
 
}}
</poem></noinclude><includeonly>{{Constitutes::Event}}{{Description|{{{description|}}}}}{{#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: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{location|}}}|[[Has location::{{{location|}}}| ]]}}{{#arraymap:{{{locations|}}}|,|x|[[Has location::x| ]]|&#32;}}{{#arraymap:{{{constitutes|}}}|,|x|[[Constitutes::x| ]]|&#32;}}{{#arraymap:{{{ON_constitutes|}}}|,|x|[[ON_constitutes::x| ]]|&#32;}}{{#arraymap:{{{causes|}}}|,|x|[[Has cause::x| ]]|&#32;}}{{#arraymap:{{{effects|}}}|,|x|[[Has effect::x| ]]|&#32;}}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}</includeonly>
+
</poem></noinclude><includeonly>{{Constitutes::Event}}{{Description|{{{description|}}}}}{{#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: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{location|}}}|[[Has location::{{{location|}}}| ]]}}{{#arraymap:{{{locations|}}}|,|x|[[Has location::x| ]]|&#32;}}
 +
 
 +
{{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}}</includeonly>

Revision as of 18:25, 9 January 2014

This template provides a standard format for event pages. It takes the following arguments:

{{Event
|description = a short summary description of the event (Property:Description)
|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)
COMMA SEPARATED LISTS OF PROPERTIES:
|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)
 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)
}}