Template:Infobox Event: Difference between revisions

From Semantic Stargate Wiki
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 32: Line 32:
| subheader      = {{#if: {{{part of|}}} | Part of {{{part of|}}} }}
| subheader      = {{#if: {{{part of|}}} | Part of {{{part of|}}} }}
| subheaderstyle1 = background-color: #c9c9c9;
| subheaderstyle1 = background-color: #c9c9c9;
| subheader1      = {{#if: {{{alternate timeline|}}} | This item is part of an [[Item part of::alternate timeline]] }}
| subheader1      = {{#if: {{{alternate timeline|}}} | This event is part of an [[Event part of::alternate timeline]] }}
| subheaderstyle2 = background-color: #c9c9c9;
| subheaderstyle2 = background-color: #c9c9c9;
| subheader2      = {{#if: {{{alternate reality|}}} | This item is part of an [[Item part of::alternate reality]] }}
| subheader2      = {{#if: {{{alternate reality|}}} | This event is part of an [[Event part of::alternate reality]] }}
| subheaderstyle3 = background-color: #c9c9c9;
| subheaderstyle3 = background-color: #c9c9c9;
| subheader3      = {{#if: {{{hallucination|}}} | This item is part of an [[Item part of::hallucination]] }}
| subheader3      = {{#if: {{{hallucination|}}} | This event is part of an [[Event part of::hallucination]] }}


| image          = {{#if: {{{image|}}} | {{#invoke:InfoboxImage|InfoboxImage|image= {{{image}}} |size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}} }}
| image          = {{#if: {{{image|}}} | {{#invoke:InfoboxImage|InfoboxImage|image= {{{image}}} |size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}} }}
Line 46: Line 46:


| label1  = Event type
| label1  = Event type
|  data1  = {{#switch: {{lc: {{{type|}}} }} | war | wars = [[Event type::War]] | battle | battles = [[Event type::Battle]] | personal | personal event = [[Event type::Personal event]] | accident | accidents = [[Event type::Accident]] | disaster | disasters = [[Event type::Disaster]] | other | miscellaneous = [[Event type::Miscellaneous]] }}
|  data1  = {{Event type| {{{type|}}} }}


| label3 = Date
| label2 = Date
data3 = {{{date|}}}
data2 = {{{date|}}}


| label4 = Time
| label3 = Location
data4 = {{{time|}}}
data3 = {{if empty| {{{place|}}} | {{{Location|}}} | {{{location|}}} | {{{localization|}}} }}


| label5 = Duration
| label4 = Also known as
data5 = {{{duration|}}}
data4 = {{if empty| {{{also known as|}}} | {{{also_known_as|}}} | {{{AKA|}}} | {{{aka|}}} }}


| label6  = Venue
| label10 = Participants
data6  = {{{venue|}}}
data10 = {{{participants|}}}


| label7  = Location
| label11 = Visits
data7  = {{if empty| {{{place|}}} | {{{Location|}}} | {{{location|}}} }}
data11 = {{{visits|}}}


| label9  = Also known as
| label12 = Demands
data9  = {{if empty| {{{also known as|}}} | {{{also_known_as|}}} | {{{AKA|}}} | {{{aka|}}} }}
data12 = {{{demands|}}}


| label10 = Type
| label13 = Outcome
data10 = {{{type|}}}
data13 = {{if empty| {{{outcome|}}} | {{{result|}}} }}


| label11 = Theme
| label14 = Arrests
data11 = {{{theme|}}}
|  data14 = {{{arrests|}}}
 
| label12 = Cause
|  data12 = {{{cause|}}}
 
| label13    = Motive
| data13    = {{{motive|}}}
 
| label14    = Target
| data14     = {{{target|}}}
 
| label15 = {{#if:{{{reporter|}}}|Reporter|First reporter}}
|  data15 = {{#if:{{{reporter|}}}|{{{reporter|}}}|{{{first reporter| {{{first_reporter|}}} }}}}}
 
| label16 = Budget
|  data16 = {{{budget|}}}
 
| label17 = {{#if:{{{patrons|}}}|Patrons|Patron(s)}}
|  data17 = {{#if:{{{patrons|}}}|{{{patrons}}}|{{{patron|}}}}}
 
| label18 = {{#if:{{{organisers|}}}|Organised|Organized}} by
|  data18 = {{#if:{{{organisers|}}}|{{{organisers}}}|{{{organizers|}}}}}
 
| label19 = Filmed by
|  data19 = {{{filmed by| {{{filmed_by|}}}}}}
 
| label20 = Participants
|  data20 = {{{participants|}}}
 
| label21 = Outcome
|  data21 = {{#if: {{{outcome|}}} | {{{result|}}} }}


| header22 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}}
| header22 = {{#if:{{{casualties1|}}}{{{casualties2|}}}{{{casualties3|}}}|Casualties}}
Line 109: Line 79:


| label26 = Deaths
| label26 = Deaths
|  data26 = {{if empty| {{{reported deaths|}}} | {{{reported death(s)|}}} | {{{Deaths|}}} | {{{deaths|}}} |  {{{fatalities|}}} }}
|  data26 = {{if empty| {{{casualties|}}} }}


| label27 = Non-fatal injuries
| label27 = Wounded
|  data27 = {{{reported injuries|{{{injuries|}}} }}}
|  data27 = {{if empty| {{{wounded|}}} }}


| label28 = Missing
| label28 = Missing
|  data28 = {{{reported missing|{{{missing|}}}}}}
|  data28 = {{if empty| {{{missing|}}} }}
 
| label29 = Property damage
|  data29 = {{if empty| {{{reported property damage|}}} | {{{property damage|}}} | {{{property_damage|}}} }}
 
| label30 = Burial
|  data30 = {{{burial|}}}
 
| label31 = Inquiries
|  data31 = {{{inquiries|}}}
 
| label32 = Inquest
|  data32 = {{{inquest|}}}
 
| label33 = Coroner
|  data33 = {{{coroner|}}}
 
| label34 = Arrest(s)
|  data34 = {{{arrests|}}}
 
| label35 = Suspect(s)
|  data35 = {{{suspects|{{{susperps|}}} }}}
 
| label36 = Accused
|  data36 = {{{accused|}}}
 
| label37 = Convicted
|  data37 = {{{convicted|}}}
 
| label38 = Charges
|  data38 = {{{charges|}}}
 
| label39 = Trial
|  data39 = {{{trial|}}}
 
| label40 = Verdict
|  data40 = {{{verdict|}}}
 
| label41 = Convictions
|  data41 = {{{convictions|}}}
 
| label42 = Sentence
|  data42 = {{{sentence|}}}
 
| label43 = Publication bans
|  data43 = {{{publication bans|{{{publication_bans|}}}}}}
 
| label44 = Litigation
|  data44 = {{{litigation|}}}
 
| label45 = Awards
|  data45 = {{{awards|}}}
 
| label46 = Footage
|  data46 = {{{footage|{{{url|}}}}}}
 
| label47 = {{{blank_label}}}
|  data47 = {{#if:{{{blank_label|}}}|{{{blank_data|}}}}}
 
| label48 = {{{blank1_label}}}
|  data48 = {{#if:{{{blank1_label|}}}|{{{blank1_data|}}}}}


| label49 = {{{blank2_label}}}
| header40 = {{#if: {{{appearance|}}}{{{mention|}}} | Out of ''Stargate'' universe information }}
|  data49 = {{#if:{{{blank2_label|}}}|{{{blank2_data|}}}}}


| label50 = Website
|  data50 = {{{website|{{{URL|}}} }}}


| data51  = {{{module|}}}


| belowstyle = border-top: #aaa 1px solid;
| belowstyle = border-top: #aaa 1px solid;

Latest revision as of 15:07, 14 December 2020

Infobox Event
Event type Miscellaneous event
Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Syntax

{{Infobox Event
 | sort               = 
 | nocat              = 
 | spoiler            = 
 | separate           = 
 | SGI                =
 | category           = 
 | child              = 
 | title              = 
 | part of            = 
 | alternate timeline = 
 | alternate reality  = 
 | hallucination      = 
 | image              = 
 | image size         = 
 | alt                = 
 | caption            = 
 | type               = 
 | creation           = 
 | edition            = 
 | country            = 
 | location           = 
 | organizer          = 
 | date               = 
 | participant        = 
 | visits             = 
 | demands            = 
 | outcome            = 
 | arrests            = 
 | casualties         = 
 | wounded            = 
 | missing            = 
 | previous           = 
 | next               = 
}}