Template:Species infobox: Difference between revisions
From Halopedia, the Halo wiki
NightHammer (talk | contribs) (Testing this new infobox layout, highly considering removing the notable group field.) |
NightHammer (talk | contribs) m (Reverting for now, will mess around with it more tonight.) |
||
Line 8: | Line 8: | ||
{{!}}- | {{!}}- | ||
{{#if:{{{hidea|}}}|{{!}}-|{{!}}- | {{#if:{{{hidea|}}}|{{!}}-|{{!}}- | ||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFF}}}; text-align:center; background:{{{sectionBG|#4F5360}}}" {{!}} {{{section1-title| | ! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFF}}}; text-align:center; background:{{{sectionBG|#4F5360}}}" {{!}} {{{section1-title|Overview}}}}} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{ | {{#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;" {{!}} | |||
'''{{{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}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{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}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
Line 66: | Line 39: | ||
{{!}} 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}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{lifespan|}}} | {{{lifespan|}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{techlevel|}}}| | {{#if:{{{techlevel|}}}| | ||
Line 99: | Line 63: | ||
{{!}} 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}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | ||
{{{othernames|}}} | {{{othernames|}}} | ||
{{!}}-}} | {{!}}-}} | ||
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | | | colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" | | ||
Line 114: | Line 72: | ||
|name= | |name= | ||
|image= | |image= | ||
| | |homeworld= | ||
|height= | |height= | ||
|weight= | |weight= | ||
|distinctions= | |distinctions= | ||
|lifespan= | |lifespan= | ||
|techlevel= | |techlevel= | ||
|notable-group= | |notable-group= | ||
|notable-person= | |notable-person= | ||
|othernames= | |othernames= | ||
}}</nowiki></pre> | }}</nowiki></pre> | ||
Revision as of 11:09, August 28, 2018
Species infobox | |
---|---|
Overview | |
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Species infobox |name= |image= |homeworld= |height= |weight= |distinctions= |lifespan= |techlevel= |notable-group= |notable-person= |othernames= }}
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=