Jump to content

Template:GNF Protein box: Difference between revisions

From IdeaWazaWiki
wikademia>David D.
I think you needs these lines in the code?
wikademia>AndrewGNF
will this formatting work?
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 {{PDB2|{{{PDB}}} }}</small>| {{#if:{{{PDB|}}}| {{!}} align="right" colspan="3" {{!}} <small>Image can be generated from [[Protein Data Bank|PDB]] file(s): {{PDB2|{{{PDB}}}}}, {{{PDB_additional}}}</small>| }}| }}
{{#if: {{{image|}}}  
  | {{!}} align="right" colspan="3" {{!}} <small>From [[Protein Data Bank|PDB]] file {{PDB2|{{{PDB}}} }}</small>
  | {{#if:{{{PDB|}}}
      | {{!}} align="right" colspan="3" {{!}} <small>Image can be generated from [[Protein Data Bank|PDB]] file(s): {{PDB2|{{{PDB}}}}}, {{{PDB_additional}}}</small>
      | }}
  |  
}}
|-
|-
{{#if: {{{image|}}} | {{#if: {{{PDB_additional|}}}|{{!}} align="right" colspan="3" {{!}} <small>Additional structures: {{{PDB_additional}}}</small>| }}| }}
{{#if: {{{image|}}} | {{#if: {{{PDB_additional|}}}|{{!}} align="right" colspan="3" {{!}} <small>Additional structures: {{{PDB_additional}}}</small>| }}| }}

Revision as of 23:03, 2 April 2007

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


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)


Usage

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 ITK (gene).

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

Parameter explanations

  • If an image is specified, then the PDB parameter should be used to specify the structure used to generate the image.

ca:plantilla:Protein it:template:Proteina