|
|
| (14 intermediate revisions by 6 users not shown) |
| Line 1: |
Line 1: |
| {| id="Mission" class="infobox hidable" style="border-width: 0px; padding: 0px; width: auto;"
| | <infobox> |
| |
| | <group row-items="2"> |
| {| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px; width:{{#if:{{{width|}}}|{{{width}}}|{{#if:{{{side4|}}}|350px|{{#if:{{{side3|}}}|300px|300px}}}}}};"
| | <data source="prev"><label>Previous</label></data> |
| |-
| | <data source="next"><label>Next</label></data> |
| {{#if:{{{prev|}}}|
| | </group> |
| {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Previous
| | <group row-items="2"> |
| {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| | <data source="conc"><label>Concurrent</label></data> |
| {{{prev|}}}
| | </group> |
| {{!}}-|}}
| | <image source="image"/> |
| {{#if:{{{conc|}}}|
| | <title source="name"><default>{{PAGENAME}}</default></title> |
| {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Concurrent
| | <data source="conflict"><label>Conflict</label></data> |
| {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| | <data source="objective"><label>Objective</label></data> |
| {{{conc|}}}
| | <data source="date"><label>Date</label></data> |
| {{!}}-|}}
| | <data source="place"><label>Place</label></data> |
| {{#if:{{{next|}}}|
| | <data source="result"><label>Outcome</label></data> |
| {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Next
| | <group row-items="4"> |
| {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| | <header>Factions</header> |
| {{{next|}}}
| | <data source="side1"/> |
| {{!}}-|}}
| | <data source="side2"/> |
| ! class="infoboxheading" colspan="2" style="background: #E5E4E2;" | {{{{{{2|name}}}}}}
| | <data source="side3"/> |
| |-
| | <data source="side4"/> |
| | class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|background: #F4F0EC}}" | {{{image|}}}
| | </group> |
| |-
| | <group row-items="4"> |
| {{#if:{{{conflict|}}}|
| | <header>Commanders</header> |
| {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Conflict
| | <data source="commanders1"/> |
| {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| | <data source="commanders2"/> |
| {{{conflict|}}}
| | <data source="commanders3"/> |
| {{!}}-|}}
| | <data source="commanders4"/> |
| {{#if:{{{objective|}}}|
| | </group> |
| {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Objective
| | <group row-items="4"> |
| {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| | <header>Participants</header> |
| {{{objective|}}}
| | <data source="ppl1"/> |
| {{!}}-|}}
| | <data source="ppl2"/> |
| {{#if:{{{date|}}}|
| | <data source="ppl3"/> |
| {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Date
| | <data source="ppl4"/> |
| {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| | </group> |
| {{{date|}}}
| | <group row-items="4"> |
| {{!}}-|}}
| | <header>Casualties</header> |
| {{#if:{{{place|}}}|
| | <data source="casual1"/> |
| {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Place
| | <data source="casual2"/> |
| {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| | <data source="casual3"/> |
| {{{place|}}}
| | <data source="casual4"/> |
| {{!}}-|}}
| | </group> |
| {{#if:{{{result|}}}|
| | <data source="civilian"><label>Civilian casualties</label></data> |
| {{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Outcome
| | </infobox><noinclude>{{Clear}}{{documentation}}</noinclude> |
| {{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{result|}}}
| |
| {{!}}-|}}
| |
| | colspan="2" cellpadding="0" cellspacing="0" style="margin:0; padding:0" |
| |
| {| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px; width:100%"
| |
| |-
| |
| {{#ifexpr:{{#if:{{{side1|}}}|1|0}} or {{#if:{{{side2|}}}|1|0}} or {{#if:{{{side3|}}}|1|0}} or {{#if:{{{side4|}}}|1|0}}|
| |
| ! class="infoboxsubheading" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|B4C5E3}}" {{!}} '''Factions'''
| |
| {{!}}-
| |
| {{!}} class="infoboxcell" style="vertical-align:top; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{side1|}}}
| |
| {{!}} class="infoboxcell" style="border-left:1px solid #999999; vertical-align:top; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{side2|}}}
| |
| {{#if:{{{side3|}}}|
| |
| {{!}} class="infoboxcell" style="border-left:1px solid #999999; vertical-align:top; width:{{#if:{{{side4|}}}|25%|}}; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{side3|}}}
| |
| {{#if:{{{side4|}}}|
| |
| {{!}} class="infoboxcell" style="border-left:1px solid #999999; vertical-align:top; width:25%; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{side4|}}}
| |
| |}}|}}
| |
| {{!}}-|}}
| |
| {{#ifexpr:{{#if:{{{commanders1|}}}|1|0}} or {{#if:{{{commanders2|}}}|1|0}} or {{#if:{{{commanders3|}}}|1|0}} or {{#if:{{{commanders4|}}}|1|0}}|
| |
| ! class="infoboxsubheading" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|B4C5E3}}" {{!}} '''Commanders'''
| |
| {{!}}-
| |
| {{!}} class="infoboxcell" style="vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{commanders1|}}}
| |
| {{!}} class="infoboxcell" style="border-left:1px solid #999999; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{commanders2|}}}
| |
| {{#if:{{{side3|}}}|
| |
| {{!}} class="infoboxcell" style="border-left:1px solid #999999; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{commanders3|}}}
| |
| {{#if:{{{side4|}}}|
| |
| {{!}} class="infoboxcell" style="border-left:1px solid #999999; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{commanders4|}}}
| |
| |}}|}}
| |
| {{!}}-|}}
| |
| {{#ifexpr:{{#if:{{{ppl1|}}}|1|0}} or {{#if:{{{ppl2|}}}|1|0}} or {{#if:{{{ppl3|}}}|1|0}} or {{#if:{{{ppl4|}}}|1|0}}|
| |
| ! class="infoboxsubheading" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|B4C5E3}}" {{!}} '''Participants'''
| |
| {{!}}-
| |
| {{!}} class="infoboxcell" style="vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{ppl1|}}}
| |
| {{!}} class="infoboxcell" style="border-left:1px solid #999999; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{ppl2|}}}
| |
| {{#if:{{{side3|}}}|
| |
| {{!}} class="infoboxcell" style="border-left:1px solid #999999; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{ppl3|}}}
| |
| {{#if:{{{side4|}}}|
| |
| {{!}} class="infoboxcell" style="border-left:1px solid #999999; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{ppl4|}}}
| |
| |}}|}}
| |
| {{!}}-|}}
| |
| {{#ifexpr:{{#if:{{{casual1|}}}|1|0}} or {{#if:{{{casual2|}}}|1|0}} or {{#if:{{{casual3|}}}|1|0}} or {{#if:{{{casual4|}}}|1|0}}|
| |
| ! class="infoboxsubheading" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|B4C5E3}}" {{!}} '''Casualties'''
| |
| {{!}}-
| |
| {{!}} class="infoboxcell" style="vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{casual1|}}}
| |
| {{!}} class="infoboxcell" style="border-left:1px solid #999999; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{casual2|}}}
| |
| {{#if:{{{side3|}}}|
| |
| {{!}} class="infoboxcell" style="border-left:1px solid #999999; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{casual3|}}}
| |
| {{#if:{{{side4|}}}|
| |
| {{!}} class="infoboxcell" style="border-left:1px solid #999999; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{casual4|}}}
| |
| |}}|}}
| |
| {{!}}-|}}
| |
| {{#if:{{{civilian|}}}|
| |
| ! class="infoboxsubheading" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="text-align: center; background: #{{#if:{{{BG2|}}}|{{{BG2}}}|B4C5E3}}" {{!}} '''Civilian casualties'''
| |
| {{!}}-
| |
| {{!}} class="infoboxcell" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="text-align: center; vertical-align:top; {{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
| |
| {{{civilian|}}}
| |
| {{!}}-|}}
| |
| |}
| |
| |}
| |
| <div class="infoboxfooter plainlinks" style="text-align: center; background: #E5E4E2"><span class="hidable-button"></span>[[{{{srclink|Template:Mission}}}|[Source]]]</div>{{Rb|#7995CA}} | |
| |}<noinclude>{{Eras|sprot}}
| |
| For battles, use [[Template:Battle]].
| |
| | |
| For wars or other conflicts, use [[Template:War]].
| |
| | |
| For missions, use [[Template:Mission]].
| |
| | |
| For duels, use [[Template:Duel]].
| |
| | |
| For campaigns, use [[Template:Campaign]].
| |
| | |
| For general events, use [[Template:Event]].
| |
| {{Clear}}
| |
| ===Usage=== | |
| To use this template, paste the following code into the top of the article, filling all relevant fields:
| |
| <pre><nowiki>{{Mission
| |
| |prev=
| |
| |conc=
| |
| |next=
| |
| |name=
| |
| |imageBG=
| |
| |image=
| |
| |conflict=
| |
| |objective=
| |
| |date=
| |
| |place=
| |
| |result=
| |
| |BG2=
| |
| |side1=
| |
| |side2=
| |
| |side3=
| |
| |side4=
| |
| |commanders1=
| |
| |commanders2=
| |
| |commanders3=
| |
| |commanders4=
| |
| |ppl1=
| |
| |ppl2=
| |
| |ppl3=
| |
| |ppl4=
| |
| |casual1=
| |
| |casual2=
| |
| |casual3=
| |
| |casual4=
| |
| |civilian=}}</nowiki></pre>
| |
| | |
| <center><div style="border:1px solid; padding: 3px 0px; background: white"><small>The contents of this page were based partially or completely from a [http://starwars.wikia.com/wiki/Wookieepedia:Template:Mission similar] at [http://starwars.wikia.com/wiki/Main_Page Wookiepedia.]</small></div>
| |
| | |
| [[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
| |