Template:WikiIconTask

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:37Z)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

see Template:Wikitask
calls RESTFul Java WikiTask service on ebike.bitplan.com

Examples

{{WikiIconTask|cmd=help|icon=question-circle}}

help

{{WikiIconTask|cmd=debug|icon=wrench}}

debug

{{WikiIconTask|cmd=reset|icon=refresh}}

reset

Source

<imgLink 
  img='{{Icon|name={{{icon|}}}|title={{{cmd|}}}}}' 
  target='_blank' 
  title='{{{cmd|}}}'
  href='http://{{SERVERNAME}}:9089/wikiserver/task/{{{cmd|version}}} 
    ?server={{urlencode:{{#sub:{{canonicalurl:{{PAGENAME}}}}|0|{{#pos:{{canonicalurl:{{PAGENAME}}}}|{{SCRIPTPATH}}/index.php/{{PAGENAMEE}}|0}}}}}}
    &scriptpath={{urlencode:{{SCRIPTPATH}}}}
    &contentlanguage={{CONTENTLANGUAGE}}
    &page={{FULLPAGENAMEE}}
    &input={{urlencode:{{{input|}}}}}
    &params={{urlencode:{{{params|}}}}}
    &template={{urlencode:{{{template|}}}}}
    &dialog={{urlencode:{{{dialog|}}}}}
    &engine={{{engine|}}}
    &targetpage={{urlencode:{{{targetpage|}}}}}
    &logo={{urlencode:{{{logo|http://web.bitplan.com/wp-content/uploads/sites/2/2013/05/mw_joomla_logo1.png}}}}}'
>
</imgLink>

siteurl

siteurl https://ebike.bitplan.com
canonicalurl https://ebike.bitplan.com/index.php/WikiIconTask
PAGENAME WikiIconTask
SERVERNAME ebike.bitplan.com
SCRIPTPATH