Үлгі:Taxobox
About this template
This template sets up a taxobox. Although the implementation is complicated, it is relatively simple to use. See taxobox usage for an explanation. For an example in practice, look at the edit page of Orca - [1]. Most parameters are optional, so if a particular entry is not relevant for your case, just leave it out.
Making changes
Before making any non-minor changes to this template, please make a copy of the whole template to your userspace and do tests there. This will avoid unnecessary load on the servers and prevent a large number of pages being screwed up. To edit and test the taxobox template in your userspace:
- Copy the text in the large edit box of Template:Taxobox to User:YOUR USERNAME/taxobox. Copy the whole text so that you don't leave anything out.
- Test the template with various taxonomies by copying the text of a plant/animal species or group to User:YOUR USERNAME/taxoboxtest.
- Replace the |Taxobox|...}} template used by User:YOUR USERNAME/taxoboxtest with {{User:YOUR USERNAME/taxobox|...}}
- If unsure, please check a few different animals and plants and groups
- Check the Template:Taxobox history, in case changes have been made while you've been editing
- Copy the whole text of User:YOUR USERNAME/taxobox back to {{Template:Taxobox}}
- Check that plant and animal pages still work.
- Request your userspace taxobox and taxoboxtest pages are deleted using {{db-userreq}}
Editing documentation and interwiki links
Add or edit the documentation and interwiki links for the Taxobox template via the Template:Taxobox/doc page. The /doc page is not protected.
Further documentation is found at:
Microformat
This template emits a "species" microformat, according to the current draft ("straw man") specification. This is recognised by the Operator extension for Firefox (using an add-in user script, itself in development).
Wikipedia editors are invited to comment on or contribute to the development of this microformat, via the above links, or the "microformats-new" mailing list.
The microformat is created by the use of class="biota"
on the whole infobox, and classes for individual taxonomic ranks, such as class="domain"
in a span around {{{domain}}}. Please do not change or remove those classes other than as part of development of the microformat. For background information, see microformats on Wikipedia.
The color tag should not be included as colors are assigned based on the table below.
Animalia | #D3D3A4 |
---|---|
Archaeplastida | #90EE90 (lightgreen) |
Fungi | #ADD8E6 (lightblue) |
Chromalveolata | #ADFF2F (greenyellow) |
Rhizaria | #E6E6FA (lavender) |
Excavata | #F0E68C (khaki) |
Amoebozoa | #FFC8A0 |
Bacteria | #D3D3D3 |
Archaea | #F3E0E0 |
Viruses | #EE82EE |
incertae sedis | #E0D0B0 |
Бұл үлгі үлгілер синтаксисінің күрделі функцияларын қолданады. Бұл үлгінің жасалу құрылымымен толық таныс болмайынша және күтпеген жағдай салдарын түзеуге сенімді болмасаңыз, бұны өңдемеуге тырысыңыз. Тәжірибені үлгі зертханасында немесе өзіңіздің жеке зертханаңызда жасаңыз. |
Бұл үлгі Taxobox үлгісінің бір бөлімі.