Template:Infobox Military conflict: Difference between revisions
No edit summary |
mNo edit summary |
||
(11 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]] | ||
| | | | ||
}}<!-- | }}<!-- | ||
Line 35: | Line 35: | ||
| subheaderstyle4 = background-color: #c9c9c9; | | subheaderstyle4 = background-color: #c9c9c9; | ||
| title = | | title = | ||
| above = | | 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 52: | Line 52: | ||
| datastyle = | | datastyle = | ||
| label1 = | | label1 = Event type | ||
| data1 = {{{ | | data1 = {{event type| {{{type|Battle}}} }} | ||
| label2 = | | label2 = Date | ||
}}<noinclude>{{documentation}}</noinclude> | | 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 15: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. |