Difference between revisions of "Template:Taxobox"

From WikiVet English
Jump to navigation Jump to search
(9 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:#4688D3; color:#010;" | {{{name<includeonly>|{{PAGENAME}}</includeonly>}}}
+
! colspan="2" style="text-align:center; font-size:larger; background-color:{{#if:{{{bgcolour|}}}|{{{bgcolour}}}|DodgerBlue}}; 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 15: Line 10:
 
! Phylum
 
! Phylum
 
{{!}} {{{phylum}}}
 
{{!}} {{{phylum}}}
{{!}}-
 
}}
 
{{#if: {{{super-class<includeonly>|</includeonly>}}} |
 
! Super-class
 
{{!}} {{{super-class}}}
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 30: Line 20:
 
! Sub-class
 
! Sub-class
 
{{!}} {{{sub-class}}}
 
{{!}} {{{sub-class}}}
{{!}}-
 
}}
 
{{#if: {{{super-order<includeonly>|</includeonly>}}} |
 
! Super-order
 
{{!}} {{{super-order}}}
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 40: Line 25:
 
! Order
 
! Order
 
{{!}} {{{order}}}
 
{{!}} {{{order}}}
{{!}}-
 
}}
 
{{#if: {{{sub-order<includeonly>|</includeonly>}}} |
 
! Sub-order
 
{{!}} {{{sub-order}}}
 
 
{{!}}-
 
{{!}}-
 
}}
 
}}
Line 75: Line 55:
 
<br>
 
<br>
 
=Instructions=
 
=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.
+
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. I am working on a way to edit this.
  
 
<pre>
 
<pre>
 
{{Taxobox
 
{{Taxobox
|name              =
 
 
|kingdom            =
 
|kingdom            =
|sub-kingdom        =
 
 
|phylum            =
 
|phylum            =
|super-class        =
 
 
|class              =
 
|class              =
 
|sub-class          =
 
|sub-class          =
|super-order        =
 
 
|order              =
 
|order              =
|sub-order          =
 
 
|super-family      =
 
|super-family      =
 
|family            =
 
|family            =
Line 97: Line 72:
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>
 +
[[Category:To_Do_-_NickJ]]

Revision as of 15:48, 26 July 2010

{{{name}}}
Kingdom {{{kingdom}}}
Phylum {{{phylum}}}
Class {{{class}}}
Sub-class {{{sub-class}}}
Order {{{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. I am working on a way to edit this.

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