Template:Wikitask

From BITPlan profiwiki Wiki
Revision as of 14:37, 28 December 2015 by Wf (talk | contribs) (transfered by WikiBackup wikiTask at 2015-12-28T13:37:10Z)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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}}

help

reset

{{wikitask|cmd=reset}}

reset

debug

{{wikitask|cmd=debug}}

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}}

runtemplate -> Dad loves mum 2015-03-14