User:Bilardi/taxobox

From Wikipedia, the free encyclopedia


My goal is add biological database about Genome project, genome browser and genome annotation for each organism that has got a wikipedia page. In particular, I would like add link about NCBI genome project number and general information about official genome browser and genome annotation data. You find example here. In Template:Taxobox, I would like add this code:

|-style="text-align:center; background:{{{color|{{{colour|#{{Taxobox colour|{{{regnum|{{{virus_group|{{{unranked_phylum|{{{phylum}}}}}}}}}}}}}}}}}}}};"
{{#if:{{{general|{{{project|{{{browser|{{{annotation|}}}}}}}}}}}}|
! [[Biological_database|Databases]]
{{!}}-
{{!}} 
}}
{| style="margin:0 auto; text-align:left; background:transparent;" cellpadding="2"
|-valign="top"
{{#if:{{{general|}}}|
{{!}}  General info:
{{!}} <span class="general">{{{general}}}</span><br /><small>{{{general_authority|}}}</small>}}
|-valign="top"
{{#if:{{{project|}}}|
{{!}}  Genome project:
{{!}} <span class="project">{{{project}}}</span><br /><small>{{{project_authority|}}}</small>}}
|-valign="top"
{{#if:{{{annotation|}}}|
{{!}}  Annotation data:
{{!}} <span class="annotation">{{{annotation}}}</span><br /><small>{{{annotation_authority|}}}</small>}}
|-valign="top"
{{#if:{{{browser|}}}|
{{!}}  Genome browser:
{{!}} <span class="browser">{{{browser}}}</span><br /><small>{{{browser_authority|}}}</small>}}

you type:
general=[link to general info]
project=[link to genome project web page]
annotation=[link to annotation data, only if it is downloadable]
browser=[link to generic genome browser]
you get:
Escherichia coli

Scientific classification
Domain: Bacteria
Phylum: Proteobacteria
Class: Gamma Proteobacteria
Order: Enterobacteriales
Family: Enterobacteriaceae
Genus: Escherichia
Species: E. coli
Binomial name
Escherichia coli
(Migula 1895)
Castellani and Chalmers 1919
Databases
General info: data and browser
Genome project: lists
Annotation data: strain MG1655
Genome browser: strain MG1655