Template:Species infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{!}}-}}" to "}} |-")
m (Text replacement - "|{{!}}-|{{!}}-" to "||")
Line 6: Line 6:
}}
}}
|-
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#4F5360}}}" {{!}} {{{section1-title|Biological overview}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#4F5360}}}" {{!}} {{{section1-title|Biological overview}}}
}}
}}
Line 46: Line 46:
}}
}}
|-
|-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#4F5360}}}" {{!}} {{{section2-title|Physical information}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#4F5360}}}" {{!}} {{{section2-title|Physical information}}}
}}
}}
Line 78: Line 78:
}}
}}
|-
|-
{{#if:{{{hidec|}}}|{{!}}-|{{!}}-
{{#if:{{{hidec|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#4F5360}}}" {{!}} {{{section3-title|Sociocultural information}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#4F5360}}}" {{!}} {{{section3-title|Sociocultural information}}}
}}
}}

Revision as of 11:22, October 18, 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
|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=