Template:Infobox military operation: Difference between revisions

Jump to navigation Jump to search
imported>SharabSalam
(Reverted 1 edit by 207566versant (talk): Ruined the infobox (TW))
imported>Bonthefox3
No edit summary
Line 11: Line 11:
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
|caption = {{{caption|}}}
|caption = {{{caption|}}}
|image2 = {{#if:{{{map_type|}}}|
{{Location map|{{{map_type}}}|coordinates={{if empty|{{{map_coord|}}} | {{{coordinates|}}} }}|width={{{map_size|}}}|float=center|border=infobox|label={{{map_label|}}}|caption={{{map_caption|Location within {{#invoke:Location map|data|{{{map_type}}}|name}} }}} }}
}}


| label1 = {{#if:{{{scope|}}}|Operational scope|Type}}
| label1 = {{#if:{{{scope|}}}|Operational scope|Type}}
Line 54: Line 51:
  |2 = {{#if:{{{injuries|}}}|{{{injuries|}}} injured}}
  |2 = {{#if:{{{injuries|}}}|{{{injuries|}}} injured}}
  }} }}
  }} }}
| header27 = {{#if:{{{map_type|}}}|<nowiki />}}
| data28 = {{#if:{{{map_type|}}}
| {{#if:{{{map_type|}}}|
{{Location map|{{{map_type}}}|coordinates={{if empty|{{{map_coord|}}} | {{{coordinates|}}} }}|width={{{map_size|}}}|float=center|border=infobox|label={{{map_label|}}}|caption={{{map_caption|Location within {{#invoke:Location map|data|{{{map_type}}}|name}} }}} }}
}}


}}{{{campaignbox|}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox military operation with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox military operation]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | campaignbox | caption | casualties | commanded_by | conflict | coordinates | date | executed | executed_by | fatalities | image | image_size | image_upright | injuries | instigator | location | map_caption | map_coord | map_label | map_size | map_type | name | objective | outcome | partof | planned | planned_by | scope | target | time | time-begin | time-end | timezone | title | type }}<noinclude>
}}{{{campaignbox|}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox military operation with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox military operation]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | campaignbox | caption | casualties | commanded_by | conflict | coordinates | date | executed | executed_by | fatalities | image | image_size | image_upright | injuries | instigator | location | map_caption | map_coord | map_label | map_size | map_type | name | objective | outcome | partof | planned | planned_by | scope | target | time | time-begin | time-end | timezone | title | type }}<noinclude>
{{template doc}}
{{template doc}}
</noinclude>
</noinclude>

Revision as of 08:27, 30 October 2019

{{infobox |bodyclass = vevent |bodystyle = width:25.5em;border-spacing:2px; |abovestyle = background-color:#C3D6EF;text-align:center;vertical-align:middle;font-size:110%; |aboveclass = summary |above = Infobox military operation |subheaderstyle = background-color:#DCDCDC;text-align:center;vertical-align:middle; |subheader = |labelstyle = padding-right: 1em; |imagestyle = text-align:center;border-bottom:1px solid #aaa;line-height:1.5em; |image = |caption =

| label1 = Type | data1 =

| label2 = Location | data2 =

| label3 = Planned | data3 =

| label4 = Planned by | data4 =

| label5 = Commanded by | data5 =

| label6 = Objective | data6 =

| label7 = Date | data7 =

| label8 = Executed by | data8 =

| label9 = Outcome | data9 =

| label10 = Casualties | data10 =

| header27 = | data28 = Template:Template doc