Template:Forerunner infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
mNo 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:#111111; border-collapse:collapse; border:1px solid #111111; font-size:smaller; line-height:1.5;">
|-
 
|colspan=2 style="text-align:center; margin: 0px; padding:0px;" |{{#if:{{{image|}}}|{{{image}}}}}
<tr>
|-
<td colspan="2">
|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}}}}'''
<div id="infoboxinternal">
|-
 
| colspan=2 style="background:#4682B4; border-bottom:1px solid #999;" | '''General Information'''
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#111111; border-collapse:collapse;">
|-
 
{{#if:{{{aprox. size|}}}|
<tr style="text-align:center;">
! width="32%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} Aprox. Size
<td colspan="2" style="padding:0; background:{{{imageBG|#5D8AA8}}};">{{{image|}}}</td>
! width="68%" style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;" {{!}} {{{aprox. size}}}
</tr>
}}
 
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
<tr style="text-align:center; color:#ffffff; background:#5D8AA8; font-size:larger;">
{{#if:{{{purpose|}}}|{{!}}{{!}}Purpose{{!}}{{!}}{{{purpose}}}}}
<th colspan="2">{{{name}}}</th>
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
</tr>
{{#if:{{{strength|}}}|{{!}}{{!}}Strength{{!}}{{!}}{{{strength}}}}}
{{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#4682B4;"><span style="font-family:Century Gothic; font color:#F0FFFF;">'''General information'''</span></th></tr>}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#ABCDEF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">Approx. size</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{#if:{{{first seen|}}}|{{!}}{{!}}First Seen{{!}}{{!}}{{{first seen}}}}}
{{{aprox. size|}}}
</td></tr>|1{{{aprox. size|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#ABCDEF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">Purpose</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{{purpose|}}}
</td></tr>|1{{{purpose|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#ABCDEF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">Strength</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{{strength|}}}
</td></tr>|1{{{strength|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#ABCDEF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">First seen</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{{first seen|}}}
</td></tr>|1{{{first seen|}}}=}}{{t|1=|1{{{hideu|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#4682B4;"><span style="font-family:Century Gothic; font color:#F0FFFF;">'''Weaponry'''</span></th></tr>}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#ABCDEF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">Primary weapon(s)</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{{primary|}}}
</td></tr>|1{{{primary|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#ABCDEF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">Secondary weapon(s)</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{{secondary|}}}
</td></tr>|1{{{secondary|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#ABCDEF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">Other abilities</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{{other abilities|}}}
</td></tr>|1{{{other abilities|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#ABCDEF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">Defense</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{{defense|}}}
</td></tr>|1{{{defense|}}}=}}</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>__NOTOC__


|-
| colspan=2 style="background:#4682B4; border-bottom:1px solid #999;" | '''Weaponry'''
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{primary|}}}|{{!}}{{!}}Primary{{!}}{{!}}{{{primary}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{secondary|}}}|{{!}}{{!}}Secondary{{!}}{{!}}{{{secondary}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{weaponry strength|}}}|{{!}}{{!}}Weaponry Strength{{!}}{{!}}{{{weaponry strength}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{other abilities|}}}|{{!}}{{!}}Other Abilities{{!}}{{!}}{{{other abilities}}}}}
|-style="vertical-align:top; text-align:left; font-weight:normal; border-bottom:1px solid #999;"
{{#if:{{{defense|}}}|{{!}}{{!}}Defense{{!}}{{!}}{{{defense}}}}}
|-
| colspan=2 style="text-align:center; background:#FFFFFF; border-bottom:1px solid #999; padding:0px;" | [[Template:Forerunner Infobox|[Source]]]
|}
</includeonly>
<noinclude>
==Usage==
==Usage==
Copy and paste the following into the article and fill in the fields.
This infobox is for Forerunner constructs. Please note that this template automatically generates a category. For individual characters, see [[Template:Forerunner Character Infobox]].
<pre>
 
{{Forerunner Infobox
==Instructions==
Cut and paste the following code into your article, then put the relevant specifications after the "=" signs.
 
<pre><nowiki>{{Forerunner Infobox
|name=  
|name=  
|image=  
|image=  
Line 50: Line 51:
|other abilities=
|other abilities=
|defense=
|defense=
}}
}}</nowiki></pre>
</pre>


All fields are optional.
[[Category: Infoboxes|{{PAGENAME}}]]
[[Category:Character infoboxes|SPARTAN Infobox]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 17:49, November 1, 2010

  [Source]

Usage

This infobox is for Forerunner constructs. Please note that this template automatically generates a category. For individual characters, see Template:Forerunner Character Infobox.

Instructions

Cut and paste the following code into your article, then put the relevant specifications after the "=" signs.

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