Difference between revisions of "Template:Event"

From Wikispooks
Jump to navigation Jump to search
(fix)
(fix to display nothing)
Line 18: Line 18:
 
</poem></noinclude><includeonly>
 
</poem></noinclude><includeonly>
 
{{{SMWData|description={{{description|}}}}}
 
{{{SMWData|description={{{description|}}}}}
{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}]]}}
+
{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}]]| }}
{{#if: {{{start|}}}|[[Start::{{{start}}}]]}}
+
{{#if: {{{start|}}}|[[Start::{{{start}}}]]| }}
{{#if: {{{end|}}}|[[End::{{{end}}}]]}}
+
{{#if: {{{end|}}}|[[End::{{{end}}}]]| }}
{{#if: {{{location|}}}|[[Has location::{{{location|}}}]]}}
+
{{#if: {{{location|}}}|[[Has location::{{{location|}}}]]| }}
 
{{SMWDataList|constitutes|{{{constitutes|}}}|{{{constitutes2|}}}{{{constitutes3|}}}|{{{constitutes4|}}}|{{{constitutes5|}}}}}
 
{{SMWDataList|constitutes|{{{constitutes|}}}|{{{constitutes2|}}}{{{constitutes3|}}}|{{{constitutes4|}}}|{{{constitutes5|}}}}}
 
{{SMWDataList|involves|{{{involves|}}}|{{{involves2|}}}|{{{involves3|}}}|{{{involves4|}}}|{{{involves5|}}}}}
 
{{SMWDataList|involves|{{{involves|}}}|{{{involves2|}}}|{{{involves3|}}}|{{{involves4|}}}|{{{involves5|}}}}}
{{SMWDataList|has cause|{{{cause|}}}|{{{cause2|}}}|{{{cause3|}}}|{{{cause4}}}|{{{cause5|}}}}}
+
{{SMWDataList|has cause|{{{cause|}}}|{{{cause2|}}}|{{{cause3|}}}|{{{cause4|}}}|{{{cause5|}}}}}
 
{{SMWDataList|has effect|{{{effect|}}}|{{{effect2|}}}|{{{effect3|}}}|{{{effect4|}}}|{{{effect5|}}}}}
 
{{SMWDataList|has effect|{{{effect|}}}|{{{effect2|}}}|{{{effect3|}}}|{{{effect4|}}}|{{{effect5|}}}}}
 
}}}</includeonly>
 
}}}</includeonly>

Revision as of 05:27, 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...