Difference between revisions of "Template:Jscad"

From BITPlan Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 +
= Usage =
 +
Put your JSCAD code inside a source tag and add a call of this template
 +
<pre>
 +
<source lang='javascript'></source>
 +
{{jscad}}
 +
</pre>
 
[[Category:Template]]
 
[[Category:Template]]
</noinclude>
+
</noinclude><includeonly>
<includeonly>
 
 
<html><head>
 
<html><head>
 
   <script src="/extensions/OpenJsCad/lightgl.js"></script>
 
   <script src="/extensions/OpenJsCad/lightgl.js"></script>

Revision as of 06:40, 10 June 2019

Usage

Put your JSCAD code inside a source tag and add a call of this template

<source lang='javascript'></source>
{{jscad}}