Difference between revisions of "Template:Event"

From Wikispooks
Jump to navigation Jump to search
(fix)
(subEvents rejig)
Line 23: Line 23:
 
How useful is it to have separate properties for separate ''namespaces''? The idea of a,b,c is to allow chains of cause and effect to be worked out.
 
How useful is it to have separate properties for separate ''namespaces''? The idea of a,b,c is to allow chains of cause and effect to be worked out.
 
A is_immediate_cause_of B, B consitutes War, => A constitutes Casus_Belli and the like...
 
A is_immediate_cause_of B, B consitutes War, => A constitutes Casus_Belli and the like...
</poem></noinclude><includeonly>{{Description|{{{description|}}}}}{{#arraymap:{{{subEvents|}}}|,|x|{{#set:Has subEvent=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;}}{{SMWDataList|constitutes|{{{constitutes|}}}|{{{constitutes2|}}}{{{constitutes3|}}}|{{{constitutes4|}}}|{{{constitutes5|}}}}}{{SMWDataList|involves|{{{involves|}}}|{{{involves2|}}}|{{{involves3|}}}|{{{involves4|}}}|{{{involves5|}}}}}{{SMWDataList|has cause|{{{cause|}}}|{{{cause2|}}}|{{{cause3|}}}|{{{cause4|}}}|{{{cause5|}}}}}{{SMWDataList|has effect|{{{effect|}}}|{{{effect2|}}}|{{{effect3|}}}|{{{effect4|}}}|{{{effect5|}}}}}{{SMWDataList|ON constitutes|{{{ON_constitutes|}}}|{{{ON_constitutes2|}}}{{{ON_constitutes3|}}}|{{{ON_constitutes4|}}}|{{{ON_constitutes5|}}}}}{{SMWDataList|ON involves|{{{ON_involves|}}}|{{{ON_involves2|}}}|{{{ON_involves3|}}}|{{{ON_involves4|}}}|{{{ON_involves5|}}}}}{{SMWDataList|ON has cause|{{{ON_cause|}}}|{{{ON_cause2|}}}|{{{ON_cause3|}}}|{{{ON_cause4|}}}|{{{ON_cause5|}}}}}{{SMWDataList|ON has effect|{{{ON_effect|}}}|{{{ON_effect2|}}}|{{{ON_effect3|}}}|{{{ON_effect4|}}}|{{{ON_effect5|}}}}}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}</includeonly>
+
</poem></noinclude><includeonly>{{Description|{{{description|}}}}}{{#arraymap:{{{subEvents|}}}|,|x|[[Has subEvent::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;}}{{SMWDataList|constitutes|{{{constitutes|}}}|{{{constitutes2|}}}{{{constitutes3|}}}|{{{constitutes4|}}}|{{{constitutes5|}}}}}{{SMWDataList|involves|{{{involves|}}}|{{{involves2|}}}|{{{involves3|}}}|{{{involves4|}}}|{{{involves5|}}}}}{{SMWDataList|has cause|{{{cause|}}}|{{{cause2|}}}|{{{cause3|}}}|{{{cause4|}}}|{{{cause5|}}}}}{{SMWDataList|has effect|{{{effect|}}}|{{{effect2|}}}|{{{effect3|}}}|{{{effect4|}}}|{{{effect5|}}}}}{{SMWDataList|ON constitutes|{{{ON_constitutes|}}}|{{{ON_constitutes2|}}}{{{ON_constitutes3|}}}|{{{ON_constitutes4|}}}|{{{ON_constitutes5|}}}}}{{SMWDataList|ON involves|{{{ON_involves|}}}|{{{ON_involves2|}}}|{{{ON_involves3|}}}|{{{ON_involves4|}}}|{{{ON_involves5|}}}}}{{SMWDataList|ON has cause|{{{ON_cause|}}}|{{{ON_cause2|}}}|{{{ON_cause3|}}}|{{{ON_cause4|}}}|{{{ON_cause5|}}}}}{{SMWDataList|ON has effect|{{{ON_effect|}}}|{{{ON_effect2|}}}|{{{ON_effect3|}}}|{{{ON_effect4|}}}|{{{ON_effect5|}}}}}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}</includeonly>

Revision as of 07:27, 6 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-pages (for more complex events) (Property:Has subEvent)
|constitutes= suitable descriptions of this event (e.g. "censorship", "war propaganda") (Property:Constitutes)
|involves = person affected by or otherwise relevant to the event (Property:Involves)??
|cause = agent/cause/creator/precursor of the event (Property:Has cause)??
|effect = other events directly caused by this event (Property:Has effect)
PROPERTIES ABOUT THE OFFICIAL NARRATIVE:
|ON_involves = person affected by or otherwise relevant to the event (Property:Involves)??
|ON_constitutes= suitable descriptions of this event (e.g. "censorship", "war propaganda") (Property:Constitutes)
|ON_cause = agent/cause/creator/precursor of the event (Property:Has cause)??
|ON_effect = other events directly caused by this event (Property:Has effect)
...
}}
How useful is it to have separate properties for separate namespaces? The idea of a,b,c is to allow chains of cause and effect to be worked out.
A is_immediate_cause_of B, B consitutes War, => A constitutes Casus_Belli and the like...