Difference between revisions of "Template:Infobox Character"

From Imperial Wiki
Jump to navigation Jump to search
(remove prev/conc/next links)
(remove double cells for battle info)
Line 21: Line 21:
</td></tr></table>
</td></tr></table>
</td></tr>
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#BBBBBB}}};">'''Combatants'''</th></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;[[Template:Infobox Character|[Source]]]</td></tr></table>
<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;">
 
{{{side1}}}
<noinclude>
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{side2}}}
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#BBBBBB}}};">'''Commanders'''</th></tr>
<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;">
{{{commanders1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{commanders2}}}
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#BBBBBB}}};">'''Forces'''</th></tr>
<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;">
{{{forces1}}}
</td><td class="infoboxcell" width="50%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{forces2}}}
</td></tr>
<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{{c2|#BBBBBB}}};">'''Losses'''</th></tr>
<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;">
{{{casual1}}}
</td><td class="infoboxcell" width="33%" style="border-top: 1px solid #999999; border-bottom: 1px solid #999999;">
{{{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;[[Template:Infobox Battle|[Source]]]</td></tr></table><noinclude>
{{clear}}
{{clear}}
==Field list==
==Field list==
*name
*name
*image
*image
*conflict
*conflict > race
*date
*date > gender
*place
*place > birthdate
*result
*result
*side1
*side2
*commanders1
*commanders2
*forces1
*forces2
*casual1
*casual2


<!-- ==Example==
<!-- ==Example==
Line 71: Line 41:
|place=[[Yavin IV]]
|place=[[Yavin IV]]
|result=Rebel victory
|result=Rebel victory
|side1=*[[Rebel Alliance]]
|side2=[[Galactic Empire]]
|commanders1=*General Dodanna
|commanders2=Grand Moff Tarkin
|forces1=*30 Rebel Starfighters
*[[Millenium Falcon]]
|forces2=*Death Star 1
*TIE Fighters
*[Darth Vader's TIE Fighter
|casual1=Most Rebel Starfighters
|casual2=*Death Star 1
*Grand Moff Tarkin
}} -->
}} -->


Line 95: Line 53:
|place=
|place=
|result=
|result=
|side1=
|side2=
|commanders1=
|commanders2=
|forces1=
|forces2=
|casual1=
|casual2=
}}
}}
</nowiki></pre>[[Category:Infobox templates|Battle]]</noinclude>
</nowiki></pre>[[Category:Infobox templates|Battle]]</noinclude>

Revision as of 18:20, 13 January 2009

{{{name}}}
Conflict:

{{{conflict}}}

Date:

{{{date}}}

Location:

{{{place}}}

Result:

{{{result}}}

  [Source]


Field list

  • name
  • image
  • conflict > race
  • date > gender
  • place > birthdate
  • result


Usage

To use this template, paste the following code into the top of the article, filling all relevant fields:

{{Infobox Battle
|name=
|image=
|conflict=
|date=
|place=
|result=
}}