Template:Infobox event: Difference between revisions
Jump to navigation
Jump to search
imported>FANDOM m (1 revision: Updates made for portability) |
Event>Paine Ellsworth (per edit request on talk page - include parameter for perpetrator) |
||
Line 1: | Line 1: | ||
{{#invoke:infobox|infoboxTemplate | |||
| bodyclass = {{#if:{{{nongregorian|}}}||vevent}} | |||
| subheader = {{#if:{{{partof|}}}|Part of {{{partof|}}}}} | |||
| child = {{{child|no}}} | |||
| titleclass = summary | |||
| title = {{if empty | {{{event|}}} | {{{title|}}} | {{{name|}}} | {{{Event_Name|}}} | {{#ifeq:{{{child|}}}|yes||{{PAGENAMEBASE}}}} }} | |||
| image1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|}}}|sizedefault=frameless|maxsize=300|size={{{logo_size|}}}|upright={{{logo_upright|1}}}|alt={{{logo_alt|}}}}} | |||
| caption1 = {{{logo_caption|}}} | |||
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}|{{{image}}}|{{{image_name|{{{Image_Name|}}}}}}}}|size={{{image_size|{{{Imagesize|}}}}}}|sizedefault=frameless|upright={{{image_upright|1.1}}}|thumbtime={{{thumbtime|{{{Thumb_Time|}}}}}}|alt={{{alt|{{{image_alt|{{{Image_Alt|}}}}}}}}}}} | |||
| caption2 = {{{caption|{{{Image_Caption|}}} }}} | |||
| imagestyle = {{#if:{{{caption|{{{Image_Caption|}}} }}}|border-bottom:#aaa solid 1px}} | |||
| image3 = {{#invoke:InfoboxImage|InfoboxImage |image={{{map|}}} |size={{{map_size|}}} |sizedefault=250px |alt={{{map_alt|}}} }} | |||
| caption3 = {{{map_caption|}}} | |||
| datastyle = text-align: left; | |||
| headerstyle = background-color:lavender; | |||
| label1 = Native name | |||
| data1 = {{#if:{{{native_name|}}}|<span {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}> {{{native_name}}}</span>}} | |||
| label2 = English name | |||
| data2 = {{{English_name|{{{english_name|}}}}}} | |||
| label3 = Date | |||
| data3 = {{{date|{{{Date|}}} }}} | |||
| label4 = Time | |||
| data4 = {{{time|}}} {{#if:{{{timezone|}}}|({{{timezone}}})}} | |||
| label5 = Duration | |||
| data5 = {{{duration|}}} | |||
| label6 = Venue | |||
| data6 = {{{venue|}}} | |||
| label7 = Location | |||
| class7 = location | |||
| data7 = {{if empty| {{{place|}}} | {{{Location|}}} | {{{location|}}} }} | |||
| label8 = [[Geographic coordinate system|Coordinates]] | |||
| data8 = {{{coordinates|}}} | |||
| label9 = Also known as | |||
| data9 = {{if empty| {{{also known as|}}} | {{{also_known_as|}}} | {{{AKA|}}} | {{{aka|}}} }} | |||
| label10 = Type | |||
| data10 = {{{type|}}} | |||
| label11 = Theme | |||
| data11 = {{{theme|}}} | |||
| label12 = Cause | |||
| data12 = {{{cause|}}} | |||
| label13 = Motive | |||
| data13 = {{{motive|}}} | |||
| label14 = Target | |||
| data14 = {{{target|}}} | |||
| label15 = Perpetrator | |||
| data15 = {{{perpetrator|}}} | |||
| label16 = {{#if:{{{reporter|}}}|Reporter|First reporter}} | |||
| data16 = {{#if:{{{reporter|}}}|{{{reporter|}}}|{{{first reporter| {{{first_reporter|}}} }}}}} | |||
| label17= Budget | |||
| data17 = {{{budget|}}} | |||
| label18 = {{#if:{{{patrons|}}}|Patrons|Patron(s)}} | |||
| data18 = {{#if:{{{patrons|}}}|{{{patrons}}}|{{{patron|}}}}} | |||
| label19 = {{#if:{{{organisers|}}}|Organised|Organized}} by | |||
| data19 = {{#if:{{{organisers|}}}|{{{organisers}}}|{{{organizers|}}}}} | |||
| label20 = Filmed by | |||
| data20 = {{{filmed by| {{{filmed_by|}}}}}} | |||
| label21 = Participants | |||
| data21 = {{{participants|{{{Participants|}}} }}} | |||
| class21 = attendee | |||
| label22= Outcome | |||
| data22 = {{{outcome| {{{result| {{{Result|}}} }}} }}} | |||
| class22 = description | |||
| header23 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}} | |||
| data24 = {{{casualties1|}}} | |||
| data25 = {{{casualties2|}}} | |||
| data26 = {{{casualties3|}}} | |||
| label27 = Deaths | |||
| data27 = {{if empty| {{{reported deaths|}}} | {{{reported death(s)|}}} | {{{Deaths|}}} | {{{deaths|}}} | {{{fatalities|}}} }} | |||
| label28 = Non-fatal injuries | |||
| data28 = {{{reported injuries|{{{injuries|}}} }}} | |||
| label29 = Missing | |||
| data29 = {{{reported missing|{{{missing|}}}}}} | |||
| label30 = Property damage | |||
| data30 = {{if empty| {{{reported property damage|}}} | {{{property damage|}}} | {{{property_damage|}}} }} | |||
| label31 = Burial | |||
| data31 = {{{burial|}}} | |||
| label32 = Displaced | |||
| data32 = {{{displaced|}}} | |||
| label33 = Inquiries | |||
| data33 = {{{inquiries|}}} | |||
| label34 = Inquest | |||
| data34 = {{{inquest|}}} | |||
| label35 = Coroner | |||
| data35 = {{{coroner|}}} | |||
| label36 = Arrests | |||
| data36 = {{{arrests|}}} | |||
| label37 = Suspects | |||
| data37 = {{{suspects|{{{susperps|}}} }}} | |||
| label38 = Accused | |||
| data38 = {{{accused|}}} | |||
| label39 = Convicted | |||
| data39 = {{{convicted|}}} | |||
| label40 = Charges | |||
| data40 = {{{charges|}}} | |||
| label41 = Trial | |||
| data41 = {{{trial|}}} | |||
| label42 = Verdict | |||
| data42 = {{{verdict|}}} | |||
| label43 = Convictions | |||
| data43 = {{{convictions|}}} | |||
| label44 = Sentence | |||
| data44 = {{{sentence|}}} | |||
| label45 = Publication bans | |||
| data45 = {{{publication bans|{{{publication_bans|}}}}}} | |||
| label46 = Litigation | |||
| data46 = {{{litigation|}}} | |||
| label47 = Awards | |||
| data47 = {{{awards|}}} | |||
| label48 = Footage | |||
| data48 = {{{footage|{{{url|}}}}}} | |||
| label49 = {{{blank_label}}} | |||
| data49 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}} | |||
| label50 = {{{blank1_label}}} | |||
| data50 = {{#if:{{{blank1_label|}}}|{{{blank1_data|}}}}} | |||
| label51 = {{{blank2_label}}} | |||
| data51 = {{#if:{{{blank2_label|}}}|{{{blank2_data|}}}}} | |||
| label52 = Website | |||
| data52 = {{{website|{{{URL|}}} }}} | |||
| data53 = {{{module|}}} | |||
| belowstyle = border-top: #aaa 1px solid; | |||
| below = {{{notes|}}} | |||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox event with unknown parameters|_VALUE_{{PAGENAME}}]]}}|ignoreblank=y|preview=Page using [[Template:Infobox event]] with unknown parameter "_VALUE_" | |||
| accused | AKA | aka | also known as | also_known_as | alt | arrests | awards | blank_data | blank_label | blank1_data | blank1_label | blank2_data | blank2_label | budget | burial | caption | casualties1 | casualties2 | casualties3 | cause | child | displaced | motive | target | charges | convicted | convictions | coordinates | coroner | Date | date | Deaths | deaths | duration | english_name | English_name | event | Event_Name | fatalities | filmed by | filmed_by | first reporter | first_reporter | footage | image | Image_Alt | image_alt | Image_Caption | Image_Name | image_name | image_size | Imagesize | image_upright | injuries | inquest | inquiries | litigation | Location | location | |||
| logo | logo_alt | logo_caption | logo_size | logo_upright | |||
| map | map_alt | map_caption | map_size | missing | name | native_name | native_name_lang | nongregorian | notes | organisers | organizers | outcome | Participants | participants | partof | patron | patrons | perpetrator | place | property damage | property_damage | publication bans | publication_bans | reported death(s) | reported deaths | reported injuries | reported missing | reported property damage | reporter | Result | result | sentence | suspects | susperps | theme | Thumb_Time | thumbtime | time | timezone | title | trial | type | url | URL | venue | verdict | website }}{{#if:{{{blank_data|}}}{{{blank1_data|}}}{{{blank2_data|}}}|[[Category:Pages using infobox event with blank parameters]]}}<noinclude> | |||
{{Documentation}} | |||
<!-- please add category links to the /doc sub-page, not here --> | |||
</noinclude> |
Latest revision as of 03:00, 6 October 2022
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
Description
To use this template, copy the following code and fill in the appropriate fields.
Syntax
{{infobox event | title = | image = [e.g. "Example.jpg"] | imagecaption = | performers = | date = | location = }}
Samples
Date | All the time |
---|---|
Location | Everywhere |
{{infobox event | title = Flower du Jour | image = Example.jpg | performers = Awesome Ones | date = All the time | location = Everywhere }}