User:Faelomx/taxobox
Edges
[edit]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]]
bgcolor classes & PNG images
[edit]![](http://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/PNG_transparency_demonstration_2.png/220px-PNG_transparency_demonstration_2.png)
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 = Domesticated | 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!!!
Colapsable items
[edit]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