Difference between revisions of "Template:Kray3script"

From Kray
Jump to: navigation, search
(Usage)
(Usage)
Line 1: Line 1:
 +
<noinclude>
 
=Usage=
 
=Usage=
 
This script adds code block and optionaly run button for Kray scripts.
 
This script adds code block and optionaly run button for Kray scripts.
Line 5: Line 6:
 
  <nowiki>{{kray3script|path=pathtoscript|button=1}}</nowiki>
 
  <nowiki>{{kray3script|path=pathtoscript|button=1}}</nowiki>
  
 
+
</noinclude>
 
<includeonly>
 
<includeonly>
 
<include highlight="kray3" src="http://www.kraytracing.com/pub/kray3_script/{{{#tag:path}}}" />
 
<include highlight="kray3" src="http://www.kraytracing.com/pub/kray3_script/{{{#tag:path}}}" />
 
{{#if: {{{button|1}}} | No button | THIS IS BUTTON}}  
 
{{#if: {{{button|1}}} | No button | THIS IS BUTTON}}  
 
</includeonly>
 
</includeonly>

Revision as of 13:22, 16 August 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}}