Difference between revisions of "Template:Event"

From Wikispooks
Jump to navigation Jump to search
(|map)
(|map*)
Line 25: Line 25:
 
</poem>
 
</poem>
 
Extra parameters from the Wikpedia infobox:<br/>
 
Extra parameters from the Wikpedia infobox:<br/>
|title, |image , |image_size, |caption, |date, |time, |place, |map, |coordinates, |also known as, |cause , |target, |type, |weapons, |fatalities , |injuries, |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
+
|title, |image , |image_size, |caption, |date, |time , |place , |coordinates, |also known as, |cause , |target, |type, |weapons, |fatalities , |injuries, |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
  
 
</noinclude><includeonly>[[Constitutes::Event| ]]{{#arraymap:{{{subEvents|}}}|,|x|[[Has subEvent::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#arraymap:{{{aspects|}}}|,|x|[[Has aspect::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}| ]]}}{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{location|}}}|[[Has location::{{{location|}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia|}}}| ]]}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has cause|{{{causes|}}}|{{{ON_causes|}}}}}{{ONPropertyPair|has effect|{{{effects|}}}|{{{ON_effects|}}}}}{{ONPropertyPair|has witness|{{{witnesses|}}}|{{{ON_witnesses|}}}}}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}<!--
 
</noinclude><includeonly>[[Constitutes::Event| ]]{{#arraymap:{{{subEvents|}}}|,|x|[[Has subEvent::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#arraymap:{{{aspects|}}}|,|x|[[Has aspect::{{FULLPAGENAME}}/x| ]]|&#32;}}{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}| ]]}}{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{#if: {{{location|}}}|[[Has location::{{{location|}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia|}}}| ]]}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has cause|{{{causes|}}}|{{{ON_causes|}}}}}{{ONPropertyPair|has effect|{{{effects|}}}|{{{ON_effects|}}}}}{{ONPropertyPair|has witness|{{{witnesses|}}}|{{{ON_witnesses|}}}}}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}<!--
Line 34: Line 34:
 
| wikipedia                ={{{wikipedia|}}}
 
| wikipedia                ={{{wikipedia|}}}
 
<!-- From "Infobox_civilian_attack" -->
 
<!-- From "Infobox_civilian_attack" -->
|target   = {{{target|}}}
+
| target                   = {{{target|}}}
|type   = {{{type|}}}
+
| type                     = {{{type|}}}
|weapons   = {{{weapons|}}}
+
| weapons                 = {{{weapons|}}}
|fatalities = {{{fatalities|}}}
+
| fatalities               = {{{fatalities|}}}
|injuries   = {{{injuries|}}}
+
| injuries                 = {{{injuries|}}}
|motive = {{{motive|}}}
+
| motive                   = {{{motive|}}}
 
+
| image2                  = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}}|size={{{map_size|}}}|sizedefault=250px|alt={{{map_alt|}}}}}
 +
| caption2                = {{{map_caption|}}}
 
<!-- Wikipedia standard-->
 
<!-- Wikipedia standard-->
 
| title                    ={{{title|}}}<!-- Title to display, if other than page name -->
 
| title                    ={{{title|}}}<!-- Title to display, if other than page name -->
Line 49: Line 50:
 
| time                    ={{{time|}}}
 
| time                    ={{{time|}}}
 
| place                    ={{{place|}}}
 
| place                    ={{{place|}}}
| map                      ={{{map|}}}
 
 
| coordinates              ={{{coordinates|}}}<!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
 
| coordinates              ={{{coordinates|}}}<!-- {{coord|LAT|LON|region:XXXX_type:event|display=inline,title}} -->
 
| also known as            ={{{also known as|}}}
 
| also known as            ={{{also known as|}}}

Revision as of 04:12, 3 March 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)
|wikipedia = English wikipedia URL for the event (Property:Has wikipediaPage)
|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-event (for more complex events) (Property:Has subEvent)
|aspects = other angles on the event [displayed sub-pages] (Property:Has aspect)
COMMA SEPARATED LISTS OF PROPERTIES:
|witnesses = list of witnesses to the event (Property:Has witness)
|constitutes= suitable descriptions of this event (e.g. "Assassination,False Flag,Coup d'état") (Property:Constitutes)
|causes = agent/cause/creator/precursor of the event (Property:Has cause)??
|effects = other events directly caused by this event (Property:Has effect)
 ABOUT THE OFFICIAL NARRATIVE:
|ON_witnesses = list of witnesses to the event (Property:ON_has witness)
|ON_constitutes= suitable descriptions of this event (Property:ON_constitutes)
|ON_causes = agent/cause/creator/precursor of the event (Property:ON has cause)??
|ON_effects = other events directly caused by this event (Property:ON has effect)
}}

Extra parameters from the Wikpedia infobox:
|title, |image , |image_size, |caption, |date, |time , |place , |coordinates, |also known as, |cause , |target, |type, |weapons, |fatalities , |injuries, |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