User:Nighthawk4211/sandbox

From Wikipedia, the free encyclopedia

Welcome to my sandbox. I test stuff here.

{{Taxobox_begin | color = lightgreen| name = Test Species}} <br>{{StatusEndangered}}
{{Taxobox_image | image =[[Image:FILENAME.JPG|240px|NAME]] | caption = }}
{{Taxobox_begin_placement | color = lightgreen}}
{{:User:Nighthawk4211 testspecies2}}
{{Taxobox_end_placement}}
{{Taxobox_section_binomial_botany | color = lightgreen| binomial_name = Testgenus testspecies | author = }}
{{Taxobox_end}}

{{Taxobox_begin | color = lightgreen| name = Another test species}} <br>{{StatusEndangered}}
{{Taxobox_image | image =[[Image:FILENAME.JPG|240px|NAME]] | caption = }}
{{Taxobox_begin_placement | color = lightgreen}}
{{User:Nighthawk4211 testspecies3}}
{{Taxobox_end_placement}}
{{Taxobox_section_binomial_botany | color = lightgreen| binomial_name = Testgenus testspecies2 | author = }}
{{Taxobox_end}}

This is my attempt to create a true "tree of life" feature, with which Wikipedia could be told that, for example, a particular species is a member of some genus, and Wikipedia would then look up the genus and fill in the family, order, class, etc. automatically. In my implementation, Wikipedia is given the classification system through the creation of small pages like those linked below, which would probably in an actual implementation be given a prefix like "Taxo:" to keep them from getting confused with the rest of the pages. Each of these minipages simply has an entry such as "{{parent classification minipage}}{{Taxobox_whatever_entry | taxon = something}}", and the taxobox, instead of including a complete classification, simply uses {{minipage for the lowest-level entry needed for the article}}. As you can see, this implementation does not work well, apparently due to bugs in Wikipedia's caching of pages (there should be no red links: all the pages exist). Further work would be necessary to make it not show extra classifications such as superfamilies, subclasses, etc. except when such was desirable, though this might be possible through this implementation by creating two versions of each entry, one of which (the sparse version) only links to the "important" classification immediately above, and the other of which (the full version) points to the sparse version of the "unimportant" classification. Pages would then link to the full version, and the resulting displayed classification would be complete up to the next "important" level, above which it would be sparse (which is generally what is desired).
User:Nighthawk4211 testspecies3
User:Nighthawk4211 testspecies2
User:Nighthawk4211 testgenus
User:Nighthawk4211 Testfamily