Template:WSFunction
From WikiPathways
(Difference between revisions)
Line 1: | Line 1: | ||
- | === {{{name}}} === | + | ==== {{{name}}} ==== |
{{{descr}}} | {{{descr}}} | ||
- | {{#if:{{{args}}}|'''Arguments:'''<BR>{{{args}}}|}} | + | {{#if:{{{args}}}|'''Arguments:'''<BR> |
- | {{#if:{{{returns}}}|'''Returns:'''<BR>{{{returns}}}|}} | + | {{{args}}}|}} |
+ | {{#if:{{{returns}}}|'''Returns:'''<BR> | ||
+ | {{{returns}}}|}} | ||
+ | <noincude> | ||
+ | |||
+ | ---- | ||
+ | |||
+ | {{WSFunction | ||
+ | |name=getPathway | ||
+ | |descr=Download the pathway from WikiPathways | ||
+ | |args={{WSFunction/Argument|name=pwName|type=string|descr=The pathway name}} | ||
+ | |returns= | ||
+ | {{WSFunction/Return|type= object [[Help:WikiPathways_Webservice#WSPathway|WSPathway]]|descr=The pathway}} | ||
+ | }} | ||
+ | |||
+ | </noinclude> |
Revision as of 10:01, 17 December 2008
{{{name}}}
{{{descr}}}
Arguments:
{{{args}}}
Returns:
{{{returns}}}
<noincude>
getPathway
Download the pathway from WikiPathways
Arguments:
-
string
pwName- The pathway name