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!)
m
 
(9 intermediate revisions by 2 users not shown)
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>{{infobox
|-
|title={{{name}}}
! colspan="2" | {{{image}}}
|image={{{image|}}}
|-
|caption={{{image text|{{{image caption|}}}}}}
| colspan="2" |
|label1=Date
{| style="background: #f0f0f0; width: 100%;"
|data1={{{date}}}
! style="text-align: right; vertical-align: top;" | '''Date'''
|label2=Location
| style="vertical-align: top;" | {{{date}}}
|data2={{{location}}}
|-
|label3=Result
! style="text-align: right; vertical-align: top;" | '''Location'''
|data3={{{result}}}
| style="vertical-align: top;" | {{{location}}}
|label4=Appearance
|-
|data4={{{appearance}}}
! style="text-align: right; vertical-align: top;" | '''Result'''
|label5='''{{{type1|Side A}}}'''
| style="vertical-align: top;" | {{{result}}}
|labelcell5=td
|-
|data5='''{{{type2|Side B}}}'''
! style="text-align: right; vertical-align: top;" | '''Appearance'''
|datastyle5=border-left: 1px solid #092c41;
| style="vertical-align: top;" | {{{appearance}}}
|header6=Combatants
|}
|label7={{{side1}}}
|-
|labelcell7=td
! colspan="2" style="background: #d3d3d3; padding: 1px 5px;" | <big>''Combatants''</big>
|data7={{{side2}}}
|-
|datastyle7=border-left: 1px solid #092c41;
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{side1}}}
|header8=Commanders
| style="vertical-align: top;" | {{{side2}}}
|label9={{{leaders1}}}
|-
|labelcell9=td
! colspan="2" style="background: #d3d3d3; padding: 1px 5px;" | <big>''Commanders''</big>
|data9={{{leaders2}}}
|-
|datastyle9=border-left: 1px solid #092c41;
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{leaders1}}}
|header10=Strength
| style="vertical-align: top;" | {{{leaders2}}}
|label11={{{forces1}}}
|-
|labelcell11=td
! colspan="2" style="background: #d3d3d3; padding: 1px 5px;" | <big>''Strength''</big>
|data11={{{forces2}}}
|-
|datastyle11=border-left: 1px solid #092c41;
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{forces1}}}
|header12=Casualties
| style="vertical-align: top;" | {{{forces2}}}
|label13={{{casual1}}}
|-
|labelcell13=td
! colspan="2" style="background: #d3d3d3; padding: 1px 5px;" | <big>''Casualties''</big>
|data13={{{casual2}}}
|-
|datastyle13=border-left: 1px solid #092c41;
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{casual1}}}
|data15={{#if:{{{wikipedia|}}}|{{w|{{{wikipedia}}}|Wikipedia has more information unrelated to ''Futurama''}}|}}
| style="vertical-align: top;" | {{{casual2}}}
}}{{#if:{{NAMESPACE}}||[[Category:Battles|{{{name}}}]]}}</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>

Latest revision as of 15:23, 31 August 2011

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.