Difference between revisions of "Template:Wikitask"
Jump to navigation
Jump to search
(transfered by WikiBackup wikiTask at 2015-11-05T19:46:02Z) |
m (transfered by WikiBackup wikiTask at 2015-12-28T13:37:10Z) |
||
Line 1: | Line 1: | ||
− | <noinclude> | + | <noinclude>__NOCACHE__<!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT -->{{TemplateSequence |
− | + | |prev=Template:TopicWikitasks | |
+ | |next=Template:WikiIconTask | ||
+ | }} | ||
This is the wikitask template for issuing commands to a RESTFUL Java WikiServer. | This is the wikitask template for issuing commands to a RESTFUL Java WikiServer. | ||
It uses [[Template:WikiIconTask]] for calling the WikiTask Server. | It uses [[Template:WikiIconTask]] for calling the WikiTask Server. | ||
Line 54: | Line 56: | ||
{{wikitask|cmd=runtemplate|input=dadlovesmum|template=triplegraph|targetpage=Dad loves mum 2015-03-14}} | {{wikitask|cmd=runtemplate|input=dadlovesmum|template=triplegraph|targetpage=Dad loves mum 2015-03-14}} | ||
</noinclude><includeonly>{{#switch:{{{cmd|}}} | </noinclude><includeonly>{{#switch:{{{cmd|}}} | ||
− | |runtemplate={{WikiIconTask|cmd={{{cmd|help}}}|icon= | + | |runtemplate={{WikiIconTask|cmd={{{cmd|help}}}|icon=play|input={{{input|}}}|params={{{params|}}}|template={{{template|}}}|dialog={{{dialog|}}}|engine={{{engine|}}}|targetpage={{{targetpage|}}}}} -> [[{{{targetpage|}}}]] |
+ | |login={{WikiIconTask|cmd={{{cmd}}}|icon=sign-in|input={{{input|}}}}} | ||
|help={{WikiIconTask|cmd={{{cmd}}}|icon=help}} | |help={{WikiIconTask|cmd={{{cmd}}}|icon=help}} | ||
|reset={{WikiIconTask|cmd={{{cmd}}}|icon=recycle}} | |reset={{WikiIconTask|cmd={{{cmd}}}|icon=recycle}} | ||
|#default={{WikiIconTask|cmd={{{cmd|help}}}|icon=wrench|input={{{input|}}}|template={{{template|}}}|engine={{{engine|}}}|targetpage={{{targetpage|}}}}}}}</includeonly> | |#default={{WikiIconTask|cmd={{{cmd|help}}}|icon=wrench|input={{{input|}}}|template={{{template|}}}|engine={{{engine|}}}|targetpage={{{targetpage|}}}}}}}</includeonly> |
Latest revision as of 14:37, 28 December 2015
This is the wikitask template for issuing commands to a RESTFUL Java WikiServer. It uses Template:WikiIconTask for calling the WikiTask Server.
Examples
login
{{wikitask|cmd=login|input={{urlencode:{{#realname:Visitor}}}}}}
login visitor
help
{{wikitask|cmd=help}}
reset
{{wikitask|cmd=reset}}
debug
{{wikitask|cmd=debug}}
run template
sidif input
dad loves mum
kid loves mum
kid loves dad
kid likes granny
freemarker template
<#assign rankdir="TB"/>
<#assign triples=tripleStore.getTriples()/>
== Triple graph ==
<graphviz format='svg'>
digraph {
rankdir="${rankdir}";
<#list triples as triple>
"${triple.subject}" -> "${triple.object}" [label="${triple.predicate}"];
</#list>
}
</graphviz>
{{wikitask|cmd=runtemplate|input=dadlovesmum|template=triplegraph|targetpage=Dad loves mum 2015-03-14}}