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|}}}|  
{{!}} 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;"}}} {{!}}  
{{!}} 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; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}};" {{!}}  
{{{side1}}}
{{{side1}}}
}}
}}
{{#if: {{{side2|}}}|  
{{#if: {{{side2|}}}|  
{{!}} 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;"}}} {{!}}  
{{!}} 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; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}};" {{!}}  
{{{side2}}}
{{{side2}}}
}}
}}
|-
|-
{{#if: {{{side3|}}}|  
{{#if: {{{side3|}}}|  
{{!}} 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;"}}} {{!}}  
{{!}} 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; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}};" {{!}}  
{{{side3}}}
{{{side3}}}
}}
}}
{{#if: {{{side4|}}}|  
{{#if: {{{side4|}}}|  
{{!}} 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;"}}} {{!}}  
{{!}} 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; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}};" {{!}}  
{{{side4}}}
{{{side4}}}
}}
}}

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