Difference between revisions of "Template:Event"

From Wikispooks
Jump to navigation Jump to search
(Advisors)
Line 40: Line 40:
 
|{{GREEN|interests}}= Area(s) of interest ''([[Property:Has interest]])''
 
|{{GREEN|interests}}= Area(s) of interest ''([[Property:Has interest]])''
 
|{{GREEN|effects}}  = other events directly caused by this event ''([[Property:Has effect]])''
 
|{{GREEN|effects}}  = other events directly caused by this event ''([[Property:Has effect]])''
 +
|{{GREEN|advisors}}  = list of active advisors to the event ''([[Property:Has advisor]])''
 
|{{GREEN|participants}}  = list of active participants in the event ''([[Property:Has participant]])''
 
|{{GREEN|participants}}  = list of active participants in the event ''([[Property:Has participant]])''
 
|{{GREEN|perpetrators}}    = which groups/individuals were responsible for this the event  ''([[Property:Has perpetrator]])''
 
|{{GREEN|perpetrators}}    = which groups/individuals were responsible for this the event  ''([[Property:Has perpetrator]])''
Line 54: Line 55:
 
<s>|{{GREEN|ON_causes}}  = other directly causes of this event ''([[Property:ON has cause]])''</s>
 
<s>|{{GREEN|ON_causes}}  = other directly causes of this event ''([[Property:ON has cause]])''</s>
 
|{{GREEN|ON_effects}}  = other events directly caused by this event ''([[Property:ON has effect]])''
 
|{{GREEN|ON_effects}}  = other events directly caused by this event ''([[Property:ON has effect]])''
 +
|{{GREEN|ON_advisors}}  = list of advisors in the event ''([[Property:ON has advisor]])''
 
|{{GREEN|ON_participants}}  = list of participants in the event ''([[Property:ON has participant]])''
 
|{{GREEN|ON_participants}}  = list of participants in the event ''([[Property:ON has participant]])''
 
|{{GREEN|ON_perpetrators}}    = perpetrators of the event  ''([[Property:ON has perpetrator]])''
 
|{{GREEN|ON_perpetrators}}    = perpetrators of the event  ''([[Property:ON has perpetrator]])''
Line 74: Line 76:
 
|title, |place , |map, |map_caption, |map_size, |map_alt, |also known as, |target, |weapons, |motive, |first reporter, |filmed by, |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, |notes<br/>
 
