Template:ConSurf
From Proteopedia
(Difference between revisions)
(creating a template that inserts ConSurf div - reverse order of parameters) |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
== HOW TO USE THIS TEMPLATE: == | == HOW TO USE THIS TEMPLATE: == | ||
- | It '''cannot''' be used in the regular way, as <code><nowiki>{{ConSurf}}</nowiki></code> | ||
- | |||
You must insert it as <code><nowiki>{{subst:ConSurf|1stp|st}}</nowiki></code> | You must insert it as <code><nowiki>{{subst:ConSurf|1stp|st}}</nowiki></code> | ||
- | Where the 2 parameters, <code> | + | Where the 2 parameters, <code>1stp</code> and <code>st</code>, need to be adjusted to your case: |
* 1st parameter is the PDB ID of the model | * 1st parameter is the PDB ID of the model | ||
- | * 2nd parameter is the 2nd and 3rd characters of the ID | + | * 2nd parameter is the 2nd and 3rd characters of the PDB ID |
The result will look like below and will be made a hard-coded content of the page (i.e. the template wikitext is removed and the result is inserted into the page source). | The result will look like below and will be made a hard-coded content of the page (i.e. the template wikitext is removed and the result is inserted into the page source). |
Current revision
HOW TO USE THIS TEMPLATE:
You must insert it as {{subst:ConSurf|1stp|st}}
Where the 2 parameters, 1stp
and st
, need to be adjusted to your case:
- 1st parameter is the PDB ID of the model
- 2nd parameter is the 2nd and 3rd characters of the PDB ID
The result will look like below and will be made a hard-coded content of the page (i.e. the template wikitext is removed and the result is inserted into the page source).
Evolutionary Conservation
Check , as determined by ConSurfDB. You may read the explanation of the method and the full data available from ConSurf.