Template:PDB2: Difference between revisions

Jump to navigation Jump to search
(revert to original version; this page is a template page meant to be used for formatting PDB codes, not as a description of the PDB repository, etc.; this is why protein infoboxes became ugly)
 
(Use up-to-date HTTPS URLs for the PDB2 accession links in order to reduce the number of redirects and to provide increased privacy and security for users. (From what it appeared, the existing HTTP accession links would generate an HTTP 301 redirect...)
Line 1: Line 1:
<span class=plainlinks>[http://www.rcsb.org/pdb/cgi/explore.cgi?pdbId={{{1}}} {{{1}}}]</span><noinclude>[[Category:External link templates|PDB]]</noinclude>
<span class=plainlinks>{{#if:{{{1|<noinclude>$</noinclude>}}}
|[https://www.rcsb.org/structure/{{{1}}} {{{1}}}]{{#if:{{{2|}}}
  |, [https://www.rcsb.org/structure/{{{2}}} {{{2}}}]{{#if:{{{3|}}}
  |, [https://www.rcsb.org/structure/{{{3}}} {{{3}}}]{{#if:{{{4|}}}
    |, [https://www.rcsb.org/structure/{{{4}}} {{{4}}}]{{#if:{{{5|}}}
    |, [https://www.rcsb.org/structure/{{{5}}} {{{5}}}]{{#if:{{{6|}}}
      |, [https://www.rcsb.org/structure/{{{6}}} {{{6}}}]{{#if:{{{7|}}}
      |, [https://www.rcsb.org/structure/{{{7}}} {{{7}}}]{{#if:{{{8|}}}
        |, [https://www.rcsb.org/structure/{{{8}}} {{{8}}}]{{#if:{{{9|}}}
        |, [https://www.rcsb.org/structure/{{{9}}} {{{9}}}]
        }}
      }}
      }}
    }}
    }}
  }}
  }}
}}
|&nbsp;{{error|PBD template error: PDB not given. See [[Template:PDB]] for usage.}}
}}</span>&#8203;<noinclude>
{{documentation}}
</noinclude>

Revision as of 09:30, 29 June 2018

{{{1}}}