User:Faelomx/taxobox
From Wikipedia, the free encyclopedia
[edit] Edges
In Mozilla is very easy, but in IE not... :(
for that reason the group, better would be with this code:
[[image:iu_taxo_img1top]] BODY OF TAXOBOX [[image:iu_taxo_img1bottom]]
[edit] bgcolor classes & PNG images
in users with IE6, the PNG images with alpha no runs this image o browse make a false image of this PNG (IE puts white this transparency)
- for that reason, is better method no use a unique class (the best thing), but it's necessary to do so many “class” as life kingdoms (for example: virus, plants…).
{{Taxobox
| color = pink
| name = Domestic dog
| status = Template:StatusDomesticated
| image = YellowLabradorLooking.jpg
| image_width = 240px
| image_caption = Labrador Retriever
| domain = Eukaryota
| regnum = Animalia
| phylum = Chordata
| subphylum = Vertebrata
| classis = Mammalia
| ordo = Carnivora
| familia = Canidae
| genus = Canis
| species = C. lupus
| subspecies = C. l. familiaris
| trinomial = Canis lupus familiaris
}}</nowiki>
When color is defined, the color value it is taken to define the “class”.
| Animalia | pink |
|---|---|
| Plantae | lightgreen |
| Fungi | lightblue |
| Protista | khaki |
| Bacteria | lightgrey |
| Archaea | darkgray |
| Virus | violet |
pink -> class="bgtx_pink"
lightgreen -> class="bgtx_lightgreen"
lightblue -> class="bgtx_lightblue"
khaki -> class="bgtx_khaki"
lightgrey -> class="bgtx_lightgrey"
darkgrey -> class="bgtx_darkgrey"
violet -> class="bgtx_violet"
...very easy!!!, no problems and no more grrrrr!!!! ... THIS RUN!!!
[edit] Colapsable items
This template could use [hide] and [show] behaviours, this is a parameter in taxobox syntax.
hideparts = true.
if is TRUE , parts of taxobox appears hidden, if do not declarates is FALSE

