Difference between revisions of "Template:Taxonomy"
Jump to navigation
Jump to search
m |
(testing new version of template; will rollback if crashes and burns) |
||
| Line 1: | Line 1: | ||
| − | + | {| class="infobox bordered" style="float: width:23em; right; margin: 0 0 0.5em 0.5em; text-align: left; font-size: 85%; margin-left:5px" border=0 align="right" cellpadding="2" cellspacing="0" width="250" | |
| − | {| class="infobox bordered" style="float: right; margin: 0 0 0.5em 0.5em; text-align: left; font-size: | ||
|- | |- | ||
| − | + | !colspan="2" align="center" style="color: black; font-size: 120%; height: 20px; background: lightgreen no-repeat scroll top left;"| '''{{{name|{{PAGENAME}}}}}''' | |
|- | |- | ||
| − | + | <!----------Image----------> | |
| + | {{!}}align="center" colspan="2"{{!}}{{#if:{{{image|}}}|[[image:{{{image}}}|200px]]|}} | ||
| + | {{!-}} | ||
|- | |- | ||
!colspan="2" align="center" style="color: black; height: 24px; background: lightgreen no-repeat scroll top left;"|[[Scientific Classification]] | !colspan="2" align="center" style="color: black; height: 24px; background: lightgreen no-repeat scroll top left;"|[[Scientific Classification]] | ||
|- | |- | ||
| − | ! [[ | + | <!---------Kingdom----------> |
| − | + | {{#if:{{{kingdom|}}} | <!--then:--> | |
| − | |- | + | {{!}} '''Kingdom''' |
| − | ! [[ | + | {{!}} [[{{{kingdom|}}}]] | <!--else--> |
| − | + | }} | |
| − | + | {{!-}} | |
| − | ! [[ | + | <!---------Phylum----------> |
| − | + | {{#if:{{{phylum|}}} | <!--then:--> | |
| − | + | {{!}} '''Phylum''' | |
| − | ! [[ | + | {{!}} [[{{{phylum|}}}]] | <!--else--> |
| − | + | }} | |
| − | |- | + | {{!-}} |
| − | ! | + | <!---------Sub-phylum----------> |
| − | + | {{#if:{{{subphylum|}}} | <!--then:--> | |
| − | + | {{!}} '''Sub-phylum''' | |
| − | ! [[ | + | {{!}} [[{{{subphylum|}}}]] | <!--else--> |
| − | |< | + | }} |
| − | |- | + | {{!-}} |
| − | ! | + | <!---------Division if plant----------> |
| − | + | {{#if:{{{division|}}} | <!--then:--> | |
| − | + | {{!}} '''Division''' | |
| − | ! [[ | + | {{!}} [[{{{division|}}}]] | <!--else--> |
| − | + | }} | |
| − | |- | + | {{!-}} |
| − | ! | + | <!---------Subdivision if plant----------> |
| − | + | {{#if:{{{subdivision|}}} | <!--then:--> | |
| − | + | {{!}} '''Sub-division''' | |
| − | ! [[ | + | {{!}} [[{{{subdivision|}}}]] | <!--else--> |
| − | |< | + | }} |
| − | + | {{!-}} | |
| − | ! | + | <!---------Class----------> |
| − | + | {{#if:{{{class|}}} | <!--then:--> | |
| − | + | {{!}} '''Class''' | |
| − | + | {{!}} [[{{{class|}}}]] | <!--else--> | |
| − | | | + | }} |
| + | {{!-}} | ||
| + | <!---------Sub-class----------> | ||
| + | {{#if:{{{subclass|}}} | <!--then:--> | ||
| + | {{!}} '''Sub-class''' | ||
| + | {{!}} [[{{{subclass|}}}]] | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | <!---------Order----------> | ||
| + | {{#if:{{{order|}}} | <!--then:--> | ||
| + | {{!}} '''Order''' | ||
| + | {{!}} [[{{{order|}}}]] | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | <!---------Sub-order----------> | ||
| + | {{#if:{{{suborder|}}} | <!--then:--> | ||
| + | {{!}} '''Sub-order''' | ||
| + | {{!}} [[{{{suborder|}}}]] | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | <!---------Family----------> | ||
| + | {{#if:{{{family|}}} | <!--then:--> | ||
| + | {{!}} '''Family''' | ||
| + | {{!}} [[{{{family|}}}]] | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | <!---------Sub-family----------> | ||
| + | {{#if:{{{subfamily|}}} | <!--then:--> | ||
| + | {{!}} '''Sub-family''' | ||
| + | {{!}} [[{{{subfamily|}}}]] | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | <!---------Genus----------> | ||
| + | {{#if:{{{genus|}}} | <!--then:--> | ||
| + | {{!}} '''Genus''' | ||
| + | {{!}} [[{{{genus|}}}]] | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | <!---------Binomial name----------> | ||
| + | {{#if:{{{binomialname|}}} | <!--then:--> | ||
| + | {{!}} '''Binomial name''' | ||
| + | {{!}} [[{{{binomialname|}}}]] | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | <!---------Sub-species----------> | ||
| + | {{#if:{{{sub|}}} | <!--then:--> | ||
| + | {{!}} '''Subspecies''' | ||
| + | {{!}} [[{{{sub|}}}]] | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
| + | <!---------Alternative subspecies text----------> | ||
| + | {{#if:{{{alt|}}} | <!--then:--> | ||
| + | {{!}} '''Subspecies ''' | ||
| + | {{!}} [[{{{alt|}}}]] | <!--else--> | ||
| + | }} | ||
| + | {{!-}} | ||
|}<noinclude> | |}<noinclude> | ||
| − | {{TemplateDoc|pages=Article pages|purpose= | + | |
| + | {{TemplateDoc|pages=Article pages|purpose=Scientific Classification|cat=}} | ||
{{Parms| | {{Parms| | ||
| − | {{Parm|name|Name of | + | {{Parm|name|Name of animal or plant|no|defaults to page name}} |
| − | {{Parm|image|Picture of | + | {{Parm|image|Picture of animal or plant|no|only the file name is required}} |
| − | |||
{{Parm|kingdom|Kingdom|no|}} | {{Parm|kingdom|Kingdom|no|}} | ||
| − | {{Parm|phylum|Phylum|no|}} | + | {{Parm|phylum|Phylum|no|if animal|}} |
| − | {{Parm|subphylum| | + | {{Parm|subphylum|Subphylum|no|if animal|}} |
| + | {{Parm|division|Division|no|if plant|}} | ||
| + | {{Parm|subdivision|Subdivision|no|if plant|}} | ||
{{Parm|class|Class|no|}} | {{Parm|class|Class|no|}} | ||
{{Parm|subclass|Subclass|no|}} | {{Parm|subclass|Subclass|no|}} | ||
{{Parm|order|Order|no|}} | {{Parm|order|Order|no|}} | ||
| − | {{Parm|suborder| | + | {{Parm|suborder|Suborder|no|}} |
{{Parm|family|Family|no|}} | {{Parm|family|Family|no|}} | ||
| − | {{Parm|subfamily| | + | {{Parm|subfamily|Subfamily|no|}} |
{{Parm|genus|Genus|no|}} | {{Parm|genus|Genus|no|}} | ||
| − | {{Parm| | + | {{Parm|binomialname|Binomial name|no|}} |
| − | {{Parm| | + | {{Parm|sub|Subspecies|no|if one subspecies covered by article|}} |
| + | {{Parm|alt|Alternative text|no|eg See article for list of subspecies|}} | ||
}} | }} | ||
| + | |||
| + | ===Sample Data Block=== | ||
| + | The following may be copied and pasted at the top of the page being edited | ||
| + | <pre> | ||
| + | <nowiki>{{</nowiki>President<br> | ||
| + | |name=<br> | ||
| + | |image=<br> | ||
| + | |kingdom=<br> | ||
| + | |phylum=<br> | ||
| + | |subphylum=<br> | ||
| + | |division=<br> | ||
| + | |subdivision=<br> | ||
| + | |class=<br> | ||
| + | |subclass=<br> | ||
| + | |order=<br> | ||
| + | |suborder=<br> | ||
| + | |family=<br> | ||
| + | |subfamily=<br> | ||
| + | |genus=<br> | ||
| + | |binomial name=<br> | ||
| + | |sub=<br> | ||
| + | |alt=<br> | ||
| + | <nowiki>}}</nowiki> | ||
| + | </pre> | ||
| + | |||
</noinclude> | </noinclude> | ||
Revision as of 23:03, July 7, 2007
| Taxonomy | |
|---|---|
| Scientific Classification |
| Template: Taxonomy | |
|---|---|
| Use on | Article pages |
| Use for | Scientific Classification |
| Category template applies to page | (none) |
| Template Parameters (See using templates). | |||
|---|---|---|---|
| Name | Purpose | Required? | Comment |
| name | Name of animal or plant | no | defaults to page name |
| image | Picture of animal or plant | no | only the file name is required |
| kingdom | Kingdom | no | |
| phylum | Phylum | no | if animal |
| subphylum | Subphylum | no | if animal |
| division | Division | no | if plant |
| subdivision | Subdivision | no | if plant |
| class | Class | no | |
| subclass | Subclass | no | |
| order | Order | no | |
| suborder | Suborder | no | |
| family | Family | no | |
| subfamily | Subfamily | no | |
| genus | Genus | no | |
| binomialname | Binomial name | no | |
| sub | Subspecies | no | if one subspecies covered by article |
| alt | Alternative text | no | eg See article for list of subspecies |
Sample Data Block
The following may be copied and pasted at the top of the page being edited
{{President<br>
|name=<br>
|image=<br>
|kingdom=<br>
|phylum=<br>
|subphylum=<br>
|division=<br>
|subdivision=<br>
|class=<br>
|subclass=<br>
|order=<br>
|suborder=<br>
|family=<br>
|subfamily=<br>
|genus=<br>
|binomial name=<br>
|sub=<br>
|alt=<br>
}}