Template:Wikitask

From BITPlan E-Bike Wiki
Revision as of 00:04, 19 June 2018 by Wf (talk | contribs) (transfered by WikiBackup wikiTask at 2018-06-18T23:04:36Z)
(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