Template:Species infobox: Difference between revisions

From Halopedia, the Halo wiki

mNo edit summary
m (Text replacement - "dummy edit" to "Category:Infobox templates")
Tag: Manual revert
 
(91 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="float:right; clear:right; width:300px; margin:10px; margin-right:0px; padding:2px; background:{{{BG|#334B5B}}}; border-radius: 0 0 .7em .7em; color:{{{color1|inherit}}};"
{{Infobox|start|bg=#{{#switch:{{{variant}}}|Flood=5D6A42|334B5B}}}}
{{!}}-
{{Infobox|title|name={{{name|}}}}}
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=#D0D1D7}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Biological overview}}}|bg=#{{#switch:{{{variant}}}|Flood=616B51|4F5360}}|entries=
! style="background:{{{imageBG|#D0D1D7}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}}
{{Infobox|entry|title={{{latin-title|Latin name}}}|content={{{latin|}}}}}
{{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.-->
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}}}
{{Infobox|entry|title={{{subspecies-title|Subspecies}}}|content={{{subspecies|}}}}}
{{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={{{weight-title|Avg. weight}}}|content={{{weight|}}}}}
{{Infobox|entry|title={{{distinctions-title|Distinctions}}}|content={{{distinctions|}}}}}
{{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={{{techlevel-title|[[Technological Achievement Tiers|Technology level]]}}}|content={{{techlevel|}}}}}
{{Infobox|entry|title={{{notable-person-title|Notable individuals}}}|content={{{notable-person|}}}}}
{{Infobox|entry|title={{{othernames-title|Also known as}}}|content={{{othernames|}}}}}
{{Infobox|entry|title={{{languages-title|Languages}}}|content={{{languages|}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Species}}}}}</includeonly><noinclude>{{clear}}
! class="infoboxsubheading" colspan="2" style="font-size:110%; color:{{{color2|#FFF}}}; text-align:center; background:{{{sectionBG|#4F5360}}}" {{!}} {{{section1-title|Overview}}}}}
{{!}}-
{{#if:{{{homeworld|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px; width:100px;" {{!}}
'''{{{homeworld-title|Homeworld}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{homeworld|}}}
{{!}}-}}
{{#if:{{{height|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{height-title|Avg. height}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{height|}}}
{{!}}-}}
{{#if:{{{weight|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{weight-title|Avg. weight}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{weight|}}}
{{!}}-}}
{{#if:{{{distinctions|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{distinctions-title|Distinctions}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{distinctions|}}}
{{!}}-}}
{{#if:{{{lifespan|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{lifespan-title|Avg. lifespan}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{lifespan|}}}
{{!}}-}}
{{#if:{{{techlevel|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{techlevel-title|[[Technological Achievement Tiers|Technology level]]}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{techlevel|}}}
{{!}}-}}
{{#if:{{{notable-group|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{notable-group-title|Notable groups}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{notable-group|}}}
{{!}}-}}
{{#if:{{{notable-person|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{notable-person-title|Notable individuals}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{notable-person|}}}
{{!}}-}}
{{#if:{{{othernames|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
'''{{{othernames-title|Also known as}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; text-align:left; font-size:100%; padding: 0 0 0 2px; line-height:16px;" {{!}}
{{{othernames|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:1px; line-height:10px;" |&nbsp;
|}<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:
<pre><nowiki>
 
{{Species Infobox
<pre>
|othernames=
{{Species infobox
|variant=<!--Leave blank for most species. Use Flood parameter to theme infobox green.-->
|name=
|image=
|image=
|homeworld=
|latin=
|classification=
|species=
|subspecies=
|diet=
|height=
|height=
|weight=
|weight=
|distinctions=
|distinctions=
|lifespan=
|lifespan=
|homeworld=
|techlevel=
|techlevel=
|notable-group=
|notable-person=
|notable-person=
}}</nowiki></pre>
|othernames=
|languages=
}}
</pre>


==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections:
The following allows you to alter the title of the sub-sections:
<pre>
<pre>
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section1-title=
|section2-title=
|section2-title=
|section3-title=
</pre>
</pre>


[[Category:Updated infoboxes|{{PAGENAME}}]]
[[Category:Infobox templates]]</noinclude>
</noinclude>

Latest revision as of 11: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=