Template:WSFunction

From WikiPathways

(Difference between revisions)
Jump to: navigation, search
Current revision (00:31, 3 March 2015) (view source)
 
(31 intermediate revisions not shown.)
Line 1: Line 1:
-
==== {{{name}}} ====
+
<h4 style="background-color:#E8EDFF;">{{{name}}}</h4>
-
 
+
<div style="padding-left:1em;">
{{{descr}}}
{{{descr}}}
-
{{#if:{{{args}}}|'''Arguments:'''
+
{{#if:{{{rest_ex|}}}|Example: http://webservice.wikipathways.org/{{{rest_ex}}}|}}
-
{{{args}}}|}}
+
-
{{#if:{{{returns}}}|'''Returns:'''<BR>
+
-
{{{returns}}}|}}
+
-
<noincude>
+
-
 
+
-
----
+
-
{{WSFunction
+
{{#if:{{{args|}}}|'''Arguments:'''
-
|name=getPathway
+
{{{args}}}
-
|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>
+
<br>|}}
 +
</div>

Current revision

{{{name}}}

{{{descr}}}



Personal tools