Template:Event: Difference between revisions
Appearance
WikiSpooks>Robin Add |next, |previous |
m Plain formatting, no semantic markup |
||
| Line 86: | Line 86: | ||
|abbreviation, |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/> | |abbreviation, |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|}}}| | </noinclude><includeonly>{{SMWObjectHeader|Event}}{{#if: {{{occurred|}}}|}}{{#if: {{{start|}}}|}}{{ArrayMapProperty|{{{type|}}}|Has eventType}}{{ArrayMapProperty|{{{type|}}}|Constitutes}}{{#if: {{{glossary|}}}|}}{{#if: {{{end|}}}|}}{{ArrayMapProperty|{{{locations|}}}|Has location}}{{ArrayMapProperty|{{{authority|}}}|Has authority}}{{ArrayMapProperty|{{{plaintiffs|}}}|Has plaintiff}}{{ArrayMapProperty|{{{defendants|}}}|Has defendant}}{{ONPropertyPair|constitutes|{{{constitutes|}}}|{{{ON_constitutes|}}}}}{{#if: {{{image|}}}|}}{{#if: {{{logo|}}}|}}{{#if: {{{key_properties|}}}|}}{{#if: {{{key_property_headers|}}}|}}{{SMWDefaultMarkup}}{{SMWDefaultMarkup/Event}}{{#ifeq: {{{so_called|}}} | 1 | {{DISPLAYTITLE:"{{PAGENAME}}"}} |}}{{#if: {{{wikipedia|}}}|}}<!-- | ||
TIMELINE --> | TIMELINE --><!-- | ||
Experimental extra SMW. | Experimental extra SMW. | ||
Disabled as of 2022-12-15 since so many events don't have known perpetrators.{{#if: {{{perpetrators|}}}|| | Disabled as of 2022-12-15 since so many events don't have known perpetrators.{{#if: {{{perpetrators|}}}||}}-->{{Infobox event | ||
<!-- WS Custom--> | <!-- WS Custom--> | ||
| inspired = {{ArrayMapPropertyBulletedListLink|{{{inspired|}}}|Has inspired}} | | inspired = {{ArrayMapPropertyBulletedListLink|{{{inspired|}}}|Has inspired}} | ||
| motto = {{ArrayMapPropertyListLink|{{{motto|}}}|Has motto}} | | motto = {{ArrayMapPropertyListLink|{{{motto|}}}|Has motto}} | ||
| interests = {{ArrayMapPropertyBulletedListLink|{{{interests|}}}|Has interest}} | | interests = {{ArrayMapPropertyBulletedListLink|{{{interests|}}}|Has interest}} | ||
| interest_of = | | interest_of = | ||
| video = {{#if: {{{video|}}}| | | video = {{#if: {{{video|}}}|{{{video|}}}}} | ||
|wikipedia = {{#if: {{{wikipedia|}}}|{{{wikipedia}}}|{{{WP|}}}}} | |wikipedia = {{#if: {{{wikipedia|}}}|{{{wikipedia}}}|{{{WP|}}}}} | ||
|wikipedia_protection = {{{wikipedia_protection|}}} | |wikipedia_protection = {{{wikipedia_protection|}}} | ||
| Line 121: | Line 121: | ||
or | or | ||
2) to eliminate one of them --> | 2) to eliminate one of them --> | ||
| causes = {{ArrayMapListLink|{{{causes|}}} | | causes = {{ArrayMapListLink|{{{causes|}}}}} | ||
| effects = {{ArrayMapPropertyListLink|{{{effects|}}}|Has effect}} | | effects = {{ArrayMapPropertyListLink|{{{effects|}}}|Has effect}} | ||
| advisors = {{ArrayMapPropertyListLink|{{{advisors|}}}|Has advisor}} | | advisors = {{ArrayMapPropertyListLink|{{{advisors|}}}|Has advisor}} | ||
| Line 137: | Line 137: | ||
| ON_sponsors = {{ArrayMapPropertyListLink|{{{ON_sponsors|}}}|ON has sponsor}} | | ON_sponsors = {{ArrayMapPropertyListLink|{{{ON_sponsors|}}}|ON has sponsor}} | ||
| ON_witnesses = {{ArrayMapPropertyListLink|{{{ON_witnesses|}}}|ON has witness}} | | ON_witnesses = {{ArrayMapPropertyListLink|{{{ON_witnesses|}}}|ON has witness}} | ||
| exposed by = | | exposed by = | ||
| exposed = {{ArrayMapPropertyBulletedListLink|{{{exposed|}}}|Exposed}} | | exposed = {{ArrayMapPropertyBulletedListLink|{{{exposed|}}}|Exposed}} | ||
| image_caption = {{{image_caption|}}} | | image_caption = {{{image_caption|}}} | ||
| Line 149: | Line 149: | ||
| target = {{{target|}}} | | target = {{{target|}}} | ||
| weapons = {{{weapons|}}} | | weapons = {{{weapons|}}} | ||
| fatalities = {{#if: {{{fatalities|}}}| | | fatalities = {{#if: {{{fatalities|}}}|{{{fatalities}}}}} | ||
| injuries = {{#if: {{{injuries|}}}| | | injuries = {{#if: {{{injuries|}}}|{{{injuries}}}}} | ||
| survivors = {{#if: {{{survivors|}}}| | | survivors = {{#if: {{{survivors|}}}|{{{survivors}}}}} | ||
| motive = {{{motive|}}} | | motive = {{{motive|}}} | ||
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}} |size={{{map_size|}}} |sizedefault=250px|alt={{{map_alt|}}}}} | | image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{map|}}} |size={{{map_size|}}} |sizedefault=250px|alt={{{map_alt|}}}}} | ||
| Line 158: | Line 158: | ||
<!-- Wikipedia standard--> | <!-- Wikipedia standard--> | ||
| title ={{#if: {{{timeline|}}}|[[{{{timeline}}}]]: }}{{#if: {{{ON_constitutes|}}}|<span class="honorific-prefix" style="font-size: small">"{{ArrayMapListLink|{{{ON_constitutes}}}}}"</span><br />}}{{#if: {{{title|}}}|{{{title}}}|{{FULLPAGENAME}}}}{{#if: {{{wikipedia_protection|}}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-padlock-icon.png}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-icon.png}}}}{{#if: {{{constitutes|}}}|({{ArrayMapListLink|{{{constitutes|}}}}})}} | | title ={{#if: {{{timeline|}}}|[[{{{timeline}}}]]: }}{{#if: {{{ON_constitutes|}}}|<span class="honorific-prefix" style="font-size: small">"{{ArrayMapListLink|{{{ON_constitutes}}}}}"</span><br />}}{{#if: {{{title|}}}|{{{title}}}|{{FULLPAGENAME}}}}{{#if: {{{wikipedia_protection|}}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-padlock-icon.png}}|{{External icons/Xicon|{{{wikipedia|}}}|Has wikipediaPage|wikipedia-icon.png}}}}{{#if: {{{constitutes|}}}|({{ArrayMapListLink|{{{constitutes|}}}}})}} | ||
| image ={{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}}|{{{image}}}|{{#if: {{{timeline|}}}| | | image ={{#invoke:InfoboxImage|InfoboxImage|image={{#if: {{{image|}}}|{{{image}}}|{{#if: {{{timeline|}}}||{{#ifeq: {{{type|}}}|legal case|}}}}}}|size={{#if: {{{image_width|}}}|{{{image_width}}}|{{{image_width|}}}}}|sizedefault=frameless|alt={{{image_alt|}}}}} | ||
| caption ={{{caption|}}} | | caption ={{{caption|}}} | ||
| date ={{FormatDate|{{{start|}}}|{{{end|}}}|{{{occurred|}}}}} | | date ={{FormatDate|{{{start|}}}|{{{end|}}}|{{{occurred|}}}}} | ||
| Line 194: | Line 194: | ||
| website ={{{website|}}} | | website ={{{website|}}} | ||
| notes ={{{notes|}}} | | notes ={{{notes|}}} | ||
| description ={{#if: {{{description|}}}| | | description ={{#if: {{{description|}}}|{{{description}}}}} | ||
}}[[Category:Events]]</includeonly> | }}[[Category:Events]]</includeonly> | ||
Latest revision as of 22:34, 24 September 2026
Concept • Document • Employment • Event • Group • Person • Publication • Website |
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 parameterswere 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: <poem>
| [[File:an image (Property:Has image)|width of this image|alt=alt text for the image|alt text for the image]] caption for the image | |
| [[File:Event logo (Property:Has logo) e.g. for a conference - Where multiple logos are possible, use a portrait rather than a landscape format|250px]] | |
| Motto | Event motto/slogan |
|---|---|
| Description | a short summary description of the event (Property:Description) |