Difference between revisions of "Template:Infobox Character"

From Imperial Wiki
Jump to navigation Jump to search
(Initial template for modification (based on Infobox Battle))
 
(remove prev/conc/next links)
Line 3: Line 3:
<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">
<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">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:300px; background:#ffffff; border-collapse:collapse;">
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:300px; background:#ffffff; border-collapse:collapse;">
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; 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>'''Previous''':</td><td class="infoboxcell" style="width:100%;">
{{{prev}}}
</td></tr></table>
</td></tr>|1{{{prev|}}}=}}
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; 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>'''Concurrent''':</td><td class="infoboxcell" style="width:100%;">
{{{conc}}}
</td></tr></table>
</td></tr>|1{{{conc|}}}=}}
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background:{{{c3|#F0F0F0}}};"><td colspan="2" style="padding:0; 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>'''Next''':</td><td class="infoboxcell" style="width:100%;">
{{{next}}}
</td></tr></table>
</td></tr>|1{{{next|}}}=}}
<tr style="text-align:center; color:#ffffff; background:{{{c1|#000000}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>
<tr style="text-align:center; color:#ffffff; background:{{{c1|#000000}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr>
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{c2|#BBBBBB}}};">{{{image|}}}</td></tr>
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{c2|#BBBBBB}}};">{{{image|}}}</td></tr>
Line 59: Line 47:
{{clear}}
{{clear}}
==Field list==
==Field list==
*prev (collapsible)
 
*conc (collapsible)
*next (collapsible)
*name
*name
*image
*image
Line 79: Line 65:
<!-- ==Example==
<!-- ==Example==
{{Infobox Battle
{{Infobox Battle
|prev=
|conc=
|next=[[Battle of Hoth]]
|name=Battle of Yavin
|name=Battle of Yavin
|image=[[Image:X-Wings.jpg]]
|image=[[Image:X-Wings.jpg]]
Line 106: Line 89:
<pre><nowiki>
<pre><nowiki>
{{Infobox Battle
{{Infobox Battle
|prev=
|conc=
|next=
|name=
|name=
|image=
|image=

Revision as of 18:05, 13 January 2009

{{{name}}}
Conflict:

{{{conflict}}}

Date:

{{{date}}}

Location:

{{{place}}}

Result:

{{{result}}}

Combatants

{{{side1}}}

{{{side2}}}

Commanders

{{{commanders1}}}

{{{commanders2}}}

Forces

{{{forces1}}}

{{{forces2}}}

Losses

{{{casual1}}}

{{{casual2}}}

  [Source]

Field list

  • name
  • image
  • conflict
  • date
  • place
  • result
  • side1
  • side2
  • commanders1
  • commanders2
  • forces1
  • forces2
  • casual1
  • casual2


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=
|side1=
|side2=
|commanders1=
|commanders2=
|forces1=
|forces2=
|casual1=
|casual2=
}}