Template:Wikitask

From BITPlan Wiki
Revision as of 16:56, 12 February 2016 by Wf (talk | contribs) (transfered by WikiBackup wikiTask at 2016-02-12T15:56:09Z)
(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