User:Nighthawk4211/sandbox
From Wikipedia, the free encyclopedia
Welcome to my sandbox. I test stuff here.
Test Species
|
|
---|---|
Image:FILENAME.JPG |
|
Scientific classification | |
User:Nighthawk4211 testspecies2
|
|
Binomial name | |
Testgenus testspecies |
Another test species
|
|
---|---|
Image:FILENAME.JPG |
|
Scientific classification | |
User:Nighthawk4211 testspecies3
|
|
Binomial name | |
Testgenus testspecies2 |
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