Template:Species infobox: Difference between revisions
From Halopedia, the Halo wiki
(Fixed source link) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em; color:{{{color|inherit}}}; background:{{{BG|#4F5360}}};" | |||
{{!}}- | |||
! style="background:{{{nameBG|transparent}}}; text-align:center; font-size:120%; color:#FFFFFF;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
{{!}}- | |||
{{#if:{{{image|}}}| | |||
! style="background:{{{imageBG|#D0D1D7}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}} | |||
}} | |||
{{!}}- | |||
{{#if:{{{othernames|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{othernames-title|Other nomenclature}}}:''' | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{othernames|}}} | |||
{{!}}-}} | |||
{{#if:{{{homeworld|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; width:100px;" {{!}} | |||
'''{{{homeworld-title|Homeworld}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{homeworld|}}} | {{{homeworld|}}} | ||
{{!}}-}} | |||
{{#if:{{{homeworld|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{homeworld-title|Birthplace}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{homeworld|}}} | |||
{{!}}-}} | |||
{{#if:{{{height|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{height-title|Average height}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{height|}}} | {{{height|}}} | ||
{{!}}-}} | |||
{{#if:{{{weight|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{weight-title|Average weight}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{weight|}}} | {{{weight|}}} | ||
{{!}}-}} | |||
{{ | {{#if:{{{distinctions|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{ | '''{{{distinctions-title|Distinctions}}}''': | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{distinctions|}}} | |||
{{!}}-}} | |||
{{#if:{{{lifespan|}}}| | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
'''{{{lifespan-title|Average lifespan}}}''': | |||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{lifespan|}}} | {{{lifespan|}}} | ||
{{!}}-}} | |||
{{ | {{#if:{{{notable-group|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{ | '''{{{notable-group-title|Notable organisation}}}:''' | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{ | {{{notable-group|}}} | ||
{{!}}-}} | |||
{{{ | {{#if:{{{notable-person|}}}| | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{ | '''{{{notable-person-title|Notable individuals}}}:''' | ||
{{!}} style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; border-bottom:1px solid {{{lineBG|#999999}}}; border-top:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}} | |||
{{{ | {{{notable-person|}}} | ||
{{!}}-}} | |||
{{clear}} | | colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px;" | [[Template:Species Infobox|<span style="color:#FFFFFF;">[Source]</span>]] | ||
|}<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> | <pre><nowiki> | ||
{{Species Infobox | {{Species Infobox | ||
| | |othernames= | ||
|image= | |image= | ||
|homeworld= | |homeworld= | ||
|height= | |height= | ||
|weight= | |weight= | ||
| | |distinctions= | ||
|lifespan= | |lifespan= | ||
| | |notable-group= | ||
|notable-person= | |||
|notable | |||
}}</nowiki></pre> | }}</nowiki></pre> | ||
== | ==Custom parameters== | ||
The following allows you to alter the title of the sub-sections: | |||
<pre> | |||
|imageBG= | |||
|nameBG= | |||
|sectionBG= | |||
< | |fieldBG= | ||
|titleBG= | |||
</ | |color1= | ||
|color2= | |||
|section1-title= | |||
|section2-title= | |||
</pre> | |||
[[Category:Infoboxes|{{PAGENAME}}]] | [[Category:Infoboxes|{{PAGENAME}}]] | ||
[[Category: | [[Category:Updated templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 08:38, December 20, 2011
Species infobox | |
---|---|
[Source] |
Usage instructions
Paste the following code into the top of an article, filling all known fields:
{{Species Infobox |othernames= |image= |homeworld= |height= |weight= |distinctions= |lifespan= |notable-group= |notable-person= }}
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=