|title, |place , |map, |map_caption, |map_size, |map_alt, |also known as, |target, |weapons, |motive, |first reporter, |filmed by, |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, |notes<br/>
 
}}
 
}}
</noinclude><includeonly>{{SMWObjectHeader|Event}}{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}| ]]}}{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{ArrayMapProperty|{{{type|}}}|Has eventType}}{{ArrayMapProperty|{{{type|}}}|Constitutes}}{{#if: {{{glossary|}}}|[[GlossaryDescription::{{{glossary}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{ArrayMapProperty|{{{authority|}}}|Has authority}}{{ArrayMapProperty|{{{plaintiffs|}}}|Has plaintiff}}{{ArrayMapProperty|{{{defendants|}}}|Has defendant}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{ONPropertyPair|has perpetrator|{{{perpetrators|}}}|{{{ON_perpetrators|}}}}}{{ONPropertyPair|has effect|{{{effects|}}}|{{{ON_effects|}}}}}{{ONPropertyPair|has participant|{{{participants|}}}|{{{ON_participants|}}}}}{{ONPropertyPair|has witness|{{{witnesses|}}}|{{{ON_witnesses|}}}}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]]}}{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]][[Has logo2::Image:{{{logo}}}| ]]}}{{#if: {{{key_properties|}}}|[[Has keyProperties::{{{key_properties|}}}| ]]}}{{#if: {{{key_property_headers|}}}|[[Has keyPropertyHeaders::{{{key_property_headers}}}| ]]}}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}{{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]{{DISPLAYTITLE:"{{PAGENAME}}"}} |}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia}}}| ]][[Has wikipediaPage2::{{{wikipedia}}}| ]]}}<!--[[Has coordinates::{{{coordinates|}}}| ]]
+
</noinclude><includeonly>{{SMWObjectHeader|Event}}{{#if: {{{occurred|}}}|[[Occurred on::{{{occurred}}}| ]]}}{{#if: {{{start|}}}|[[Start::{{{start}}}| ]]}}{{ArrayMapProperty|{{{type|}}}|Has eventType}}{{ArrayMapProperty|{{{type|}}}|Constitutes}}{{#if: {{{glossary|}}}|[[GlossaryDescription::{{{glossary}}}| ]]}}{{#if: {{{end|}}}|[[End::{{{end}}}| ]]}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{ArrayMapProperty|{{{authority|}}}|Has authority}}{{ArrayMapProperty|{{{plaintiffs|}}}|Has plaintiff}}{{ArrayMapProperty|{{{defendants|}}}|Has defendant}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{#if: {{{image|}}}|[[Has image::File:{{{image|}}}| ]][[Has image2::File:{{{image|}}}| ]]}}{{#if: {{{logo|}}}|[[Has logo::Image:{{{logo}}}| ]][[Has logo2::Image:{{{logo}}}| ]]}}{{#if: {{{key_properties|}}}|[[Has keyProperties::{{{key_properties|}}}| ]]}}{{#if: {{{key_property_headers|}}}|[[Has keyPropertyHeaders::{{{key_property_headers}}}| ]]}}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}{{#ifeq: {{{so_called|}}} | 1 | [[So called::Yes| ]]{{DISPLAYTITLE:"{{PAGENAME}}"}} |}}{{#if: {{{wikipedia|}}}|[[Has wikipediaPage::{{{wikipedia}}}| ]][[Has wikipediaPage2::{{{wikipedia}}}| ]]}}<!--[[Has coordinates::{{{coordinates|}}}| ]]
 
TIMELINE -->{{#arraymap:{{{timelines|}}}|,|x|[[Display at::x/Timeline| ]]|&#32;}}<!--  
 
TIMELINE -->{{#arraymap:{{{timelines|}}}|,|x|[[Display at::x/Timeline| ]]|&#32;}}<!--  
 
Experimental extra SMW.
 
Experimental extra SMW.
Line 102: Line 104:
 
2) to eliminate one of them -->
 
2) to eliminate one of them -->
 
| causes                  = {{ArrayMapListLink|{{{causes|}}}}} {{#ask: [[-Has cause::{{FULLPAGENAME}}]] | format=list}}
 
| causes                  = {{ArrayMapListLink|{{{causes|}}}}} {{#ask: [[-Has cause::{{FULLPAGENAME}}]] | format=list}}
| effects                  = {{ArrayMapListLink|{{{effects|}}}}}
+
| effects                  = {{ArrayMapPropertyListLink|{{{effects|}}}|Has effect}}
| participants            = {{ArrayMapListLink|{{{participants|}}}}}
+
| advisors                = {{ArrayMapPropertyListLink|{{{advisors|}}}|Has advisor}}
 +
| participants            = {{ArrayMapPropertyListLink|{{{participants|}}}|Has participant}}
 
| perpetrators            = {{ArrayMapPropertyListLink|{{{perpetrators|}}}|Has perpetrator}}
 
| perpetrators            = {{ArrayMapPropertyListLink|{{{perpetrators|}}}|Has perpetrator}}
 
| planners                = {{ArrayMapPropertyListLink|{{{planners|}}}|Has planner}}
 
| planners                = {{ArrayMapPropertyListLink|{{{planners|}}}|Has planner}}
 
| sponsors                = {{ArrayMapPropertyListLink|{{{sponsors|}}}|Has sponsor}}
 
| sponsors                = {{ArrayMapPropertyListLink|{{{sponsors|}}}|Has sponsor}}
| witnesses                = {{ArrayMapListLink|{{{witnesses|}}}}}
+
| witnesses                = {{ArrayMapPropertyListLink|{{{witnesses|}}}|Has witness}}
| ON_effects              = {{ArrayMapListLink|{{{ON_effects|}}}}}
+
| ON_advisors              = {{ArrayMapPropertyListLink|{{{ON_advisors|}}}|ON has advisor}}
| ON_participants          = {{ArrayMapListLink|{{{ON_participants|}}}}}
+
| ON_effects              = {{ArrayMapPropertyListLink|{{{ON_effects|}}}|ON has effect}}
| ON_perpetrators          = {{ArrayMapListLink|{{{ON_perpetrators|}}}}}
+
| ON_participants          = {{ArrayMapPropertyListLink|{{{ON_participants|}}}|ON has participant}}
 +
| ON_perpetrators          = {{ArrayMapPropertyListLink|{{{ON_perpetrators|}}}|ON has perpetrator}}
 
| ON_planners              = {{ArrayMapPropertyListLink|{{{ON_planners|}}}|ON has planner}}
 
| ON_planners              = {{ArrayMapPropertyListLink|{{{ON_planners|}}}|ON has planner}}
 
| ON_sponsors              = {{ArrayMapPropertyListLink|{{{ON_sponsors|}}}|ON has sponsor}}
 
| ON_sponsors              = {{ArrayMapPropertyListLink|{{{ON_sponsors|}}}|ON has sponsor}}
| ON_witnesses            = {{ArrayMapListLink|{{{ON_witnesses|}}}}}
+
| ON_witnesses            = {{ArrayMapPropertyListLink|{{{ON_witnesses|}}}|ON has witness}}
 
| exposed by              = {{#ask: [[Exposed::{{FULLPAGENAME}}]] | format=list}}
 
| exposed by              = {{#ask: [[Exposed::{{FULLPAGENAME}}]] | format=list}}
 
| exposed                  = {{ArrayMapPropertyBulletedListLink‎|{{{exposed|}}}|Exposed}}
 
| exposed                  = {{ArrayMapPropertyBulletedListLink‎|{{{exposed|}}}|Exposed}}

Revision as of 14:42, 25 February 2020

SMWObjects
Semantic Object Templates:        DecadePlaceTimelineYearDisambiguation
ConceptDocumentEmploymentEventGroupPersonPublicationWebsite

This template provides a standard format for event pages.

Blue parameters are for a single Wikispooks page name (If no suitable page exists, then pick a title for a future page)
Brown parameters are for numbers
Green parameters are for comma-separated lists of page names (Or planned page names).
Navy parameters are for dates
Orange parameters are for booleans. (Usually, either "Yes" or just leave blank).
Purple parameters are URLs.
Violet parameters are slash-separated lists.
Pink parameters are for coordinates.
Crossed out parameters were formerly available, but have been upgraded. Some may still work, but do not use these.

See event for a list of pages that use this template.

It takes the following arguments:

{{Event
|description = a short summary description of the event (Property:Description)
|website = Official URL for the event (Property:Has website)
|logo = Event logo (Property:Has logo) e.g. for a conference - Where multiple logos are possible, use a portrait rather than a landscape format
|logo_caption = Caption for the logo
|logo_width = (defaults to "250px")
|image = an image (Property:Has image)
|image_width = width of this image
|image_caption = caption for the image
|image_alt = alt text for the image
|type = what type of event (Property:Has eventType)
|glossary = WikitextPlaintext summary for the glossary (major terms only). (Property:GlossaryDescription)
|alchetron = URL of the person's alchetron page (Property:Has alchetron)
|imdb = URL of an IMDB page with particular relevance, if any (Property:Has imdb)
|isgp = URL of an ISGP page with particular relevance, if any (Property:Has isgp)
|namebase = URL of the event's namebase page, if any (Property:Has namebase) (not many events have this?)
|powerbase = URL of the event's powerbase page, if any (Property:Has powerbase)
|sourcewatch = URL of the event's sourcewatch page, if any (Property:Has sourcewatch)
|spartacus = URL of the event's Spartacus page, if any (Property:Has spartacus)
|historycommons = URL of the event's Historycommons page, if any (Property:Has historycommons)
|nndb = URL of the group's NNDB page (Property:Has nndb)
|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 is scheduled to begin (Property:Start)
|end = when the event ended, or is scheduled to (if at all) (Property:End)
|video = a URL of a video of the event (Property:Has video)
|coordinates = where the event happened (Property:Has coordinates)
|locations = where the event happened (Property:Has location)
|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)
|exposed = Pagename(s) of what this event exposed (Property:Exposed) - e.g. for Leaks
|inspired = Pagename(s) of people this event inspired (Property:Inspired)
|interests= Area(s) of interest (Property:Has interest)
|effects = other events directly caused by this event (Property:Has effect)
|advisors = list of active advisors to the event (Property:Has advisor)
|participants = list of active participants in the event (Property:Has participant)
|perpetrators = which groups/individuals were responsible for this the event (Property:Has perpetrator)
|planners = which groups/individuals were responsible for planning this the event (Property:Has planner)
|sponsors = which groups/individuals were responsible for sponsoring this the event (Property:Has sponsor)
|witnesses = list of passive witnesses to the event (Property:Has witness)
To include this event on timelines, set the following parameter
|timelines = parent page(s) of the desired timeline(s) (e.g. John F. Kennedy/Assassination, John F. Kennedy)
|so_called = Set to 1 to illustrate concern about the language, 0 or empty otherwise (Property:So called)
|key_properties= Slash separated list of important properties of this page (Property:Has keyProperties)
|key_property_headers= Slash separated list of property descriptions (same length as the above) (Property:Has keyPropertyHeaders)
 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_advisors = list of advisors in the event (Property:ON has advisor)
|ON_participants = list of participants in the event (Property:ON has participant)
|ON_perpetrators = perpetrators of the event (Property:ON has perpetrator)
|ON_planners = sponsors of the event (Property:ON has planner)
|ON_sponsors = sponsors of the event (Property:ON has sponsor)
|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)
FOR ATTACKS
|fatalities = how many people killed
|fatalities_details = supplementary explanation of fatalities
|injuries = how many people injured
|injuries_details = supplementary explanation of fatalities
|survivors = how many people survived
|survivors_details = supplementary explanation of fatalities

Extra parameters from Wikpedia infoboxes:
|title, |place , |map, |map_caption, |map_size, |map_alt, |also known as, |target, |weapons, |motive, |first reporter, |filmed by, |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, |notes
}}