Template:Species infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
mNo edit summary
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="float:right; clear:right; width:300px; margin:10px; margin-right:0px; padding:2px; background:{{{BG|#334B5B}}}; border-radius: 0 0 .7em .7em; color:{{{color1|inherit}}}; text-align:justify; font-size:100%;"
{| class="infobox" cellspacing="0" style="float:right; clear:right; width:300px; margin:10px; margin-right:0px; padding:2px; background:{{{BG|#334B5B}}}; border-radius: 0 0 .7em .7em; color:{{{color1|inherit}}};"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
Line 11: Line 11:
{{!}}-
{{!}}-
{{#if:{{{homeworld|}}}|
{{#if:{{{homeworld|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}}
'''{{{homeworld-title|Homeworld}}}''':
'''{{{homeworld-title|Homeworld}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{homeworld|}}}
{{{homeworld|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{height|}}}|
{{#if:{{{height|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{height-title|Avg. height}}}''':
'''{{{height-title|Avg. height}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{height|}}}
{{{height|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{weight|}}}|
{{#if:{{{weight|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{weight-title|Avg. weight}}}''':
'''{{{weight-title|Avg. weight}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{weight|}}}
{{{weight|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{distinctions|}}}|
{{#if:{{{distinctions|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{distinctions-title|Distinctions}}}''':
'''{{{distinctions-title|Distinctions}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{distinctions|}}}
{{{distinctions|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{lifespan|}}}|
{{#if:{{{lifespan|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{lifespan-title|Avg. lifespan}}}''':
'''{{{lifespan-title|Avg. lifespan}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{lifespan|}}}
{{{lifespan|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{techlevel|}}}|
{{#if:{{{techlevel|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{techlevel-title|[[Technological Achievement Tiers|Technology level]]}}}''':
'''{{{techlevel-title|[[Technological Achievement Tiers|Technology level]]}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{techlevel|}}}
{{{techlevel|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{notable-group|}}}|
{{#if:{{{notable-group|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{notable-group-title|Notable groups}}}:'''
'''{{{notable-group-title|Notable groups}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{notable-group|}}}
{{{notable-group|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{notable-person|}}}|
{{#if:{{{notable-person|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{notable-person-title|Notable individuals}}}:'''
'''{{{notable-person-title|Notable individuals}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{notable-person|}}}
{{{notable-person|}}}
{{!}}-}}
{{!}}-}}
{{#if:{{{othernames|}}}|
{{#if:{{{othernames|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{othernames-title|Also known as}}}:'''
'''{{{othernames-title|Also known as}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:justify; font-size:100%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{othernames|}}}
{{{othernames|}}}
{{!}}-}}
{{!}}-}}

Revision as of 12:01, July 20, 2014

Species infobox
Overview
 

Usage instructions

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

{{Species Infobox
|othernames=
|image=
|homeworld=
|height=
|weight=
|distinctions=
|lifespan=
|techlevel=
|notable-group=
|notable-person=
}}

Custom parameters

The following allows you to alter the title of the sub-sections:

|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=