Template:Forerunner infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
mNo edit summary
Line 1: Line 1:
<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;">
<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;"
<tr><td colspan="2"><div id="infoboxinternal">
|-
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{image|}}}|{{{image}}}}}
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#444444}}};">{{{image|}}}</td></tr>
|-
<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;">
|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}}}}'''
{{{homeworld|}}}
|-
</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;">
| colspan=2 style="background:#4682B4; border-bottom:1px solid #999;" | '''General Information'''
{{{birth|}}}
|-
</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;">
{{#if:{{{aprox. size|}}}|
{{{death|}}}
! width="32%" 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;">Position</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
! width="68%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{aprox. size}}}
{{{position|}}}
}}
</td></tr>|1{{{position|}}}=}} {{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;">
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{{gender|}}}
{{#if:{{{purpose|}}}|{{!}}{{!}}Purpose{{!}}{{!}}{{{purpose}}}}}
</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;">
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{{height|}}}
{{#if:{{{strength|}}}|{{!}}{{!}}Strength{{!}}{{!}}{{{strength}}}}}
</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;">
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{{weapons|}}}
{{#if:{{{first seen|}}}|{{!}}{{!}}First Seen{{!}}{{!}}{{{first seen}}}}}
</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|}}}
|-
</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;">
| colspan=2 style="background:#4682B4; border-bottom:1px solid #999;" | '''Weaponry'''
{{{vehicles|}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
</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;">
{{#if:{{{primary|}}}|{{!}}{{!}}Primary{{!}}{{!}}{{{primary}}}}}
{{{hair|}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
</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;">
{{#if:{{{secondary|}}}|{{!}}{{!}}Secondary{{!}}{{!}}{{{secondary}}}}}
{{{eyes|}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
</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;">
{{#if:{{{weaponry strength|}}}|{{!}}{{!}}Weaponry Strength{{!}}{{!}}{{{weaponry strength}}}}}
{{{cyber|}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
</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;">
{{#if:{{{other abilities|}}}|{{!}}{{!}}Other Abilities{{!}}{{!}}{{{other abilities}}}}}
{{{era|}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
</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;">
{{#if:{{{defense|}}}|{{!}}{{!}}Defense{{!}}{{!}}{{{defense}}}}}
{{{types|}}}
|-
</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;">
| colspan=2 style="text-align:center; background:#FFFFFF; border-bottom:1px solid #999; padding:0px;" | [[Template:Forerunner Infobox|[Source]]]
{{{notable|}}}
|}
</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;">
</includeonly>
{{{affiliation|}}}
<noinclude>
</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>
==Usage==
{{clear}}
Copy and paste the following into the article and fill in the fields.
===Usage instructions===
<pre>
Paste the following code into the top of an article, filling all known fields:
<pre><nowiki>
{{Forerunner Infobox
{{Forerunner Infobox
|name=  
|name=  
|image=
|image=  
|homeworld=
|aprox. size=  
|birth=
|purpose=  
|death=
|strength=
|position=
|first seen=
|gender=
|primary=  
|height=
|secondary=  
|weapons=
|weaponry strength=
|equipment=
|other abilities=
|vehicles=
|defense=
|hair=
}}
|eyes=
</pre>
|cyber=
|era=
|types=
|notable=
|affiliation=
}}</nowiki></pre>
 
===Display parameters===
*hideb
*hidep
*hidec


===Source===
All fields are optional.
<nowiki>
[[Category:Character infoboxes|SPARTAN Infobox]]
{{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|Position|position}} {{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}}
[[Category:Templates|{{PAGENAME}}]]
</nowiki>
</noinclude>
[[Category:Character infoboxes|Forerunner Infobox]]</noinclude>

Revision as of 17:37, November 1, 2010


Usage

Copy and paste the following into the article and fill in the fields.

{{Forerunner Infobox
|name= 
|image= 
|aprox. size= 
|purpose= 
|strength=
|first seen=  
|primary= 
|secondary= 
|weaponry strength=
|other abilities=
|defense=
}}

All fields are optional.