Difference between revisions of "Template:Event"

From Wikispooks
Jump to navigation Jump to search
(explain more)
(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|a}}}}    = agent/cause/creator/instigator of the event  ''([[Property:???]])''
+
|{{t|{{BLUE|cause}}}}    = agent/cause/creator/precursor of the event  ''([[Property:Has cause]])''??
|{{t|{{BLUE|b}}}}   = person affected by or otherwise relevant to the event ''([[Property:???]])''
+
|{{t|{{BLUE|involved}}}} = person affected by or otherwise relevant to the event ''([[Property:Involved]])''??
|{{t|{{BLUE|c}}}}   = events directly caused by this event ''([[Property:???]])''
+
|{{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]])
 
...
 
...
 
}}
 
}}
 
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><!-- TO DO -- Just make some SMW data here, nothing to display --></includeonly>
+
</poem></noinclude><includeonly>
 +
{{SMWDataList|has cause|{{{cause|}}}|{{{cause2}}}{{{cause3}}}|{{{cause4}}}|{{{cause5}}}}}
 +
{{SMWDataList|involved|{{{involved|}}}|{{{involved2}}}{{{involved3}}}|{{{involved4}}}|{{{involved5}}}}}
 +
{{SMWDataList|has effect|{{{effect|}}}|{{{effect2}}}{{{effect3}}}|{{{effect4}}}|{{{effect5}}}}}
 +
{{SMWDataList|constitutes|{{{constitutes|}}}|{{{constitutes2}}}{{{constitutes3}}}|{{{constitutes4}}}|{{{constitutes5}}}}}
 +
{{#if: {{{start|}}}|[[Start::{{{start}}}]]}}
 +
{{#if: {{{end|}}}|[[End::{{{end}}}]]}}
 +
{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}]]}}
 +
{{#if: {{{location|}}}|[[Has location::{{{location|}}}]]}}
 +
{{{SMWData|description={{{description|}}}}}
 +
}}}</includeonly>

Revision as of 04:40, 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)
|cause = agent/cause/creator/precursor of the event (Property:Has cause)??
|involved = person affected by or otherwise relevant to the event (Property:Involved)??
|effect = other events directly caused by this event (Property:Has effect)
|constitutes= suitable descriptions of this event (e.g. "censorship", "war propaganda") (Property:Constitutes)
...
}}
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...