Difference between revisions of "Template:Scad"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
[https://en.wikibooks.org/wiki/OpenJSCAD_User_Guide#Via_Web_Browser Show SCAD file via webbrowser] | [https://en.wikibooks.org/wiki/OpenJSCAD_User_Guide#Via_Web_Browser Show SCAD file via webbrowser] | ||
+ | = Examples = | ||
+ | <pre> | ||
{{Scad|link=http://wiki.bitplan.com/images/wiki/f/fb/TestBox55x20x12mm.scad}} | {{Scad|link=http://wiki.bitplan.com/images/wiki/f/fb/TestBox55x20x12mm.scad}} | ||
+ | </pre> | ||
+ | {{Scad|link=http://wiki.bitplan.com/images/wiki/f/fb/TestBox55x20x12mm.scad}} | ||
+ | <pre> | ||
+ | {{Scad|file=File:TestBox55x20x12mm.scad|title=jscad}} | ||
+ | </pre> | ||
+ | {{Scad|file=File:TestBox55x20x12mm.scad|title=jscad}} | ||
+ | |||
= Links = | = Links = | ||
{{Link|target=Property:Scad}} | {{Link|target=Property:Scad}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{{#if:{{{file|}}}|{{#vardefine:link|{{filepath:{{{file|}}}}}|{{#vardefine:link|{{{link|}}}}}}}}} | {{#if:{{{file|}}}|{{#vardefine:link|{{filepath:{{{file|}}}}}|{{#vardefine:link|{{{link|}}}}}}}}} | ||
− | + | Link is {{#var:link}} | |
{{#set:Scad={{#var:link}}}} | {{#set:Scad={{#var:link}}}} | ||
[http://openjscad.org/#{{#var:link}} {{{title|jscad}}}] | [http://openjscad.org/#{{#var:link}} {{{title|jscad}}}] | ||
</includeonly> | </includeonly> |
Revision as of 22:44, 10 March 2019
Examples
{{Scad|link=http://wiki.bitplan.com/images/wiki/f/fb/TestBox55x20x12mm.scad}}
Link is
{{Scad|file=File:TestBox55x20x12mm.scad|title=jscad}}
Link is