Template:Infobox Military conflict: Difference between revisions

From Semantic Stargate Wiki
(Created page with "<includeonly><div display="none">{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}<!-- -->{{#if: {{{nocat|}}} | |<!-- -->{{#ifeq: {{{spoiler|}}} | true |...")
 
mNo edit summary
 
(14 intermediate revisions by the same user not shown)
Line 10: Line 10:
       | User  
       | User  
       | [[Category:Stargate Wiki contributors]]  
       | [[Category:Stargate Wiki contributors]]  
       | [[Category:Military conflict]]
       | [[Category:Events]]
       }}
       }}
     }}{{#ifeq:{{{spoiler|}}}
     }}{{#ifeq:{{{spoiler|}}}
Line 16: Line 16:
         | {{spoiler}}
         | {{spoiler}}
         |<!--  
         |<!--  
     --><!--  
     -->{{#if: {{{separate|}}}{{{SGI|}}}
        | {{Separate continuity|category={{{category|}}}}}[[Category:Events part of a separate continuity]]
        |
        }}<!--  
     -->}}<!--  
     -->}}<!--  
  -->}}</div>{{Infobox
  -->}}</div>{{Infobox
| name           = {{subst:PAGENAME}}
| name           = Infobox Military conflict
| child         = {{{child|}}}
| child           = {{{child|}}}
| subbox         = {{{subbox|}}}
| subbox         = {{{subbox|}}}
| italic title   = {{{italic title|no}}}
| italic title   = no
| bodystyle     =  
| bodystyle       =  


| titlestyle     =  
| titlestyle     =  
| abovestyle     =  
| abovestyle     =  
| subheaderstyle =  
| subheaderstyle = text-align: center; background-color: #E1E1E1; font-weight: bold;
| title         =  
| subheaderstyle2 = background-color: #c9c9c9;
| above         =  
| subheaderstyle3 = background-color: #c9c9c9;
| subheader      =  
| subheaderstyle4 = background-color: #c9c9c9;
| title           =  
| above           = {{#if:{{{title|{{{name|{{{conflict|}}}}}}}}} | {{{title|{{{name|{{{conflict|}}}}}}}}} | {{PAGENAME}} }}
| subheader       = {{#if: {{{part of|}}} | Part of {{{part of|}}} }}
| subheader2      = {{#if: {{{alternate timeline|}}} | This military conflict is part of an [[Item part of::alternate timeline]] }}
| subheader3      = {{#if: {{{alternate reality|}}} | This military conflict is part of an [[Item part of::alternate reality]] }}
| subheader4     = {{#if: {{{hallucination|}}} | This military conflict is part of an [[Item part of::hallucination]] }}


|   imagestyle   =  
| imagestyle     =  
| captionstyle   =  
| captionstyle   =  
|   image       =  
| image           = {{#if: {{{image|}}} | {{#invoke:InfoboxImage|InfoboxImage|image= {{{image}}} |size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}} }}
| caption       =  
| caption         = {{{caption|{{{legend|}}}}}}
|   image2       =  
| image2         =  
| caption2       =  
| caption2       =  


| headerstyle   =  
| headerstyle     = background-color: #E1E1E1;
| labelstyle   =  
| labelstyle     = vertical-align: top; text-align: left;
|   datastyle   =
| datastyle       =  
| header1  =
|  label1  =
|  data1  =
| header2  =
|  label2  =
|  data2  =
| header3  =
|  label3  =
|  data3  =
| header4  =
|  label4  =
|  data4  =
| header5  =
|  label5  =
|  data5  =
| header6  =
|  label6  =
|  data6  =
| header7  =
|  label7  =
|  data7  =
| header8  =
|  label8  =
|  data8  =
| header9  =
|  label9  =
|  data9  =
| header10 =
|  label10 =
|  data10 =
| header11 =
|  label11 =
|  data11 =
| header12 =
|  label12 =
|  data12 =
| header13 =
|  label13 =
|  data13 =
| header14 =
|  label14 =
|  data14 =
| header15 =
|  label15 =
|  data15 =
| header16 =
|  label16 =
|  data16 =
| header17 =
|  label17 =
|  data17 =
| header18 =
|  label18 =
|  data18 =
| header19 =
|  label19 =
|  data19 =
| header20 =
|  label20 =
|  data20 =  


| belowstyle    =  
| label1          = Event type
| below         =  
| data1          = {{event type| {{{type|Battle}}} }}
}}</includeonly><noinclude>{{Documentation}}</noinclude>
 
| label2          = Date
| data2          = {{{date|}}}
 
| label3          = Location
| data3          = {{{place|}}}
 
| label4          = {{#if: {{{status|}}} | Status | Result }}
| data4          = {{if empty | {{{status|}}} | {{{result|}}} }}
 
| label5          = Territorial<br />changes
| data5          = {{{territory|}}}
 
| header10        = {{#if: {{{combatant1|}}} | {{#if: {{{combatants header|}}} | {{{combatants header|}}} | Belligerents }} }}
 
| data11          = {{#if: {{{combatant1|}}} | {{Infobox/table | {{{combatant1|}}} | {{{combatant2|}}} | {{{combatant3|}}} | {{{combatant4|}}} }} }}
 
| header12        = {{#if: {{{commander1|}}} | Commanders and leaders }}
 
| data13          = {{#if: {{{commander1|}}} | {{Infobox/table | {{{commander1|}}} | {{{commander2|}}} | {{#if: {{{combatant3|}}} | {{{commander3|}}} }} | {{#if: {{{combatant4|}}} | {{{commander4|}}} }} }} }}
 
| header14        = {{#if: {{{units1|}}} | Units involved }}
 
| data15          = {{#if: {{{units1|}}} | {{Infobox/table | {{{units1|}}} | {{{units2|}}} | {{#if: {{{combatant3|}}} | {{{units3|}}} }} | {{#if: {{{combatant4|}}} | {{{units4|}}} }} }} }}
 
| header16        = {{#if: {{{strength1|}}} | Strength }}
 
| data17          = {{#if: {{{strength1|}}} | {{Infobox/table | {{{strength1|}}} | {{{strength2|}}} | {{#if: {{{combatant3|}}} | {{{strength3|}}} }} | {{#if: {{{combatant4|}}} | {{{strength4|}}} }} }} }}
 
| header18        = {{#if: {{{political1|}}} | Political support }}
 
| data19          = {{#if: {{{political1|}}} | {{Infobox/table | {{{political1|}}} | {{{political2|}}} | {{#if: {{{combatant3|}}} | {{{political3|}}} }} | {{#if: {{{combatant4|}}} | {{{political4|}}} }} }} }}
 
| header20        = {{#if: {{{military1|}}} | Military support }}
 
| data21         = {{#if: {{{military1|}}} | {{Infobox/table | {{{military1|}}} | {{{military2|}}} | {{#if: {{{combatant3|}}} | {{{military3|}}} }} | {{#if: {{{combatant4|}}} | {{{military4|}}} }} }} }}
 
| header22        = {{#if: {{{casualties1|}}} | Casualties and losses }}
 
| data23          = {{#if: {{{casualties1|}}} | {{Infobox/table | {{{casualties1|}}} | {{{casualties2|}}} | {{#if: {{{combatant3|}}} | {{{casualties3|}}} }} | {{#if: {{{combatant4|}}} | {{{casualties4|}}} }} }} }}
 
| header30        = {{#if: {{{concurrent|}}}{{{prev|}}}{{{next|}}} | Chronology }}
 
| label31        = Concurrent
| data31          = {{{concurrent|}}}
 
| data32        = {{#if: {{{prev|}}}{{{next|}}} | {{Infobox/succession
| {{#if: {{{prev|}}} | {{{prev|}}} }}
|
| {{#if: {{{next|}}} | {{{next|}}} }}
}}
}}
 
| header40        = {{#if: {{{appearance|}}}{{{mention|}}} | Out of ''Stargate'' universe information }}
 
| label41        = First mention
| data41          = {{{mention|}}}
 
| label42        = First appearance
| data42          = {{{appearance|}}}
 
}}<!--
 
Retrieving the "name" property from the infobox
 
-->{{#if: {{{title|{{{name|{{{conflict|}}}}}}}}} | {{#set: name = {{{title|{{{name|{{{conflict|}}}}}}}}} }} | {{#set: name = {{PAGENAME}} }} }}<!--
 
Retrieving the "infobox image" from the template
 
-->{{#if: {{{image|}}} | {{#set: Infobox image = {{{image|}}} }} }}<!--
 
Defining the canonicity of the event
 
-->{{#set: Canon event = {{#if:{{{separate|}}}|no|yes}} }}</includeonly><noinclude>{{documentation}}</noinclude>

Latest revision as of 14:16, 23 May 2021

Documentation icon Template documentation[view] [edit] [history] [purge]

Usage

Syntax

{{Infobox Military conflict
 | sort               = 
 | nocat              = 
 | spoiler            = 
 | separate           = 
 | category           = 
 | child              = 
 | subbox             = 
 | conflict           = 
 | part of            = 
 | alternate timeline = 
 | alternate reality  = 
 | hallucination      = 
 | image              = 
 | image_size         =
 | alt                =
 | caption            = 
 | type               = 
 | date               = 
 | place              = 
 | territory          = 
 | result             = 
 | status             = 
 | combatants header  = 
 | combatant1         = 
 | combatant2         = 
 | combatant3         = 
 | commander1         = 
 | commander2         = 
 | commander3         = 
 | units1             = 
 | units2             = 
 | units3             = 
 | strength1          = 
 | strength2          = 
 | strength3          = 
 | political1         = 
 | political2         = 
 | political3         = 
 | military1          = 
 | military2          = 
 | military3          = 
 | casualties1        = 
 | casualties2        = 
 | casualties3        = 
 | concurrent         = 
 | prev               = 
 | next               = 
 | mention            = 
 | appearance         = 
}}