Template:Infobox Military conflict: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
mNo edit summary |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div display="none">{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}<!-- |
<includeonly><div display="none">{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}<!-- |
||
-->{{#if: {{{nocat|}}} |
-->{{#if: {{{nocat|}}} |
||
| |
| |
||
| Line 10: | Line 10: | ||
| User |
| User |
||
| [[Category:Stargate Wiki contributors]] |
| [[Category:Stargate Wiki contributors]] |
||
| [[Category: |
| [[Category:Events]] |
||
}} |
}} |
||
}}{{#ifeq:{{{spoiler|}}} |
}}{{#ifeq:{{{spoiler|}}} |
||
| Line 17: | Line 17: | ||
|<!-- |
|<!-- |
||
-->{{#if: {{{separate|}}}{{{SGI|}}} |
-->{{#if: {{{separate|}}}{{{SGI|}}} |
||
| {{Separate continuity|category={{{category|}}}}}[[Category: |
| {{Separate continuity|category={{{category|}}}}}[[Category:Events part of a separate continuity]] |
||
| |
| |
||
}}<!-- |
}}<!-- |
||
-->}}<!-- |
-->}}<!-- |
||
-->}}</div>{{Infobox |
-->}}</div>{{Infobox |
||
| name = Infobox Military conflict |
| name = Infobox Military conflict |
||
| child = {{{child|}}} |
| child = {{{child|}}} |
||
| subbox = {{{subbox|}}} |
| subbox = {{{subbox|}}} |
||
| italic title = no |
| italic title = no |
||
| bodystyle = |
| bodystyle = |
||
| titlestyle = |
| titlestyle = |
||
| abovestyle = |
| abovestyle = |
||
| subheaderstyle = background-color: # |
| subheaderstyle = text-align: center; background-color: #E1E1E1; font-weight: bold; |
||
| subheaderstyle2 = background-color: #c9c9c9; |
|||
| ⚫ | |||
| subheaderstyle3 = background-color: #c9c9c9; |
|||
| ⚫ | |||
| subheaderstyle4 = background-color: #c9c9c9; |
|||
| ⚫ | |||
| ⚫ | |||
| ⚫ | |||
| |
| above = {{#if:{{{title|{{{name|{{{conflict|}}}}}}}}} | {{{title|{{{name|{{{conflict|}}}}}}}}} | {{PAGENAME}} }} |
||
| subheader = {{#if: {{{part of|}}} | Part of {{{part of|}}} }} |
|||
| ⚫ | |||
| ⚫ | |||
| subheader4 = {{#if: {{{hallucination|}}} | This military conflict is part of an [[Item part of::hallucination]] }} |
|||
| imagestyle = |
| imagestyle = |
||
| captionstyle = |
| captionstyle = |
||
| 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|}}}}} }} |
||
| caption = {{{caption|{{{legend|}}}}}} |
| caption = {{{caption|{{{legend|}}}}}} |
||
| image2 = |
| image2 = |
||
| caption2 = |
| caption2 = |
||
| headerstyle = background-color: #E1E1E1; |
| headerstyle = background-color: #E1E1E1; |
||
| labelstyle = vertical-align: top; text-align: left; |
| labelstyle = vertical-align: top; text-align: left; |
||
| datastyle = |
| datastyle = |
||
}}<noinclude>{{documentation}}</noinclude> |
|||
| label1 = Event type |
|||
| data1 = {{event type| {{{type|Battle}}} }} |
|||
| 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 |
|||
| ⚫ | |||
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 20:16, 23 May 2021
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 =
}}
| The above documentation is transcluded from Template:Infobox Military conflict/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |