Template:Battle: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
mNo edit summary
mNo edit summary
Line 46: Line 46:
|-
|-
| colspan="2" cellpadding="0" cellspacing="0" style="margin:0; padding:0" |
| 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%"
{| cellspacing="0" cellpadding="4" style="border-width: 0px; width:100%"
|-
|-
{{#if: {{{side1|}}}|
{{#if: {{{side1|}}}|
Line 88: Line 88:
{{{commanders2}}}
{{{commanders2}}}
}}
}}
|-
{{#if: {{{commanders3|}}}|  
{{#if: {{{commanders3|}}}|  
{{!}} {{#if: {{{commanders4|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; text-align:left; font-size:smaller;"}}} {{!}}  
{{!}} {{#if: {{{commanders4|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; text-align:left; font-size:smaller;"}}} {{!}}  
Line 118: Line 117:
{{{forces2}}}
{{{forces2}}}
}}
}}
|-
{{#if: {{{forces3|}}}|  
{{#if: {{{forces3|}}}|  
{{!}} {{#if: {{{forces4|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; text-align:left; font-size:smaller;"}}} {{!}}  
{{!}} {{#if: {{{forces4|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; text-align:left; font-size:smaller;"}}} {{!}}  
Line 148: Line 146:
{{{casual2}}}
{{{casual2}}}
}}
}}
|-
{{#if: {{{casual3|}}}|  
{{#if: {{{casual3|}}}|  
{{!}} {{#if: {{{casual4|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; text-align:left; font-size:smaller;"}}} {{!}}  
{{!}} {{#if: {{{casual4|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}}" style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; text-align:left; font-size:smaller;"}}} {{!}}  

Revision as of 16:19, 17 August 2012

{{{name}}}
Information
[ Source ]

Usage

To use: Paste the following text into the desired character article, and fill in the appropriate fields.

{{Battle
| prev = 
| conc = 
| next = 
| image = 
| name = 
| conflict = (details about the conflict in question)
| objective = (for mission-based battles)
| date = 
| location = 
| participants = (for events)
| outcome = 
| side1 = 
| side2 = 
| side3 = 
| side4 = 
| side5 = 
| side6 = 
| commanders1 = 
| commanders2 = 
| commanders3 = 
| commanders4 = 
| commanders5 = 
| commanders6 = 
| forces1 = 
| forces2 = 
| forces3 = 
| forces4 = 
| forces5 = 
| forces6 = 
| casual1 = 
| casual2 = 
| casual3 = 
| casual4 = 
| casual5 = 
| casual6 = 
}}