Difference between revisions of "Template:Event"

From Wikispooks
Jump to navigation Jump to search
(SMWDataList calls)
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]])''
 
|{{t|location}}      = where the event happened  ''([[Property:Has location]])''
 +
|{{t|{{BLUE|constitutes}}}}= suitable descriptions of this event (e.g. "censorship", "war propaganda") ([[Property:Constitutes]])
 +
|{{t|{{BLUE|involves}}}} = person affected by or otherwise relevant to the event ''([[Property:Involves]])''??
 
|{{t|{{BLUE|cause}}}}    = agent/cause/creator/precursor of the event  ''([[Property:Has cause]])''??
 
|{{t|{{BLUE|cause}}}}    = agent/cause/creator/precursor of the event  ''([[Property:Has cause]])''??
|{{t|{{BLUE|involved}}}} = person affected by or otherwise relevant to the event ''([[Property:Involved]])''??
 
 
|{{t|{{BLUE|effect}}}}  = other events directly caused by this event ''([[Property:Has effect]])''
 
|{{t|{{BLUE|effect}}}}  = other events directly caused by this event ''([[Property:Has effect]])''
|{{t|{{BLUE|constitutes}}}}= suitable descriptions of this event (e.g. "censorship", "war propaganda") ([[Property:Constitutes]])
 
 
...
 
...
 
}}
 
}}
Line 17: Line 17:
 
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>
 
</poem></noinclude><includeonly>
{{SMWDataList|has cause|{{{cause|}}}|{{{cause2}}}{{{cause3}}}|{{{cause4}}}|{{{cause5}}}}}
+
{{{SMWData|description={{{description|}}}}}
{{SMWDataList|involved|{{{involved|}}}|{{{involved2}}}{{{involved3}}}|{{{involved4}}}|{{{involved5}}}}}
+
{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}]]}}
{{SMWDataList|has effect|{{{effect|}}}|{{{effect2}}}{{{effect3}}}|{{{effect4}}}|{{{effect5}}}}}
 
{{SMWDataList|constitutes|{{{constitutes|}}}|{{{constitutes2}}}{{{constitutes3}}}|{{{constitutes4}}}|{{{constitutes5}}}}}
 
 
{{#if: {{{start|}}}|[[Start::{{{start}}}]]}}
 
{{#if: {{{start|}}}|[[Start::{{{start}}}]]}}
 
{{#if: {{{end|}}}|[[End::{{{end}}}]]}}
 
{{#if: {{{end|}}}|[[End::{{{end}}}]]}}
{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}]]}}
 
 
{{#if: {{{location|}}}|[[Has location::{{{location|}}}]]}}
 
{{#if: {{{location|}}}|[[Has location::{{{location|}}}]]}}
{{{SMWData|description={{{description|}}}}}
+
{{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}}}}}
 
}}}</includeonly>
 
}}}</includeonly>

Revision as of 04:55, 26 December 2013

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)
|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)
...
}}
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...