Template:Forerunner infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Reverted edits by Jokester123 (Talk) to last version by Ghost sangheili)
 
No edit summary
Line 1: Line 1:
<includeonly>{| 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;"
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
|-
<tr><td colspan="2"><div id="infoboxinternal">
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{image|}}}|{{{image}}}}}
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
|-
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#444444}}};">{{{image|}}}</td></tr>
|colspan=2 style="text-align:center; font-size:larger; color:#FFFFFF; background:#191970; border-top:1px solid #999; border-bottom:1px solid #999;" |'''{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}'''
<tr style="text-align:center; color:#ffffff; background:#444444; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hideb|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Biographical information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Homeworld</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{homeworld|}}}
| colspan=2 style="background:#4682B4; border-bottom:1px solid #999;" | '''General Information'''
</td></tr>|1{{{homeworld|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;birth</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{birth|}}}
{{#if:{{{aprox. size|}}}|
</td></tr>|1{{{birth|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Date&nbsp;of&nbsp;death</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
! width="32%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Aprox. Size
{{{death|}}}
! width="68%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{aprox. size}}}
</td></tr>|1{{{death|}}}=}} {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Physical description'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Rank</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
}}
{{{rank|}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
</td></tr>|1{{{rank|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Gender</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if:{{{purpose|}}}|{{!}}{{!}}Purpose{{!}}{{!}}{{{purpose}}}}}
{{{gender|}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
</td></tr>|1{{{gender|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Height</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if:{{{strength|}}}|{{!}}{{!}}Strength{{!}}{{!}}{{{strength}}}}}
{{{height|}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Weapons</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{#if:{{{first seen|}}}|{{!}}{{!}}First Seen{{!}}{{!}}{{{first seen}}}}}
{{{weapons|}}}
 
</td></tr>|1{{{weapons|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Equipment</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{equipment|}}}
| colspan=2 style="background:#4682B4; border-bottom:1px solid #999;" | '''Weaponry'''
</td></tr>|1{{{equipment|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Vehicles</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{{vehicles|}}}
{{#if:{{{primary|}}}|{{!}}{{!}}Primary{{!}}{{!}}{{{primary}}}}}
</td></tr>|1{{{vehicles|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Hair&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{{hair|}}}
{{#if:{{{secondary|}}}|{{!}}{{!}}Secondary{{!}}{{!}}{{{secondary}}}}}
</td></tr>|1{{{hair|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Eye&nbsp;color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{{eyes|}}}
{{#if:{{{weaponry strength|}}}|{{!}}{{!}}Weaponry Strength{{!}}{{!}}{{{weaponry strength}}}}}
</td></tr>|1{{{eyes|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Cybernetics</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{{cyber|}}}
{{#if:{{{other abilities|}}}|{{!}}{{!}}Other Abilities{{!}}{{!}}{{{other abilities}}}}}
</td></tr>|1{{{cyber|}}}=}} {{t|1=|1{{{hidec|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#777777;">'''Chronological and political information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Era(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{{era|}}}
{{#if:{{{defense|}}}|{{!}}{{!}}Defense{{!}}{{!}}{{{defense}}}}}
</td></tr>|1{{{era|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Subclasses</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|-
{{{types|}}}
| colspan=2 style="text-align:center; background:#FFFFFF; border-bottom:1px solid #999; padding:0px;" | [[Template:Forerunner Infobox|[Source]]]
</td></tr>|1{{{types|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Notable Facts</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
|}
{{{notable|}}}
</includeonly>
</td></tr>|1{{{notable|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
<noinclude>
{{{affiliation|}}}
==Usage==
</td></tr>|1{{{affiliation|}}}=}} </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:Forerunner Infobox|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
Copy and paste the following into the article and fill in the fields.
{{clear}}
<pre>
===Usage instructions===
Paste the following code into the top of an article, filling all known fields:
<pre><nowiki>
{{Forerunner Infobox
{{Forerunner Infobox
|name=  
|name=  
|image=  
|image=
|aprox. size=  
|homeworld=
|purpose=  
|birth=
|strength=
|death=
|first seen=
|rank=
|primary=  
|gender=
|secondary=  
|height=
|weaponry strength=
|weapons=
|other abilities=
|equipment=
|defense=
|vehicles=
}}
|hair=
</pre>
|eyes=
|cyber=
|era=
|types=
|notable=
|affiliation=
}}</nowiki></pre>
 
===Display parameters===
*hideb
*hidep
*hidec


All fields are optional.
===Source===
[[Category:Character infoboxes|SPARTAN Infobox]]
<nowiki>
[[Category:Templates|{{PAGENAME}}]]
{{subst:slh|#444444|250px}} {{subst:sls|Biographical information|#777777|hideb}} {{subst:sld|Homeworld|homeworld}} {{subst:sld|Date&nbsp;of&nbsp;birth|birth}} {{subst:sld|Date&nbsp;of&nbsp;death|death}} {{subst:sls|Physical description|#777777|hidep}} {{subst:sld|Species|species}} {{subst:sld|Gender|gender}} {{subst:sld|Height|height}} {{subst:sld|Hair&nbsp;color|hair}} {{subst:sld|Eye&nbsp;color|eyes}} {{subst:sld|Cybernetics|cyber}} {{subst:sls|Chronological and political information|#777777|hidec}} {{subst:sld|Era(s)|era}} {{subst:sld|Affiliation|affiliation}} {{subst:slf}}
</noinclude>
</nowiki>
[[Category:Character infoboxes|Forerunner Infobox]]</noinclude>

Revision as of 17:21, November 1, 2010

  [Source]

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{Forerunner Infobox
|name= 
|image=
|homeworld=
|birth=
|death=
|rank=
|gender=
|height=
|weapons=
|equipment=
|vehicles=
|hair=
|eyes=
|cyber=
|era=
|types=
|notable=
|affiliation=
}}

Display parameters

  • hideb
  • hidep
  • hidec

Source

{{subst:slh|#444444|250px}} {{subst:sls|Biographical information|#777777|hideb}} {{subst:sld|Homeworld|homeworld}} {{subst:sld|Date of birth|birth}} {{subst:sld|Date of death|death}} {{subst:sls|Physical description|#777777|hidep}} {{subst:sld|Species|species}} {{subst:sld|Gender|gender}} {{subst:sld|Height|height}} {{subst:sld|Hair color|hair}} {{subst:sld|Eye color|eyes}} {{subst:sld|Cybernetics|cyber}} {{subst:sls|Chronological and political information|#777777|hidec}} {{subst:sld|Era(s)|era}} {{subst:sld|Affiliation|affiliation}} {{subst:slf}}