Template:ConSurf
From Proteopedia
(Difference between revisions)
(Undo revision 2680471 by Angel Herraez (Talk)) |
(creating a template that inserts ConSurf div) |
||
Line 10: | Line 10: | ||
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). | ||
+ | |||
+ | <!--script /wiki/ConSurf/{{{1}}}/{{{2}}}_consurf.spt;--> | ||
+ | |||
</noinclude> | </noinclude> | ||
Line 21: | Line 24: | ||
select protein; define ~consurf_to_do selected; | select protein; define ~consurf_to_do selected; | ||
consurf_initial_scene = true; | consurf_initial_scene = true; | ||
- | script /wiki/ConSurf/{{{ | + | script /wiki/ConSurf/{{#invoke:String|sub|{{{2}}}|1|2}}/{{{2}}}_consurf.spt; |
</scriptWhenChecked> | </scriptWhenChecked> | ||
<scriptWhenUnchecked> | <scriptWhenUnchecked> |
Revision as of 07:42, 13 October 2016
HOW TO USE THIS TEMPLATE:
It cannot be used in the regular way, as {{ConSurf}}
You must insert it as {{subst:ConSurf|st|1stp}}
Where the 2 parameters, st
and 1stp
, need to be adjusted to your case:
- 1st parameter is the folder where ....
- 2nd parameter is the PDB ID of the model
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.