Template:Species infobox: Difference between revisions

From Halopedia, the Halo wiki

(adding the ability to make this a flood themed species box)
m (Text replacement - "|- {{#if:" to "|- {{#if:")
Line 2: Line 2:
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:#fff" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#D0D1D7}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#D0D1D7}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}

Revision as of 09:45, November 15, 2022

Species infobox
Biological overview
Physical information
Sociocultural information
 

Usage instructions

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

{{Species infobox
|variant=<!--Leave blank for most species. Use Flood parameter to theme infobox green.-->
|name=
|image=
|latin=
|classification=
|species=
|subspecies=
|diet=
|height=
|weight=
|distinctions=
|lifespan=
|homeworld=
|techlevel=
|notable-person=
|othernames=
|languages=
}}

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=