Template:Spartan infobox: Difference between revisions
From Halopedia, the Halo wiki
mNo edit summary |
mNo edit summary |
||
Line 18: | Line 18: | ||
|- | |- | ||
{{#if:{{{birth|}}}| | {{#if:{{{birth|}}}| | ||
! | ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Birth date | ||
! | ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{birth}}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{death|}}}| | {{#if:{{{death|}}}| | ||
! | ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Death date | ||
! | ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{death}}} | ||
}} | }} | ||
|- | |- |
Revision as of 03:16, May 20, 2008
Usage
Copy and paste the following into the article and fill in the fields.
{{SPARTAN Infobox |name= |image= |spartantag= |homeworld= |birth= |death= |species= |gender= |height= |hair= |eyes= |cyber= |affiliation= |rank= |specialty= |battles= |class= }}
All fields are optional.
Source
{| border=0 cellspacing=0 cellpadding=4 style="float:right; clear:right; width:250px; background:#f0f0f0; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;" |- |colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{image|}}}|{{{image}}}}} |- |colspan=2 style="text-align:center; font-size:larger; color:#FFFFFF; background:#406B2E; border-top:1px solid #999; border-bottom:1px solid #999;" |'''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}''' |- | colspan=2 style="background:#8DB87A; border-bottom:1px solid #999;" | '''Biographical information''' |- {{#if:{{{spartantag|}}}| ! width="26%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Spartan Tag ! width="74%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{spartantag}}} }} |- {{#if:{{{homeworld|}}}| ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Homeworld ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{homeworld}}} }} |- {{#if:{{{birth|}}}| ! width="26%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Date of birth ! width="74%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{birth}}} }} |- {{#if:{{{death|}}}| ! width="26%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Date of death ! width="74%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{death}}} }} |- | colspan=2 style="background:#8DB87A; border-bottom:1px solid #999;" | '''Physical description''' |- {{#if:{{{species|}}}| ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Species ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{species}}} }} |- {{#if:{{{gender|}}}| ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Gender ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{gender}}} }} |- {{#if:{{{height|}}}| ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Height ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{height}}} }} |- {{#if:{{{hair|}}}| ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Hair color ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{hair}}} }} |- {{#if:{{{eyes|}}}| ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Eye color ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{eyes}}} }} |- {{#if:{{{cyber|}}}| ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Cybernetics ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{cyber}}} }} |- | colspan=2 style="background:#8DB87A; border-bottom:1px solid #999;" | '''Affiliation and military information''' |- {{#if:{{{affiliation|}}}| ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Affiliation ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{affiliation}}} }} |- {{#if:{{{rank|}}}| ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Rank ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{rank}}} }} |- {{#if:{{{specialty|}}}| ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Specialty ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{specialty}}} }} |- {{#if:{{{battles|}}}| ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Battles ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{battles}}} }} |- {{#if:{{{class|}}}| ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Class ! style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{class}}} }} |- | colspan=2 style="text-align:center; background:#FFFFFF; border-bottom:1px solid #999; padding:0px;" | [[Template:SPARTAN Infobox|[Source]]] |}