Template:Species infobox: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(109 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
{{Infobox|start|bg=#{{#switch:{{{variant}}}|Flood=5D6A42|334B5B}}}}
<tr><td colspan="2"><div id="infoboxinternal">
{{Infobox|title|name={{{name|}}}}}
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; background:#ffffff; border-collapse:collapse;">
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#D0D1D7}}
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:{{{imageBG|#D0D1D7}}};">{{{image|}}}<BR>{{{imagecaption|}}}</td></tr>
 
<tr style="text-align:center; color:#ffffff; background:#4F5360; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hideb|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#646D7E;">'''Biological information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Homeworld</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|section|title={{{section1-title|Biological overview}}}|bg=#{{#switch:{{{variant}}}|Flood=616B51|4F5360}}|entries=
{{{homeworld|}}}
{{Infobox|entry|title={{{latin-title|Latin name}}}|content={{{latin|}}}}}
</td></tr>|1{{{homeworld|}}}=}} {{t|1=|1{{{hidep|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#646D7E;">'''Physical description'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Height</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{classification-title|Classification}}}|content={{{classification|}}}}}
{{{height|}}}
<!--This is specifically for sub-species, most notable examples being the Kig-Yar and Lekgolo, but is reserved for if more turn up.-->
</td></tr>|1{{{height|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Weight</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}}}
{{{weight|}}}
{{Infobox|entry|title={{{subspecies-title|Subspecies}}}|content={{{subspecies|}}}}}
</td></tr>|1{{{weight|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Skin color</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{diet-title|Diet}}}|content={{{diet|}}}}}
{{{skincolor|}}}
}}
</td></tr>|1{{{skincolor|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Distinctions</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
 
{{{distinctions|}}}
{{Infobox|section|title={{{section2-title|Physical information}}}|bg=#{{#switch:{{{variant}}}|Flood=616B51|4F5360}}|entries=
</td></tr>|1{{{distinctions|}}}=}} {{t|1=|1{{{hidec|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#646D7E;">'''Military and political information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Equipment</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{height-title|Avg. height}}}|content={{{height|}}}}}
{{{equipment|}}}
{{Infobox|entry|title={{{weight-title|Avg. weight}}}|content={{{weight|}}}}}
</td></tr>|1{{{equipment|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Ranks</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{distinctions-title|Distinctions}}}|content={{{distinctions|}}}}}
{{{types|}}}
{{Infobox|entry|title={{{lifespan-title|Avg. lifespan}}}|content={{{lifespan|}}}}}
</td></tr>|1{{{types|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Affiliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
}}
{{{affiliation|}}}
 
</td></tr>|1{{{affiliation|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Notable individuals</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|section|title={{{section3-title|Sociocultural information}}}|bg=#{{#switch:{{{variant}}}|Flood=616B51|4F5360}}|entries=
{{{notable|}}}
{{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}}}
</td></tr>|1{{{notable|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Other nomenclature</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
{{Infobox|entry|title={{{techlevel-title|[[Technological Achievement Tiers|Technology level]]}}}|content={{{techlevel|}}}}}
{{{othernames|}}}
{{Infobox|entry|title={{{notable-person-title|Notable individuals}}}|content={{{notable-person|}}}}}
</td></tr>|1{{{othernames|}}}=}}</table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%; background:#4F5360; color:#ffffff"></td><td style="text-align:left; width:51%; background:#4F5360; color:#ffffff">&nbsp;&nbsp;[[Template:Covenant Species Infobox|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
{{Infobox|entry|title={{{othernames-title|Also known as}}}|content={{{othernames|}}}}}
{{clear}}
{{Infobox|entry|title={{{languages-title|Languages}}}|content={{{languages|}}}}}
===Usage instructions===
}}
 
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Species}}}}}</includeonly><noinclude>{{clear}}
==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:
<pre><nowiki>
 
{{Species Infobox
<pre>
{{Species infobox
|variant=<!--Leave blank for most species. Use Flood parameter to theme infobox green.-->
|name=
|name=
|image=
|image=
|imagecaption=
|latin=
|homeworld=
|classification=
|species=
|subspecies=
|diet=
|height=
|height=
|weight=
|weight=
|skincolor=
|distinctions=
|distinctions=
|equipment=
|lifespan=
|types=
|homeworld=
|affiliation=
|techlevel=
|notable=
|notable-person=
|othernames=
|othernames=
}}</nowiki></pre>
|languages=
}}
</pre>
 
==Custom parameters==
The following allows you to alter the title of the sub-sections:


===Display parameters===
<pre>
*hideb
|section1-title=
*hidep
|section2-title=
*hidec
|section3-title=
</pre>


===Source===
[[Category:Infobox templates]]</noinclude>
<nowiki>
{{subst:slh|#2D1452|250px}} {{subst:sls|Biological information|#7859A6|hideb}} {{subst:sld|Homeworld|homeworld}} {{subst:sld|Date&nbsp;of&nbsp;birth|birth}} {{subst:sld|Date&nbsp;of&nbsp;death|death}} {{subst:sls|Physical description|#7859A6|hidep}} {{subst:sld|Species|species}} {{subst:sld|Gender|gender}} {{subst:sld|Height|height}} {{subst:sld|Hair&nbsp;color|hair}} {{subst:sld|Eye&nbsp;color|eyes}} {{subst:sld|Cybernetics|cyber}} {{subst:sls|Chronological and political information|#7859A6|hidec}} {{subst:sld|Era(s)|era}} {{subst:sld|Affiliation|affiliation}} {{subst:slf}}
</nowiki>
[[Category:Infoboxes|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 10:11, June 14, 2024

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=