Difference between revisions of "Template:Event"

From Wikispooks
Jump to navigation Jump to search
m (Text replacement - "image_size" to "image_width")
(WP protection)
Line 12: Line 12:
 
|{{t|glossary}}      = <s>Wikitext</s>Plaintext summary for the glossary (major terms only). ''([[Property:GlossaryDescription]])''
 
|{{t|glossary}}      = <s>Wikitext</s>Plaintext summary for the glossary (major terms only). ''([[Property:GlossaryDescription]])''
 
|{{t|{{PURPLE|wikipedia}}}}    = English wikipedia URL for the event ''([[Property:Has wikipediaPage]])''
 
|{{t|{{PURPLE|wikipedia}}}}    = English wikipedia URL for the event ''([[Property:Has wikipediaPage]])''
 +
|{{t|wikipedia_protection}}      = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise ''([[Property:Has wikipediaProtection]])''
 
|{{t|occurred}}      = when an event occurred (for instantaneous events) ''([[Property:Occurred on]])''
 
|{{t|occurred}}      = when an event occurred (for instantaneous events) ''([[Property:Occurred on]])''
 
|{{t|start}}        = when the event began, or when it is scheduled to begin ''([[Property:Start]])''
 
|{{t|start}}        = when the event began, or when it is scheduled to begin ''([[Property:Start]])''
Line 45: Line 46:
 
Experimental extra SMW-->{{#if: {{{perpetrators|}}}||[[Has perpetrator::{{FULLPAGENAME}}/Perpetrators| ]]}}{{Infobox event
 
Experimental extra SMW-->{{#if: {{{perpetrators|}}}||[[Has perpetrator::{{FULLPAGENAME}}/Perpetrators| ]]}}{{Infobox event
 
<!-- WS Custom-->
 
<!-- WS Custom-->
| video                   ={{#if: {{{video|}}}|[[Has video::{{{video|}}}]]}}
+
| video                     = {{#if: {{{video|}}}|[[Has video::{{{video|}}}]]}}
| wikipedia               = {{{wikipedia|}}}
+
| wikipedia                 = {{{wikipedia|}}}
| authority               ={{ArrayMapListLink|{{{authority|}}}}}
+
| wikipedia_protection      = {{{wikipedia_protection|}}}
| defendants               ={{ArrayMapListLink|{{{defendants|}}}}}
+
| authority                 = {{ArrayMapListLink|{{{authority|}}}}}
| plaintiffs               ={{ArrayMapListLink|{{{plaintiffs|}}}}}
+
| defendants               = {{ArrayMapListLink|{{{defendants|}}}}}
 +
| plaintiffs               = {{ArrayMapListLink|{{{plaintiffs|}}}}}
 
<!-- Actually we either need:
 
<!-- Actually we either need:
 
1) a template top seemlessly merge these two  
 
1) a template top seemlessly merge these two  

Revision as of 15:33, 29 October 2014

Template:TemplateIt takes the following arguments:

{{Event
|description = a short summary description of the event (Property:Description)
|image = an image (Property:Has image)
|image_width = width of this image
|type = what type of event (Property:Has eventType)
|glossary = WikitextPlaintext summary for the glossary (major terms only). (Property:GlossaryDescription)
|wikipedia = English wikipedia URL for the event (Property:Has wikipediaPage)
|wikipedia_protection = Set to 1 if the wikipedia page is edit protected, 0 or empty otherwise (Property:Has wikipediaProtection)
|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)
|video = a URL of a video of the event (Property:Has video)
|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)
|causes = other directly causes of this event (Property:Has cause)
|constitutes= suitable descriptions of this event (e.g. "Assassination, False Flag, Coup d'état") (Property:Constitutes)
|effects = other events directly caused by this event (Property:Has effect)
|perpetrators = which groups/individuals were responsible for this the event (Property:Has perpetrator)
|witnesses = list of witnesses to the event (Property:Has witness)
For timeline events:
|timeline = name of the timeline to feature this event (e.g. MH17)
 ABOUT THE OFFICIAL NARRATIVE:
|ON_constitutes= suitable descriptions of this event (Property:ON_constitutes)
|ON_causes = other directly causes of this event (Property:ON has cause)
|ON_effects = other events directly caused by this event (Property:ON has effect)
|ON_perpetrators = perpetrators of the event (Property:ON has perpetrator)
|ON_witnesses = list of witnesses to the event (Property:ON has witness)
 FOR LEGAL CASES:
|authority = which authority controls this case (Property:Has authority) (usually singular)
|plaintiffs = who is bringing this case (Property:Has plaintiff)
|defendants = who is defending this case (Property:Has defendant)}}

Extra parameters from Wikpedia infoboxes:
|title, |image_caption, |place , |map, |map_caption, |map_size, |map_alt, |coordinates, |also known as, |target, |weapons, |fatalities , |injuries, |survivors, |motive, |first reporter, |filmed by, |participants, |outcome, |reported deaths, |reported injuries, |reported missing, |reported property damage, |burial , |inquiries, |inquest, |coroner, |suspects, |accused, |convicted, |charges, |verdict, |convictions, |publication bans, |litigation, |awards , |url , |blank_label, |blank_data, |blank1_label, |blank1_data, |blank2_label, |blank2_data, |website, |notes