Difference between revisions of "Template:Kray3script"

From Kray
Jump to: navigation, search
m (Usage)
(Usage)
 
Line 10: Line 10:
  
 
</noinclude>
 
</noinclude>
<includeonly>{{#tag:include||highlight=kray3|src=http://www.kraytracing.com/pub/kray3_script/{{{path}}}}}{{#ifeq: {{{runbutton}}}|1|{{Runkray3live|path={{{path}}}}}|}}</includeonly>
+
<includeonly>{{#tag:include||highlight=kray3|src=/pub/kray3_script/{{{path}}}}}{{#ifeq: {{{runbutton}}}|1|{{Runkray3live|path={{{path}}}}}|}}</includeonly>

Latest revision as of 10:17, 19 December 2012

Usage

This script adds code block and optionaly run button for Kray scripts. To add it use the following keyword:

{{kray3script|path=pathtoscript|button=1}}
  • button=1 Will show Run in KrayLive button.
  • highlight=1-10 Will highlight those lines.