Template:GNF Ortholog box: Difference between revisions
Appearance
wikademia>AndrewGNF Undid revision 179096832 by AnteaterZot (talk) rv |
wikademia>AnteaterZot Changing color to match, temporarily. |
||
| Line 5: | Line 5: | ||
</noinclude> | </noinclude> | ||
| | | | ||
| bgcolor="# | | bgcolor="#C3FDB8" | Human | ||
| bgcolor="# | | bgcolor="#C3FDB8" | Mouse | ||
<!-- | <!-- | ||
{{#if: | {{#if: | ||
| Line 19: | Line 19: | ||
{{ #if: {{{Mm_EntrezGene|}}} |x | }} | {{ #if: {{{Mm_EntrezGene|}}} |x | }} | ||
| {{!-}} | | {{!-}} | ||
{{!}} bgcolor="# | {{!}} bgcolor="#C3FDB8" {{!}} [[Entrez]] | ||
{{ #if: {{{Hs_EntrezGene|}}} | {{ #if: {{{Hs_EntrezGene|}}} | ||
| {{!}} bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-right:2px solid #dddddd"{{!}} <span class=plainlinks>[http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=gene&cmd=retrieve&dopt=default&list_uids={{{Hs_EntrezGene}}}&rn=1 {{{Hs_EntrezGene}}}]</span> | | {{!}} bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-right:2px solid #dddddd"{{!}} <span class=plainlinks>[http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=gene&cmd=retrieve&dopt=default&list_uids={{{Hs_EntrezGene}}}&rn=1 {{{Hs_EntrezGene}}}]</span> | ||
| Line 32: | Line 32: | ||
{{ #if: {{{Mm_Ensembl|}}} |x | }} | {{ #if: {{{Mm_Ensembl|}}} |x | }} | ||
| {{!-}} | | {{!-}} | ||
{{!}} bgcolor="# | {{!}} bgcolor="#C3FDB8" {{!}} [[Ensembl]] | ||
{{ #if: {{{Hs_Ensembl|}}} | {{ #if: {{{Hs_Ensembl|}}} | ||
|{{!}} bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-right:2px solid #dddddd"{{!}} <span class=plainlinks><small><small>[http://www.ensembl.org/Homo_sapiens/geneview?gene={{{Hs_Ensembl}}};db=core {{{Hs_Ensembl}}}]</small></small></span> | |{{!}} bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-right:2px solid #dddddd"{{!}} <span class=plainlinks><small><small>[http://www.ensembl.org/Homo_sapiens/geneview?gene={{{Hs_Ensembl}}};db=core {{{Hs_Ensembl}}}]</small></small></span> | ||
| Line 44: | Line 44: | ||
{{ #if: {{{Mm_Uniprot|}}} |x | }} | {{ #if: {{{Mm_Uniprot|}}} |x | }} | ||
| {{!-}} | | {{!-}} | ||
{{!}} bgcolor="# | {{!}} bgcolor="#C3FDB8" {{!}} [[Uniprot]] | ||
{{ #if: {{{Hs_Uniprot|}}} | {{ #if: {{{Hs_Uniprot|}}} | ||
| {{!}} bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-right:2px solid #dddddd"{{!}} {{Uniprot|{{{Hs_Uniprot}}}}} | | {{!}} bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-right:2px solid #dddddd"{{!}} {{Uniprot|{{{Hs_Uniprot}}}}} | ||
| Line 58: | Line 58: | ||
{{#if: {{{Mm_RefseqProtein|}}} |x | }} | {{#if: {{{Mm_RefseqProtein|}}} |x | }} | ||
| {{!-}} | | {{!-}} | ||
{{!}} bgcolor="# | {{!}} bgcolor="#C3FDB8" {{!}} Refseq | ||
<!-- I apologize to whomever may be trying to sort through these next two lines... it seems that putting a newline character was causing serious formatting issues. Only after all of the newline characters were removed did the results look correct. --> | <!-- I apologize to whomever may be trying to sort through these next two lines... it seems that putting a newline character was causing serious formatting issues. Only after all of the newline characters were removed did the results look correct. --> | ||
{{!}} bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-right:2px solid #dddddd" {{!}} <span class=plainlinks>{{ #if: {{{Hs_RefseqmRNA|}}}| [http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?val={{{Hs_RefseqmRNA}}} {{{Hs_RefseqmRNA}}}]| na }} <small>(mRNA)</small><br> {{ #if: {{{Hs_RefseqProtein|}}}|[http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?val={{{Hs_RefseqProtein}}} {{{Hs_RefseqProtein}}}]| na }} <small>(protein)</small> </span> | {{!}} bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-right:2px solid #dddddd" {{!}} <span class=plainlinks>{{ #if: {{{Hs_RefseqmRNA|}}}| [http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?val={{{Hs_RefseqmRNA}}} {{{Hs_RefseqmRNA}}}]| na }} <small>(mRNA)</small><br> {{ #if: {{{Hs_RefseqProtein|}}}|[http://www.ncbi.nlm.nih.gov/entrez/viewer.fcgi?val={{{Hs_RefseqProtein}}} {{{Hs_RefseqProtein}}}]| na }} <small>(protein)</small> </span> | ||
| Line 96: | Line 96: | ||
{{#if: {{{Mm_GenLoc_end|}}} |x | }} | {{#if: {{{Mm_GenLoc_end|}}} |x | }} | ||
| {{!-}} | | {{!-}} | ||
{{!}} bgcolor="# | {{!}} bgcolor="#C3FDB8" {{!}} Location | ||
<!-- reader friendly version | <!-- reader friendly version | ||
{{#if: {{{Hs_GenLoc_chr|}}} | {{#if: {{{Hs_GenLoc_chr|}}} | ||
| Line 150: | Line 150: | ||
{{ #if: {{{Mm_EntrezGene|}}} |x | }} | {{ #if: {{{Mm_EntrezGene|}}} |x | }} | ||
| {{!-}} | | {{!-}} | ||
{{!}} bgcolor="# | {{!}} bgcolor="#C3FDB8" {{!}} [[Pubmed]] search | ||
{{ #if: {{{Hs_EntrezGene|}}} | {{ #if: {{{Hs_EntrezGene|}}} | ||
| {{!}} bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-right:2px solid #dddddd"{{!}} <span class=plainlinks>[http://www.ncbi.nlm.nih.gov/sites/entrez?db=gene&cmd=Link&LinkName=gene_pubmed&from_uid={{{Hs_EntrezGene}}}]</span> | | {{!}} bgcolor="#eeeeee" style="border-top:2px solid #dddddd; border-right:2px solid #dddddd"{{!}} <span class=plainlinks>[http://www.ncbi.nlm.nih.gov/sites/entrez?db=gene&cmd=Link&LinkName=gene_pubmed&from_uid={{{Hs_EntrezGene}}}]</span> | ||
Revision as of 02:48, 21 December 2007
| Orthologs | ||
| Human | Mouse
| |
Usage
NOTE: use only in conjunction with Template:GNF_Protein_box! For example, see ITK (gene).
{{GNF_Ortholog_box
| Hs_EntrezGene =
| Hs_RefseqmRNA =
| Hs_RefseqProtein =
| Hs_GenLoc_db =
| Hs_GenLoc_chr =
| Hs_GenLoc_start =
| Hs_GenLoc_end =
| Hs_Uniprot =
| Mm_EntrezGene =
| Mm_RefseqmRNA =
| Mm_RefseqProtein =
| Mm_GenLoc_db =
| Mm_GenLoc_chr =
| Mm_GenLoc_start =
| Mm_GenLoc_end =
| Mm_Uniprot =
}}
Revisions
- Each field is now optional
To-do list
- Code may need to be made a little cleaner