Template:Wikitask

From BITPlan cr Wiki
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-25