Template:Battle: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
mNo edit summary
mNo edit summary
Line 49: Line 49:
|-
|-
{{#if: {{{side1|}}}|  
{{#if: {{{side1|}}}|  
{{!}} {{#if: {{{side2|}}}| |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;"}}} {{!}}  
{{!}} 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;"}}} {{!}}  
{{{side1}}}
{{{side1}}}
}}
}}
Line 58: Line 58:
|-
|-
{{#if: {{{side3|}}}|  
{{#if: {{{side3|}}}|  
{{!}} {{#if: {{{side4|}}}| |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;"}}} {{!}}  
{{!}} 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;"}}} {{!}}  
{{{side3}}}
{{{side3}}}
}}
}}
Line 67: Line 67:
|-
|-
{{#if: {{{side5|}}}|  
{{#if: {{{side5|}}}|  
{{!}} {{#if: {{{side6|}}}| |colspan=2}} bgcolor={{{bgcolor_value|#222222; width="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;"}}} {{!}}  
{{!}} bgcolor={{{bgcolor_value|#222222; width="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;"}}} {{!}}  
{{{side5}}}
{{{side5}}}
}}
}}

Revision as of 16:00, 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 = 
}}