Template:Species infobox: Difference between revisions

From Halopedia, the Halo wiki

m (test)
mNo edit summary
Line 47: Line 47:
|-
|-
{{#if:{{{hideb|}}}||
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#{{#switch:{{{variant|}}}|Flood=DDB|#default=4F5360}}}}}" {{!}} {{{section2-title|Physical information}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#{{#switch:{{{variant|}}}|Flood=616b51|#default=4F5360}}}}}" {{!}} {{{section2-title|Physical information}}}
}}
}}
|-
|-
Line 79: Line 79:
|-
|-
{{#if:{{{hidec|}}}||
{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#{{#switch:{{{variant|}}}|Flood=DDB|#default=4F5360}}}}}" {{!}} {{{section3-title|Sociocultural information}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#{{#switch:{{{variant|}}}|Flood=616b51|#default=4F5360}}}}}" {{!}} {{{section3-title|Sociocultural information}}}
}}
}}
|-
|-

Revision as of 09:53, 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=