Difference between revisions of "Template:Infobox war"

From Taijitu
Jump to: navigation, search
(Created page with '{| align=right cellpadding=4 cellspacing=0 width=300 class="infobox" style="margin: 0 0 1em 1em; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; font-s…')
 
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| align=right cellpadding=4 cellspacing=0 width=300 class="infobox" style="margin: 0 0 1em 1em; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 95%;"
+
{| align="right" style="border: 1px solid darkgray; text-align:left; width: 22em; font-size: 88%; line-height:1.5em; background-color: #f9f9f9; margin: 0 0 1em 1em;" cellpadding="1" cellspacing="4"
!colspan=2 style="background-color:#75B2DD"|<big>{{{Name|{{{Name}}}}}}</big>
+
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|{{{name}}}
 
|-
 
|-
| align="center" colspan="2"|
+
|align="center" colspan="2"|[[image:{{{image}}}|192px|{{{name}}}]]
{| border=0 cellpadding=2 cellspacing=0 style="background:#f9f9f9; text-align:center;"
+
{{#if: {{{caption|}}}|{{!}}-
| width="130px"| [[image:{{{Image}}}|300px]]
+
{{!}}align="center" colspan="2"{{!}}{{{caption|}}}
 +
}}
 
|-
 
|-
| width="130px"| <small>{{{Image description}}}</small>
+
|colspan=2 cellpadding="0" cellspacing="0"|
 +
{| style="background-color: #f9f9f9; width: 22em; margin: 0;" cellpadding="1"
 +
|-valign="top"
 +
!Date
 +
|{{{date}}}
 +
|-valign="top"
 +
!Location
 +
|{{{location}}}
 +
|-valign="top"
 +
!Result
 +
|{{{result}}}
 
|}
 
|}
 
|-
 
|-
!Date
+
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; "|Belligerents
| {{{Date}}}
+
|-valign="top"
 +
|style="border-right: 1px solid darkgray; width: 50%;"|{{{side1}}}
 +
|{{{side2}}}
 
|-
 
|-
{{#if: {{{Location|}}}|!Location
+
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; "|Commanders
{{!}} {{{Location}}}|}}
+
|-valign="top"
 +
|style="border-right: 1px solid darkgray; width: 50%;"|{{{commanders1}}}
 +
|{{{commanders2}}}
 
|-
 
|-
!Result
+
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; "|Strength
| {{{Result}}}
+
|-valign="top"
 +
|style="border-right: 1px solid darkgray; width: 50%;"|{{{forces1}}}
 +
|{{{forces2}}}
 
|-
 
|-
!Belligerent 1
+
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; "|Casualties
| {{{Belligerent 1}}}
+
|-valign="top"
|-
+
|style="border-right: 1px solid darkgray; width: 50%;"|{{{casual1}}}
!Belligerent 2
+
|{{{casual2}}}
| {{{Belligerent 2}}}
+
|}
|-
+
{{#if: {{{Belligerent 1 commanders|}}}|!Belligerent 1 commanders
+
{{!}} {{{Belligerent 1 commanders}}}}}
+
|-
+
{{#if: {{{Belligerent 2 commanders|}}}|!Belligerent 2 commanders
+
{{!}} {{{Belligerent 2 commanders}}}}}
+
|-
+
{{#if: {{{Belligerent 1 strength|}}}|!Belligerent 1 strength
+
{{!}} {{{Belligerent 1 strength}}}}}
+
|-
+
{{#if: {{{Belligerent 2 strength|}}}|!Belligerent 2 strength
+
{{!}} {{{Belligerent 2 strength}}}}}
+
|-
+
{{#if: {{{Belligerent 1 casualties|}}}|!Belligerent 1 casualties
+
{{!}} {{{Belligerent 1 casualties}}}}}
+
|-
+
{{#if: {{{Belligerent 2 casualties|}}}|!Belligerent 2 casualties
+
{{!}} {{{Belligerent 2 casualties}}}}}
+
|-
+
|}<noinclude>
+
[[Category:infobox templates]]
+
</noinclude>
+

Latest revision as of 14:08, 23 May 2011

{{{name}}}
[[image:{{{image}}}|192px|{{{name}}}]]
Date {{{date}}}
Location {{{location}}}
Result {{{result}}}
Belligerents
{{{side1}}} {{{side2}}}
Commanders
{{{commanders1}}} {{{commanders2}}}
Strength
{{{forces1}}} {{{forces2}}}
Casualties
{{{casual1}}} {{{casual2}}}