Template:Species infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}" to "{{{name|{{PAGENAME}}}}}")
m (Text replacement - "{{{name|{{PAGENAME}}}}}" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}")
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:300px; background:{{{BG|#334B5B}}}; color:{{{color1|#000}}};"
{| class="infobox" cellspacing="0" style="width:300px; background:{{{BG|#334B5B}}}; color:{{{color1|#000}}};"
{{!}}-
{{!}}-
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{{name|{{PAGENAME}}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
Line 102: Line 102:
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" | 
|}<includeonly>{{pagetitle|{{{pagename|{{{name|{{PAGENAME}}}}}}}} - {{{pagelabel|Species {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>{{clear}}
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Species {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>{{clear}}
==Usage instructions==
==Usage instructions==
Paste the following code into the top of an article, filling all known fields:
Paste the following code into the top of an article, filling all known fields:

Revision as of 20:11, April 23, 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=