Difference between revisions of "Template:Battle infobox"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
m (I ponder why I gave it margin to the top!)
(Added documentation and fixed it up a lot.)
Line 1: Line 1:
{| style="float: right; width: 250px; border: 1px solid #d3d3d3; background: #f0f0f0; font-size: 0.9em; padding:3px; margin: 0 15px 15px; margin-right: 0;"
<noinclude>{{documentation}}
! colspan="2" style="background: #d3d3d3; padding: 1px 5px;" | <big>''{{{name}}}''</big>
</noinclude><includeonly>{| class="infobox" [[Category:Battles|{{{name}}}]]
! colspan="2" class="infoboxHeader" | <big>''{{{name}}}''</big>
|-
|-
! colspan="2" | {{{image}}}
| colspan="2" class="infoboxCentre" | {{{image}}}
|-
|-
| colspan="2" |
| colspan="2" |
{| style="background: #f0f0f0; width: 100%;"
{| style="background: none; width: 100%;"
! style="text-align: right; vertical-align: top;" | '''Date'''
{{ginfobox/tbsub|Date|{{{date}}}}}
| style="vertical-align: top;" | {{{date}}}
{{ginfobox/tbsub|Location|{{{location}}}}}
{{ginfobox/tbsub|Result|{{{result}}}}}
{{ginfobox/tbsub|Appearance|{{{appearance}}}}}
|}
|-
|-
! style="text-align: right; vertical-align: top;" | '''Location'''
! style="vertical-align: top; border-right: 1px solid #d3d3d3;" class="infoboxCentre" | '''Side A'''
| style="vertical-align: top;" | {{{location}}}
! style="vertical-align: top;" class="infoboxCentre" | '''Side B'''
|-
|-
! style="text-align: right; vertical-align: top;" | '''Result'''
! colspan="2" class="infoboxHeader" | <big>''Combatants''</big>
| style="vertical-align: top;" | {{{result}}}
|-
! style="text-align: right; vertical-align: top;" | '''Appearance'''
| style="vertical-align: top;" | {{{appearance}}}
|}
|-
! colspan="2" style="background: #d3d3d3; padding: 1px 5px;" | <big>''Combatants''</big>
|-
|-
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{side1}}}
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{side1}}}
| style="vertical-align: top;" | {{{side2}}}
| style="vertical-align: top;" | {{{side2}}}
|-
|-
! colspan="2" style="background: #d3d3d3; padding: 1px 5px;" | <big>''Commanders''</big>
! colspan="2" class="infoboxHeader" | <big>''Commanders''</big>
|-
|-
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{leaders1}}}
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{leaders1}}}
| style="vertical-align: top;" | {{{leaders2}}}
| style="vertical-align: top;" | {{{leaders2}}}
|-
|-
! colspan="2" style="background: #d3d3d3; padding: 1px 5px;" | <big>''Strength''</big>
! colspan="2" class="infoboxHeader" | <big>''Strength''</big>
|-
|-
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{forces1}}}
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{forces1}}}
| style="vertical-align: top;" | {{{forces2}}}
| style="vertical-align: top;" | {{{forces2}}}
|-
|-
! colspan="2" style="background: #d3d3d3; padding: 1px 5px;" | <big>''Casualties''</big>
! colspan="2" class="infoboxHeader" | <big>''Casualties''</big>
|-
|-
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{casual1}}}
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{casual1}}}
| style="vertical-align: top;" | {{{casual2}}}
| style="vertical-align: top;" | {{{casual2}}}
|}
|}</includeonly>
 
<noinclude>
{{clear}}
Usage:
<pre>
{{Battle Infobox
|name=name of battle
|image=Image link
|date=
|location=
|result=
|side1=
|side2=
|leaders1=
|leaders2=
|forces1=
|forces2=
|casual1=
|casual2=
}}
</pre>
<br style="clear: both;" />
</noinclude>
<includeonly>
[[Category:Battles|{{{name}}}]]
</includeonly>

Revision as of 00:30, 13 April 2008

Documentation for {{battle infobox}}

Use

This infobox is for battles. Preferable large battles. For other types of events, use the {{event infobox}} instead.

Usage

None of its parameters are optional.

{{battle infobox
|name       = name of battle
|image      = [[Image:Image.png|225px]]
|date       = date of its occurrence 
|location   = where it occurred
|result     = result, who was the victor?
|appearance = in which episode/film it appeared.
|side1      = who was side A?
|side2      = who was side B?
|leaders1   = who were their commanders?
|leaders2   =
|forces1    = what equipment did they have?
|forces2    = 
|casual1    = what did they loose?
|casual2    =
}}


See also

  • I:I - for other infoboxes.