Difference between revisions of "Template:WikiIconTask"

From BITPlan profiwiki Wiki
Jump to navigation Jump to search
(transfered by WikiBackup wikiTask at 2015-11-05T19:46:03Z)
 
m (transfered by WikiBackup wikiTask at 2017-11-05T18:05:41Z)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>
+
<noinclude><!-- THIS FILE IS PROTECTED - smartGENERATOR WILL NOT OVERWRITE IT -->{{TemplateSequence
 +
|prev=Template:Wikitask
 +
|next=Template:WikiSlide
 +
}}
 
see [[Template:Wikitask]]
 
see [[Template:Wikitask]]
 
<br> calls RESTFul Java WikiTask service on {{SERVERNAME}}
 
<br> calls RESTFul Java WikiTask service on {{SERVERNAME}}
Line 5: Line 8:
 
=== Examples===
 
=== Examples===
 
<pre>
 
<pre>
{{WikiIconTask|cmd=help|icon=help}}
+
{{WikiIconTask|cmd=help|icon=question-circle}}
 
</pre>
 
</pre>
{{WikiIconTask|cmd=help|icon=help}}
+
{{WikiIconTask|cmd=help|icon=question-circle}}
 
<pre>
 
<pre>
 
{{WikiIconTask|cmd=debug|icon=wrench}}
 
{{WikiIconTask|cmd=debug|icon=wrench}}
Line 13: Line 16:
 
{{WikiIconTask|cmd=debug|icon=wrench}}
 
{{WikiIconTask|cmd=debug|icon=wrench}}
 
<pre>
 
<pre>
{{WikiIconTask|cmd=reset|icon=wrench}}
+
{{WikiIconTask|cmd=reset|icon=refresh}}
 
</pre>
 
</pre>
{{WikiIconTask|cmd=reset|icon=wrench}}
+
{{WikiIconTask|cmd=reset|icon=refresh}}
  
 
=== Source ===
 
=== Source ===

Latest revision as of 19:05, 5 November 2017

see Template:Wikitask
calls RESTFul Java WikiTask service on profiwiki.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 http://profiwiki.bitplan.com
canonicalurl http://profiwiki.bitplan.com/index.php/WikiIconTask
PAGENAME WikiIconTask
SERVERNAME profiwiki.bitplan.com
SCRIPTPATH