Template:Species infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
m (standardising the flood background colour with the flood navbox for consistency)
Line 1: Line 1:
{| class="infobox" style="width:300px; background:{{{BG|#{{#switch:{{{variant|}}}|Flood=996|#default=334B5B}}}}}; color:{{{color1|#000}}}" cellspacing="0"
{| class="infobox" style="width:300px; background:{{{BG|#{{#switch:{{{variant|}}}|Flood=5D6A42|#default=334B5B}}}}}; color:{{{color1|#000}}}" cellspacing="0"
! 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}}}}
|-
|-

Revision as of 18:09, November 16, 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=