Template:Infobox Military conflict: Difference between revisions

From Semantic Stargate Wiki
No edit summary
No edit summary
Line 35: Line 35:
  | subheaderstyle4 = background-color: #c9c9c9;
  | subheaderstyle4 = background-color: #c9c9c9;
  | title          =  
  | title          =  
  | above          = [[Name::{{#if:{{{title|{{{name|{{{conflict|}}}}}}}}} | {{{title|{{{name|{{{conflict|}}}}}}}}} | {{PAGENAME}} }}]]
  | above          = {{#if:{{{title|{{{name|{{{conflict|}}}}}}}}} | {{{title|{{{name|{{{conflict|}}}}}}}}} | {{PAGENAME}} }}
  | subheader      = {{#if: {{{part of|}}} | Part of {{{part of|}}} }}
  | subheader      = {{#if: {{{part of|}}} | Part of {{{part of|}}} }}
  | subheader2      = {{#if: {{{alternate timeline|}}} | This military conflict is part of an [[Item part of::alternate timeline]] }}
  | subheader2      = {{#if: {{{alternate timeline|}}} | This military conflict is part of an [[Item part of::alternate timeline]] }}
Line 87: Line 87:
  | data19          = {{#if: {{{military1|}}} | {{Infobox/table | {{{military1|}}} | {{{military2|}}} | {{#if: {{{combatant3|}}} | {{{military3|}}} }} | {{#if: {{{combatant4|}}} | {{{military4|}}} }} }} }}
  | data19          = {{#if: {{{military1|}}} | {{Infobox/table | {{{military1|}}} | {{{military2|}}} | {{#if: {{{combatant3|}}} | {{{military3|}}} }} | {{#if: {{{combatant4|}}} | {{{military4|}}} }} }} }}


}}<noinclude>{{documentation}}</noinclude>
| header20        = {{#if: {{{casualties1|}}} | Casualties and losses }}
 
| data21          = {{#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}} }}<noinclude>{{documentation}}</noinclude>

Revision as of 12:24, 23 May 2021

Infobox Military conflict
Type Battle
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         = 
}}