Template:Species infobox: Difference between revisions
From Halopedia, the Halo wiki
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$2|content=$1}}") |
No edit summary |
||
Line 1: | Line 1: | ||
{| | {{Infobox|start|bg=#{{#switch:{{{variant}}}|Flood=5D6A42|334B5B}}}} | ||
{{Infobox|title|name={{{name|}}}}} | |||
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#D0D1D7}} | |||
{{ | |||
{{Infobox|section|title={{{section1-title|Biological overview}}}|bg=#{{#switch:{{{variant}}}|Flood=616B51|4F5360}}|entries= | |||
{{ | |||
{{Infobox|entry|title={{{latin-title|Latin name}}}|content={{{latin|}}}}} | {{Infobox|entry|title={{{latin-title|Latin name}}}|content={{{latin|}}}}} | ||
{{Infobox|entry|title={{{classification-title|Classification}}}|content={{{classification|}}}}} | {{Infobox|entry|title={{{classification-title|Classification}}}|content={{{classification|}}}}} | ||
<!--This is specifically for sub-species, most notable examples being the Kig-Yar and Lekgolo, but is reserved for if more turn up.--> | <!--This is specifically for sub-species, most notable examples being the Kig-Yar and Lekgolo, but is reserved for if more turn up.--> | ||
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}}} | {{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}}} | ||
{{Infobox|entry|title={{{subspecies-title|Subspecies}}}|content={{{subspecies|}}}}} | {{Infobox|entry|title={{{subspecies-title|Subspecies}}}|content={{{subspecies|}}}}} | ||
{{Infobox|entry|title={{{diet-title|Diet}}}|content={{{diet|}}}}} | {{Infobox|entry|title={{{diet-title|Diet}}}|content={{{diet|}}}}} | ||
}} | }} | ||
|- | |||
{{Infobox|section|title={{{section2-title|Physical information}}}|bg=#{{#switch:{{{variant}}}|Flood=616B51|4F5360}}|entries= | |||
{{Infobox|entry|title={{{height-title|Avg. height}}}|content={{{height|}}}}} | {{Infobox|entry|title={{{height-title|Avg. height}}}|content={{{height|}}}}} | ||
{{Infobox|entry|title={{{weight-title|Avg. weight}}}|content={{{weight|}}}}} | {{Infobox|entry|title={{{weight-title|Avg. weight}}}|content={{{weight|}}}}} | ||
{{Infobox|entry|title={{{distinctions-title|Distinctions}}}|content={{{distinctions|}}}}} | {{Infobox|entry|title={{{distinctions-title|Distinctions}}}|content={{{distinctions|}}}}} | ||
{{Infobox|entry|title={{{lifespan-title|Avg. lifespan}}}|content={{{lifespan|}}}}} | {{Infobox|entry|title={{{lifespan-title|Avg. lifespan}}}|content={{{lifespan|}}}}} | ||
}} | }} | ||
|- | |||
{{Infobox|section|title={{{section3-title|Sociocultural information}}}|bg=#{{#switch:{{{variant}}}|Flood=616B51|4F5360}}|entries= | |||
{{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}}} | {{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}}} | ||
{{Infobox|entry|title={{{techlevel-title|[[Technological Achievement Tiers|Technology level]]}}}|content={{{techlevel|}}}}} | {{Infobox|entry|title={{{techlevel-title|[[Technological Achievement Tiers|Technology level]]}}}|content={{{techlevel|}}}}} | ||
Line 33: | Line 25: | ||
{{Infobox|entry|title={{{othernames-title|Also known as}}}|content={{{othernames|}}}}} | {{Infobox|entry|title={{{othernames-title|Also known as}}}|content={{{othernames|}}}}} | ||
{{Infobox|entry|title={{{languages-title|Languages}}}|content={{{languages|}}}}} | {{Infobox|entry|title={{{languages-title|Languages}}}|content={{{languages|}}}}} | ||
}} | |||
{{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Species {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>{{clear}} | {{Infobox|end}}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Species {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}</includeonly><noinclude>{{clear}} | ||
==Usage instructions== | ==Usage instructions== | ||
Line 62: | Line 56: | ||
<pre> | <pre> | ||
|section1-title= | |section1-title= | ||
|section2-title= | |section2-title= | ||
|section3-title= | |||
</pre> | </pre> | ||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Revision as of 10:22, August 29, 2023
Species infobox | |
---|---|
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:
|section1-title= |section2-title= |section3-title=