Template:TaxoBox
From The Ultimate Programming Reference
(Difference between revisions)
m (Experimenting...) |
m (Experimenting...) |
||
Line 9: | Line 9: | ||
| | | | ||
{| style="margin:0 auto; text-align:left; background:none;" cellpadding="2" | {| style="margin:0 auto; text-align:left; background:none;" cellpadding="2" | ||
- | {{#if:{{{regnum | + | {{#if:{{{regnum}}}|<tr><td valign=top>Kingdom:</td><td>{{{regnum}}}</td></tr>}} |
- | + | {{#if:{{{phylum}}}|<tr><td valign=top>Phylum:</td><td>{{{phylum}}}</td></tr>}} | |
- | + | {{#if:{{{class}}}|<tr><td valign=top>Class:</td><td>{{{class}}}</td></tr>}} | |
- | + | {{#if:{{{order}}}|<tr><td valign=top>Order:</td><td>{{{order}}}</td></tr>}} | |
- | + | {{#if:{{{family}}}|<tr><td valign=top>Family:</td><td>{{{family}}}</td></tr>}} | |
- | + | {{#if:{{{genus}}}|<tr><td valign=top>Genus:</td><td>{{{genus}}}</td></tr>}} | |
- | + | {{#if:{{{series}}}|<tr><td valign=top>Series:</td><td>{{{series}}}</td></tr>}} | |
- | -->{{#if:{{{subspecies | + | {{#if:{{{species|}}}|<tr><td valign=top>Species:</td><td>{{{species}}}<br><small>{{{species_authority|}}}</small></td></tr>}}<!-- |
- | -->{{#if:{{{codenum | + | -->{{#if:{{{subspecies}}}|<tr><td valign=top>Subspecies:</td><td>{{{subspecies|}}}<br><small>{{{subspecies_authority|}}}</small></td></tr>}}<!-- |
+ | -->{{#if:{{{codenum}}}|<tr><td valign=top>ID Code:</td><td>{{{codenum}}}<br><small>{{{codenum_authority|}}}</small></td></tr>}} | ||
|}<!-- | |}<!-- | ||
|- | |- |
Revision as of 11:14, 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 = | regnum = | phylum = | class = | order = | family = | genus = | series = | species = | subspecies = | codenum = | subdivision_ranks = | subdivision = }}