Difference between revisions of "Template:Battle infobox"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
(Added documentation and fixed it up a lot.)
m
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{documentation}}
<noinclude>{{documentation}}
</noinclude><includeonly>{| class="infobox" [[Category:Battles|{{{name}}}]]
</noinclude><includeonly>{{infobox
! colspan="2" class="infoboxHeader" | <big>''{{{name}}}''</big>
|title={{{name}}}
|-
|image={{{image|}}}
| colspan="2" class="infoboxCentre" | {{{image}}}
|caption={{{image text|{{{image caption|}}}}}}
|-
|label1=Date
| colspan="2" |
|data1={{{date}}}
{| style="background: none; width: 100%;"
|label2=Location
{{ginfobox/tbsub|Date|{{{date}}}}}
|data2={{{location}}}
{{ginfobox/tbsub|Location|{{{location}}}}}
|label3=Result
{{ginfobox/tbsub|Result|{{{result}}}}}
|data3={{{result}}}
{{ginfobox/tbsub|Appearance|{{{appearance}}}}}
|label4=Appearance
|}
|data4={{{appearance}}}
|-
|label5='''{{{type1|Side A}}}'''
! style="vertical-align: top; border-right: 1px solid #d3d3d3;" class="infoboxCentre" | '''Side A'''
|labelcell5=td
! style="vertical-align: top;" class="infoboxCentre" | '''Side B'''
|data5='''{{{type2|Side B}}}'''
|-
|datastyle5=border-left: 1px solid #092c41;
! colspan="2" class="infoboxHeader" | <big>''Combatants''</big>
|header6=Combatants
|-
|label7={{{side1}}}
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{side1}}}
|labelcell7=td
| style="vertical-align: top;" | {{{side2}}}
|data7={{{side2}}}
|-
|datastyle7=border-left: 1px solid #092c41;
! colspan="2" class="infoboxHeader" | <big>''Commanders''</big>
|header8=Commanders
|-
|label9={{{leaders1}}}
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{leaders1}}}
|labelcell9=td
| style="vertical-align: top;" | {{{leaders2}}}
|data9={{{leaders2}}}
|-
|datastyle9=border-left: 1px solid #092c41;
! colspan="2" class="infoboxHeader" | <big>''Strength''</big>
|header10=Strength
|-
|label11={{{forces1}}}
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{forces1}}}
|labelcell11=td
| style="vertical-align: top;" | {{{forces2}}}
|data11={{{forces2}}}
|-
|datastyle11=border-left: 1px solid #092c41;
! colspan="2" class="infoboxHeader" | <big>''Casualties''</big>
|header12=Casualties
|-
|label13={{{casual1}}}
| style="vertical-align: top; border-right: 1px solid #d3d3d3;" | {{{casual1}}}
|labelcell13=td
| style="vertical-align: top;" | {{{casual2}}}
|data13={{{casual2}}}
|}</includeonly>
|datastyle13=border-left: 1px solid #092c41;
|data15={{#if:{{{wikipedia|}}}|{{w|{{{wikipedia}}}|Wikipedia has more information unrelated to ''Futurama''}}|}}
}}{{#if:{{NAMESPACE}}||[[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.