Template:TaxoBox
From The Ultimate Programming Reference
(Difference between revisions)
m |
|||
Line 2: | Line 2: | ||
|- style="text-align:center;" | |- style="text-align:center;" | ||
! style="background: {{{color}}};" |'''{{{name}}}''' | ! style="background: {{{color}}};" |'''{{{name}}}''' | ||
- | |||
|- style="text-align:center;" | |- style="text-align:center;" | ||
| {{#if:{{{image|}}}|[[image:{{{image}}}|{{{image_width|200px}}}|{{{image_caption|}}}]]<br><small><div style="text-align:center">{{{image_caption|}}}</div></small>}} <!-- --> | | {{#if:{{{image|}}}|[[image:{{{image}}}|{{{image_width|200px}}}|{{{image_caption|}}}]]<br><small><div style="text-align:center">{{{image_caption|}}}</div></small>}} <!-- --> | ||
Line 15: | Line 14: | ||
-->{{#if:{{{class|}}}|<tr><td valign=top>Class:</td><td>{{{class|}}}<br><small>{{{class_authority|}}}</small></td></tr>}}<!-- | -->{{#if:{{{class|}}}|<tr><td valign=top>Class:</td><td>{{{class|}}}<br><small>{{{class_authority|}}}</small></td></tr>}}<!-- | ||
-->{{#if:{{{order|}}}|<tr><td valign=top>Order:</td><td>{{{order|}}}<br><small>{{{order_authority|}}}</small></td></tr>}}<!-- | -->{{#if:{{{order|}}}|<tr><td valign=top>Order:</td><td>{{{order|}}}<br><small>{{{order_authority|}}}</small></td></tr>}}<!-- | ||
- | -->{{#if:{{{ | + | -->{{#if:{{{family|}}}|<tr><td valign=top>Family:</td><td>{{{family|}}}<br><small>{{{familia_authority|}}}</small></td></tr>}}<!-- |
-->{{#if:{{{genus|}}}|<tr><td valign=top>Genus:</td><td>{{{genus|}}}<br><small>{{{genus_authority|}}}</small></td></tr>}}<!-- | -->{{#if:{{{genus|}}}|<tr><td valign=top>Genus:</td><td>{{{genus|}}}<br><small>{{{genus_authority|}}}</small></td></tr>}}<!-- | ||
-->{{#if:{{{series|}}}|<tr><td valign=top>Series:</td><td>{{{series|}}}<br><small>{{{series_authority|}}}</small></td></tr-->{{#if:{{{species|}}}|<tr><td valign=top>Species:</td><td>{{{species|}}}<br><small>{{{species_authority|}}}</small></td></tr>}}<!-- | -->{{#if:{{{series|}}}|<tr><td valign=top>Series:</td><td>{{{series|}}}<br><small>{{{series_authority|}}}</small></td></tr-->{{#if:{{{species|}}}|<tr><td valign=top>Species:</td><td>{{{species|}}}<br><small>{{{species_authority|}}}</small></td></tr>}}<!-- | ||
Line 35: | Line 34: | ||
Most parameters are optional, so if a particular entry is not relevant for your case, just leave it out. | Most parameters are optional, so if a particular entry is not relevant for your case, just leave it out. | ||
+ | |||
+ | |||
+ | A general TaxoBox: | ||
+ | <pre> | ||
+ | {{TaxoBox | ||
+ | | color = | ||
+ | | name = | ||
+ | | image = | ||
+ | | image2 = | ||
+ | | regnum = | ||
+ | | phylum = | ||
+ | | class = | ||
+ | | order = | ||
+ | | family = | ||
+ | | genus = | ||
+ | | series = | ||
+ | | species = | ||
+ | | subspecies = | ||
+ | | codenum = | ||
+ | | subdivision_ranks = | ||
+ | | subdivision = | ||
+ | }} | ||
+ | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 10:50, 8 May 2006
About This Template
This template sets up a taxobox. Although the implementation is complicated, it is relatively simple to use.
See this template's talk page on how to use it.
Most parameters are optional, so if a particular entry is not relevant for your case, just leave it out.
A general TaxoBox:
{{TaxoBox | color = | name = | image = | image2 = | regnum = | phylum = | class = | order = | family = | genus = | series = | species = | subspecies = | codenum = | subdivision_ranks = | subdivision = }}