Template:Wikitask

From BITPlan cr Wiki
Revision as of 12:17, 22 July 2020 by Wf (talk | contribs) (transfered by WikiBackup wikiTask at 2020-07-22T11:17:18Z)
(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 {{CURRENTYEAR}}-{{CURRENTMONTH}}-{{CURRENTDAY2}}}}

runtemplate -> Dad loves mum 2024-12-03