Jump to content

Template:GNF Protein box: Difference between revisions

From IdeaWazaWiki
wikademia>David D.
how is this for including PDB files ONLY in the image caption. Test it with and without image as well as with and without additional PDB files
wikademia>David D.
make less wordy
Line 7: Line 7:
{{#if: {{{image|}}} | {{!}} align="center" colspan="3" {{!}} [[Image:{{{image}}}{{!}}250px]] | <includeonly>[[Category: Protein pages needing a picture]]</includeonly> }}
{{#if: {{{image|}}} | {{!}} align="center" colspan="3" {{!}} [[Image:{{{image}}}{{!}}250px]] | <includeonly>[[Category: Protein pages needing a picture]]</includeonly> }}
|-
|-
{{#if: {{{image|}}} | {{!}} align="right" colspan="3" {{!}} <small>From [[Protein Data Bank|PDB]] file <span class=plainlinks>[http://www.pdb.org/pdb/cgi/explore.cgi?pdbId={{{PDB}}} {{{PDB}}}]</span></small>| {{#if: {{{PDB_additional|}}} |{{!}} align="right" colspan="3" {{!}} <small>Image can be generated using any of the following [[Protein Data Bank|PDB]] files: <span class=plainlinks>[http://www.genome.ad.jp/dbget-bin/www_bget?pdb+{{{PDB}}} {{{PDB}}}] {{{PDB_additional}}}</span></small>|{{#if: {{{PDB|}}} | {{!}} align="right" colspan="3" {{!}} <small>Image can be generated using [[Protein Data Bank|PDB]] file <span class=plainlinks>[http://www.genome.ad.jp/dbget-bin/www_bget?pdb+{{{PDB}}} {{{PDB}}}]</span></small> | }}}}}}
{{#if: {{{image|}}} | {{!}} align="right" colspan="3" {{!}} <small>From [[Protein Data Bank|PDB]] file <span class=plainlinks>[http://www.pdb.org/pdb/cgi/explore.cgi?pdbId={{{PDB}}} {{{PDB}}}]</span></small>| {{#if: {{{PDB_additional|}}} |{{!}} align="right" colspan="3" {{!}} <small>Image can be generated from [[Protein Data Bank|PDB]] files: <span class=plainlinks>[http://www.genome.ad.jp/dbget-bin/www_bget?pdb+{{{PDB}}} {{{PDB}}}] {{{PDB_additional}}}</span></small>|{{#if: {{{PDB|}}} | {{!}} align="right" colspan="3" {{!}} <small>Image can be generated using [[Protein Data Bank|PDB]] file <span class=plainlinks>[http://www.genome.ad.jp/dbget-bin/www_bget?pdb+{{{PDB}}} {{{PDB}}}]</span></small> | }}}}}}
|-
|-
{{#if: {{{image|}}} | {{#if: {{{PDB_additional|}}}|{{!}} align="right" colspan="3" {{!}} <small>Additional files: {{{PDB_additional}}}</small>| }}| }}
{{#if: {{{image|}}} | {{#if: {{{PDB_additional|}}}|{{!}} align="right" colspan="3" {{!}} <small>Additional files: {{{PDB_additional}}}</small>| }}| }}

Revision as of 20:37, 2 April 2007

GNF Protein box
Identifiers
Symbol(s) {{{Symbol}}} {{{AltSymbols}}}
Other data
Expression pattern SymAtlas
Orthologs

Usage

Note: Modified version of the standard Template:Protein. AndrewGNF 01:38, 7 March 2007 (UTC)

Eventually I see integrating this into the main Template:Protein infobox, but I'm keeping it separate for a moment to avoid breaking anything there. AndrewGNF 19:06, 9 March 2007 (UTC)

To use this template, copy the following text and paste it at the top of your article. Fill in as many fields as possible, but don't worry if some information is missing. For an example of a filled-out template, see Titin.

{{protein
| Name = 
| caption = 
| image = 
| width =
| PDB =  
| PDB_additional=
| HGNCid = 
| MGIid = 
| Symbol = 
| AltSymbols = 
| OMIM = 
| UniProt = 
| ECnumber = 
| LocusSupplementaryData = 
| Homologene = 
| Function = 
| Orthologs =
}}

ca:plantilla:Protein it:template:Proteina