Difference between revisions of "Template:Battle infobox"

From The Infosphere, the Futurama Wiki
Jump to navigation Jump to search
 
m
 
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:300px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;"><tr><td colspan="2"><div id="infoboxinternal">
<noinclude>{{documentation}}
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:300px; background:#ffffff; border-collapse:collapse;">
</noinclude><includeonly>{{infobox
</td></tr>
|title={{{name}}}
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{c2|#B4C5E3}}};">{{{image|}}}
|image={{{image|}}}
</td></tr>
|caption={{{image text|{{{image caption|}}}}}}
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Date''':</td><td class="infoboxcell" style="width:100%;">
|label1=Date
{{{date}}}
|data1={{{date}}}
</td></tr></table>
|label2=Location
</td></tr>
|data2={{{location}}}
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Lacation''':</td><td class="infoboxcell" style="width:100%;">
|label3=Result
{{{location}}}
|data3={{{result}}}
</td></tr></table>
|label4=Appearance
</td></tr>
|data4={{{appearance}}}
<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; border-top: 1px solid #999999; border-bottom: 1px solid #999999;"><table border="0" cellpadding="4" cellspacing="0" style="padding:0; margin: 0 0 0 0; width:100%; border-collapse:collapse;"><tr style="background:{{{c3|#F0F0F0}}}; vertical-align:top;"><td>'''Result''':</td><td class="infoboxcell" style="width:100%;">
|label5='''{{{type1|Side A}}}'''
{{{result}}}
|labelcell5=td
</td></tr></table>
|data5='''{{{type2|Side B}}}'''
</td></tr>
|datastyle5=border-left: 1px solid #092c41;
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Combatants'''</th></tr>
|header6=Combatants
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; text-align:left; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
|label7={{{side1}}}
{{{side1}}}
|labelcell7=td
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
|data7={{{side2}}}
{{{side2}}}
|datastyle7=border-left: 1px solid #092c41;
</td></tr>
|header8=Commanders
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Leaders'''</th></tr>
|label9={{{leaders1}}}
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
|labelcell9=td
{{{leaders1}}}
|data9={{{leaders2}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
|datastyle9=border-left: 1px solid #092c41;
{{{leaders2}}}
|header10=Strength
</td></tr>
|label11={{{forces1}}}
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Strength'''</th></tr>
|labelcell11=td
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
|data11={{{forces2}}}
{{{forces1}}}
|datastyle11=border-left: 1px solid #092c41;
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
|header12=Casualties
{{{forces2}}}
|label13={{{casual1}}}
</td></tr>
|labelcell13=td
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#B4C5E3}}};">'''Casualties'''</th></tr>
|data13={{{casual2}}}
<tr style="spacing-top:0px; spacing-bottom:0px; vertical-align:top; background:{{{c3|#F0F0F0}}};"><td class="infoboxcell" width="50%"  style="border-top: 1px solid #999999; border-bottom: 1px solid #999999; border-right: 1px solid #999999;">
|datastyle13=border-left: 1px solid #092c41;
{{{casual1}}}
|data15={{#if:{{{wikipedia|}}}|{{w|{{{wikipedia}}}|Wikipedia has more information unrelated to ''Futurama''}}|}}
</td><td class="infoboxcell" width="33%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
}}{{#if:{{NAMESPACE}}||[[Category:Battles|{{{name}}}]]}}</includeonly>
{{{casual2}}}
</td></tr></table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;</td></tr></table>
 
<noinclude>
{{clear}}
Usage:
<pre>
{{episode infobox
|name=Name of episode
|image=Image link
|number=
|caption=
|first aired=
|written by=
|directed by=
|title reference= (should be optional)
|chars=
|debut chars= (should be optional)
|prev ep= Previous episode (in production order) (should be optional for first episode)
|next ep= Next episode (in production order) (should be optional for last episode)
(the following does not exist yet, but could soon be implemented)
|caption reference= (should be optional)
|episode no= Episode number (in order of production)
|broadcast code= Like "number", but just in order of broadcast.
|opening cartoon= The cartoon that appear in the opening sequence
|guest stars= (should be optional) Guest voice actor(s)
|nomination= (should be optional) What the episode had been nominated for, add indication for won nomination, no standard yet.
|prev broadcast ep= Previous episode (in broadcast order) (should be optional for where production and broadcast order are the same)
|next broadcast ep= Next episode (in broadcast order) (should be optional for reason above)
|season= Which production season the episode was in
}}
</pre>
<br style="clear: both;" />
</noinclude>

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.