Difference between revisions of "Template:Taxobox"

From WikiVet English
Jump to navigation Jump to search
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{| class="toccolours vevent" align=right style="width:{{{box_width|20em}}}; font-size:90%; text-align:left;"
 
{| class="toccolours vevent" align=right style="width:{{{box_width|20em}}}; font-size:90%; text-align:left;"
! colspan="2" style="text-align:center; font-size:larger; background-color:{{#if:{{{bgcolour|}}}|{{{bgcolour}}}|silver}}; color:#010;" | {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
+
! colspan="2" style="text-align:center; font-size:larger; background-color:#4688D3; color:#010;" | {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
 
|-
 
|-
 
{{#if: {{{kingdom<includeonly>|</includeonly>}}} |
 
{{#if: {{{kingdom<includeonly>|</includeonly>}}} |
 
! width="85" {{!}} Kingdom
 
! width="85" {{!}} Kingdom
 
{{!}} {{{kingdom}}}
 
{{!}} {{{kingdom}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{sub-kingdom<includeonly>|</includeonly>}}} |
 +
! Sub-kingdom
 +
{{!}} {{{sub-kingdom}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 10: Line 15:
 
! Phylum
 
! Phylum
 
{{!}} {{{phylum}}}
 
{{!}} {{{phylum}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{super-class<includeonly>|</includeonly>}}} |
 +
! Super-class
 +
{{!}} {{{super-class}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 15: Line 25:
 
! Class
 
! Class
 
{{!}} {{{class}}}
 
{{!}} {{{class}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{sub-class<includeonly>|</includeonly>}}} |
 +
! Sub-class
 +
{{!}} {{{sub-class}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{super-order<includeonly>|</includeonly>}}} |
 +
! Super-order
 +
{{!}} {{{super-order}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 22: Line 42:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
{{#if: {{{superfamily<includeonly>|</includeonly>}}} |
+
{{#if: {{{sub-order<includeonly>|</includeonly>}}} |
 +
! Sub-order
 +
{{!}} {{{sub-order}}}
 +
{{!}}-
 +
}}
 +
{{#if: {{{super-family<includeonly>|</includeonly>}}} |
 
! Super-family
 
! Super-family
{{!}} {{{superfamily}}}
+
{{!}} {{{super-family}}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 47: Line 72:
 
{{!}}-
 
{{!}}-
 
}}
 
}}
|}
+
|}<noinclude>
 +
<br>
 +
=Instructions=
 +
To use this template insert the following onto your page and fill in the details following the equals sign. You do not need to use all of the categories and those not used will not appear on the front end version of the page. The name will be filled in with the title of the page unless otherwise stated (does not appear to be doing that automatically). Links can be added to the added text in the normal way where they are relevant. Any edits made to the above code will alter its appearance on all pages to which it is transcluded, therefore if a change you make does not have the intended effect please undo that change immediately. The sandbox page is available to experiment on as well as your own user space.
 +
 
 +
<pre>
 +
{{Taxobox
 +
|name              =
 +
|kingdom            =
 +
|sub-kingdom        =
 +
|phylum            =
 +
|super-class        =
 +
|class              =
 +
|sub-class          =
 +
|super-order        =
 +
|order              =
 +
|sub-order          =
 +
|super-family      =
 +
|family            =
 +
|sub-family        =
 +
|genus              =
 +
|species            =
 +
}}
 +
</pre>
 +
</noinclude>

Latest revision as of 15:53, 27 October 2014

{{{name}}}
Kingdom {{{kingdom}}}
Sub-kingdom {{{sub-kingdom}}}
Phylum {{{phylum}}}
Super-class {{{super-class}}}
Class {{{class}}}
Sub-class {{{sub-class}}}
Super-order {{{super-order}}}
Order {{{order}}}
Sub-order {{{sub-order}}}
Super-family {{{super-family}}}
Family {{{family}}}
Sub-family {{{sub-family}}}
Genus {{{genus}}}
Species {{{species}}}


Instructions

To use this template insert the following onto your page and fill in the details following the equals sign. You do not need to use all of the categories and those not used will not appear on the front end version of the page. The name will be filled in with the title of the page unless otherwise stated (does not appear to be doing that automatically). Links can be added to the added text in the normal way where they are relevant. Any edits made to the above code will alter its appearance on all pages to which it is transcluded, therefore if a change you make does not have the intended effect please undo that change immediately. The sandbox page is available to experiment on as well as your own user space.

{{Taxobox
|name               =
|kingdom            =
|sub-kingdom        =
|phylum             =
|super-class        =
|class              =
|sub-class          =
|super-order        =
|order              =
|sub-order          =
|super-family       =
|family             =
|sub-family         =
|genus              =
|species            =
}}