Difference between revisions of "Template:Event"
(Remove legacy code - upgrade to use all comma separated lists) |
m (re-jig description) |
||
Line 10: | Line 10: | ||
|{{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]])'' | ||
COMMA SEPARATED LISTS OF PROPERTIES: | COMMA SEPARATED LISTS OF PROPERTIES: | ||
− | |||
|{{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]])''?? | ||
Line 19: | Line 19: | ||
|{{t|{{GREEN|ON_cause}}}} = agent/cause/creator/precursor of the event ''([[Property:ON has cause]])''?? | |{{t|{{GREEN|ON_cause}}}} = 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_effect}}}} = other events directly caused by this event ''([[Property:ON has effect]])'' | ||
− | |||
}} | }} | ||
</poem></noinclude><includeonly>{{Description|{{{description|}}}}}{{#arraymap:{{{subEvents|}}}|,|x|[[Has subEvent::{{FULLPAGENAME}}/x| ]]| }}{{#arraymap:{{{aspects|}}}|,|x|[[Has aspect::{{FULLPAGENAME}}/x| ]]| }}{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}]]| }}{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{location|}}}|[[Has location::{{{location|}}}| ]]}}{{#arraymap:{{{locations|}}}|,|x|[[Has location::x| ]]| }}{{#arraymap:{{{constitutes|}}}|,|x|[[Constitutes::x| ]]| }}{{#arraymap:{{{ON_constitutes|}}}|,|x|[[ON_constitutes::x| ]]| }}{{#arraymap:{{{causes|}}}|,|x|[[Has cause::x| ]]| }}{{#arraymap:{{{effects|}}}|,|x|[[Has effect::x| ]]| }}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}</includeonly> | </poem></noinclude><includeonly>{{Description|{{{description|}}}}}{{#arraymap:{{{subEvents|}}}|,|x|[[Has subEvent::{{FULLPAGENAME}}/x| ]]| }}{{#arraymap:{{{aspects|}}}|,|x|[[Has aspect::{{FULLPAGENAME}}/x| ]]| }}{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}]]| }}{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{location|}}}|[[Has location::{{{location|}}}| ]]}}{{#arraymap:{{{locations|}}}|,|x|[[Has location::x| ]]| }}{{#arraymap:{{{constitutes|}}}|,|x|[[Constitutes::x| ]]| }}{{#arraymap:{{{ON_constitutes|}}}|,|x|[[ON_constitutes::x| ]]| }}{{#arraymap:{{{causes|}}}|,|x|[[Has cause::x| ]]| }}{{#arraymap:{{{effects|}}}|,|x|[[Has effect::x| ]]| }}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}</includeonly> |
Revision as of 14:32, 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:
|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_constitutes= suitable descriptions of this event (Property:ON_constitutes)
|ON_cause = agent/cause/creator/precursor of the event (Property:ON has cause)??
|ON_effect = other events directly caused by this event (Property:ON has effect)
}}