Template:Forerunner infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Removed "first seen" field.)
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:#000000; border-collapse:collapse; border:1px solid #000000; font-size:smaller; line-height:1.5;">
{| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:0 0 5px 10px; padding:2px; background:{{{BG|#6E7F80}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; color:{{{color1|#000000}}};"
 
{{!}}-
<tr>
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
<td colspan="2">
{{!}}-
<div id="infoboxinternal">
{{#if:{{{image|}}}|
 
! style="background:{{{imageBG|#F0F0F0}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}}; padding: 7px;" colspan="2" {{!}} {{{image|}}}
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#111111; border-collapse:collapse;">
}}
 
{{!}}-
<tr style="text-align:center;">
{{#if:{{{role|}}}|
<td colspan="2" style="padding:0; background:{{{imageBG|#5D8AA8}}};">{{{image|}}}</td>
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
</tr>
'''{{{role-title|Role}}}''':
 
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
<tr style="text-align:center; color:#ffffff; background:#5D8AA8; font-size:larger;">
<th colspan="2">{{{name}}}</th>
</tr>
{{t|1=|1{{{hidea|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#ABCDEF; font color:#F0FFFF;">'''General information'''</th></tr>}}
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#F0F8FF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">{{{role-title|Role}}}</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{{role|}}}
{{{role|}}}
</td></tr>|1{{{role|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#F0F8FF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">{{{misc1-title|Miscellaneous}}}</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{!}}-}}
{{{misc1|}}}
{{#if:{{{length|}}}|
</td></tr>|1{{{misc1|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#F0F8FF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">{{{misc2-title|Miscellaneous}}}</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
{{{misc2|}}}
'''{{{length-title|Length}}}''':
</td></tr>|1{{{misc2|}}}=}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{t|1=|1{{{hideb|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#ABCDEF; font color:#F0FFFF;">'''Technical specifications'''</th></tr>}}
{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#F0F8FF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">{{{size-title|Size}}}</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{{size|}}}
</td></tr>|1{{{size|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#F0F8FF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">Length</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{{length|}}}
{{{length|}}}
</td></tr>|1{{{length|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#F0F8FF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">Width</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{!}}-}}
{{#if:{{{width|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{width-title|Width}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{width|}}}
{{{width|}}}
</td></tr>|1{{{width|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#F0F8FF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">Height</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{!}}-}}
{{#if:{{{height|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{height-title|Height}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{height|}}}
{{{height|}}}
</td></tr>|1{{{height|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#F0F8FF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">{{{armament-title|Armament}}}</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{!}}-}}
{{#if:{{{armament|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{armament-title|Armament}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{armament|}}}
{{{armament|}}}
</td></tr>|1{{{armament|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#F0F8FF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">{{{armor-title|Armor}}}</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{!}}-}}
{{#if:{{{armor|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{armor-title|Armor}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{armor|}}}
{{{armor|}}}
</td></tr>|1{{{armor|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#F0F8FF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">{{{misc3-title|Miscellaneous}}}</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
{{!}}-}}
{{{misc3|}}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" |&nbsp;
</td></tr>|1{{{misc3|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#F0F8FF}}}"><td style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">{{{misc4-title|Miscellaneous}}}</td><td class="infoboxcell" style="border-top: 1px solid #111111; border-bottom: 1px solid #111111;">
|}<noinclude>{{clear}}
{{{misc4|}}}
</td></tr>|1{{{misc4|}}}=}}</table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%; background:#5D8AA8;"></td><td style="text-align:left; width:51%; background:#5D8AA8;">&nbsp;&nbsp;[[Template:Forerunner Infobox|<span style="color:#FFFFFF;">[Source]</span>]]</td></tr></table><noinclude>__NOTOC__


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


==How to==
==How to==
Copy the following:
Copy the following:
:<small>'''Note:''' If information regarding length, width and/or height is unknown, use size instead.</small>
:<small>'''Note:''' If information regarding length, width and/or height is unknown, use size instead.</small>
<pre>{{Forerunner Infobox
<pre>
|name=
{{Forerunner Infobox
|image=  
|image=  
|role=  
|role=  
|size=
|length=
|length=
|width=
|height=
|height=
|armament=
|armament=
|armor=
|armor=
}}</pre>
}}
</pre>


==Custom parameters==
==Custom parameters==

Revision as of 18:22, June 5, 2012

Forerunner infobox
 

Usage

This infobox is for Forerunner constructs. For individual characters, see Forerunner Character Infobox.

How to

Copy the following:

Note: If information regarding length, width and/or height is unknown, use size instead.
{{Forerunner Infobox
|image= 
|role= 
|length=
|height=
|armament=
|armor=
}}

Custom parameters

The following are custom parameters that allows you to alter the text in the box.

Note: misc1 and misc2 is for General information section, while the rest is for the Technical specifications section.
|misc1=
|misc1-title=
|misc2=
|misc2-title=
|misc3=
|misc3-title=
|misc4=
|misc4-title=
|size-title=
|armament-title=
|armor-title=