Template:Battle: Difference between revisions

From Wikipedia of the Dark Brotherhood, an online Star Wars Club
mNo edit summary
mNo edit summary
Line 52: Line 52:
|-
|-
{{#if: {{{side1|}}}|  
{{#if: {{{side1|}}}|  
{{!}} 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%}}}};" {{!}}  
{{!}} style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}};" {{!}}  
{{{side1}}}
{{{side1}}}
}}
}}
{{#if: {{{side2|}}}|  
{{#if: {{{side2|}}}|  
{{!}} 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%}}}};" {{!}}  
{{!}} style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}};" {{!}}  
{{{side2}}}
{{{side2}}}
}}
}}
{{#if: {{{side3|}}}|  
{{#if: {{{side3|}}}|  
{{!}} 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%}}}};" {{!}}  
{{!}} style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}};" {{!}}  
{{{side3}}}
{{{side3}}}
}}
}}
{{#if: {{{side4|}}}|  
{{#if: {{{side4|}}}|  
{{!}} 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%}}}};" {{!}}  
{{!}} style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; vertical-align:top; font-size:smaller; width:{{#if:{{{side4|}}}|25%|{{#if:{{{side3|}}}|33%|50%}}}};" {{!}}  
{{{side4}}}
{{{side4}}}
}}
}}
|-
|-
{{#if: {{{side5|}}}|  
{{#if: {{{side5|}}}|  
{{!}} 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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{side5}}}
{{{side5}}}
}}
}}
{{#if: {{{side6|}}}|  
{{#if: {{{side6|}}}|  
{{!}} 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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{side6}}}
{{{side6}}}
}}
}}
Line 81: Line 81:
|-
|-
{{#if: {{{commanders1|}}}|  
{{#if: {{{commanders1|}}}|  
{{!}} {{#if: {{{commanders2|}}}| |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: {{{commanders2|}}}| |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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{commanders1}}}
{{{commanders1}}}
}}
}}
{{#if: {{{commanders2|}}}|  
{{#if: {{{commanders2|}}}|  
{{!}} 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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{commanders3}}}
{{{commanders3}}}
}}
}}
{{#if: {{{commanders4|}}}|  
{{#if: {{{commanders4|}}}|  
{{!}} 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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{commanders4}}}
{{{commanders4}}}
}}
}}
|-
|-
{{#if: {{{commanders5|}}}|  
{{#if: {{{commanders5|}}}|  
{{!}} {{#if: {{{commanders6|}}}| |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;"}}} {{!}}  
{{!}} {{#if: {{{commanders6|}}}| |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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{commanders5}}}
{{{commanders5}}}
}}
}}
{{#if: {{{commanders6|}}}|  
{{#if: {{{commanders6|}}}|  
{{!}} 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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{commanders6}}}
{{{commanders6}}}
}}
}}
Line 110: Line 110:
|-
|-
{{#if: {{{forces1|}}}|  
{{#if: {{{forces1|}}}|  
{{!}} {{#if: {{{forces2|}}}| |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: {{{forces2|}}}| |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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{forces1}}}
{{{forces1}}}
}}
}}
{{#if: {{{forces2|}}}|  
{{#if: {{{forces2|}}}|  
{{!}} 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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{forces3}}}
{{{forces3}}}
}}
}}
{{#if: {{{forces4|}}}|  
{{#if: {{{forces4|}}}|  
{{!}} 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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{forces4}}}
{{{forces4}}}
}}
}}
|-
|-
{{#if: {{{forces5|}}}|  
{{#if: {{{forces5|}}}|  
{{!}} {{#if: {{{forces6|}}}| |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;"}}} {{!}}  
{{!}} {{#if: {{{forces6|}}}| |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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{forces5}}}
{{{forces5}}}
}}
}}
{{#if: {{{forces6|}}}|  
{{#if: {{{forces6|}}}|  
{{!}} 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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{forces6}}}
{{{forces6}}}
}}
}}
Line 139: Line 139:
|-
|-
{{#if: {{{casual1|}}}|  
{{#if: {{{casual1|}}}|  
{{!}} {{#if: {{{casual2|}}}| |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: {{{casual2|}}}| |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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{casual1}}}
{{{casual1}}}
}}
}}
{{#if: {{{casual2|}}}|  
{{#if: {{{casual2|}}}|  
{{!}} 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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{casual3}}}
{{{casual3}}}
}}
}}
{{#if: {{{casual4|}}}|  
{{#if: {{{casual4|}}}|  
{{!}} 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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{casual4}}}
{{{casual4}}}
}}
}}
|-
|-
{{#if: {{{casual5|}}}|  
{{#if: {{{casual5|}}}|  
{{!}} {{#if: {{{casual6|}}}| |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;"}}} {{!}}  
{{!}} {{#if: {{{casual6|}}}| |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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{casual5}}}
{{{casual5}}}
}}
}}
{{#if: {{{casual6|}}}|  
{{#if: {{{casual6|}}}|  
{{!}} 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; vertical-align:top; font-size:smaller;"}}} {{!}}  
{{{casual6}}}
{{{casual6}}}
}}
}}

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