Jump to content

Template:Infobox Military conflict: Difference between revisions

From Semantic Stargate Wiki
Content deleted Content added
Replaced content with "<includeonly>{{#invoke:Infobox military conflict|main}}</includeonly><noinclude>{{documentation}}</noinclude>"
Tag: Replaced
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div display="none">{{DEFAULTSORT:{{{sort|{{PAGENAME}}}}}}}<!--
<includeonly>{{#invoke:Infobox military conflict|main}}</includeonly><noinclude>{{documentation}}</noinclude>
-->{{#if: {{{nocat|}}}
|
|<!--
-->{{#ifeq: {{{spoiler|}}}
| true
| [[Category:Spoilers]]
|<!--
-->{{#ifeq:{{NAMESPACE}}
| User
| [[Category:Stargate Wiki contributors]]
| [[Category:Events]]
}}
}}{{#ifeq:{{{spoiler|}}}
| true
| {{spoiler}}
|<!--
-->{{#if: {{{separate|}}}{{{SGI|}}}
| {{Separate continuity|category={{{category|}}}}}[[Category:Events part of a separate continuity]]
|
}}<!--
-->}}<!--
-->}}</div>{{Infobox
| name = Infobox Military conflict
| child = {{{child|}}}
| subbox = {{{subbox|}}}
| italic title = no
| bodystyle =

| titlestyle =
| abovestyle =
| subheaderstyle = text-align: center; background-color: #E1E1E1; font-weight: bold;
| subheaderstyle2 = background-color: #c9c9c9;
| subheaderstyle3 = background-color: #c9c9c9;
| 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 =
| captionstyle =
| image = {{#if: {{{image|}}} | {{#invoke:InfoboxImage|InfoboxImage|image= {{{image}}} |size={{{image size|330}}}|sizedefault=frameless|alt={{{alt|}}}}} }}
| caption = {{{caption|{{{legend|}}}}}}
| image2 =
| caption2 =

| headerstyle = background-color: #E1E1E1;
| labelstyle = vertical-align: top; text-align: left;
| datastyle =

| 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

-->{{#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 20: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         = 
}}