Difference between revisions of "Template:Scad"

From BITPlan Wiki
Jump to navigation Jump to search
Line 14: Line 14:
 
{{Link|target=Property:Scad}}
 
{{Link|target=Property:Scad}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 +
File: {{{file|}}}
 +
Link: {{{link|}}}
 
{{#if:{{{file|}}}|{{#vardefine:link|{{filepath:{{{file|}}}}}|{{#vardefine:link|{{{link|}}}}}}}}}
 
{{#if:{{{file|}}}|{{#vardefine:link|{{filepath:{{{file|}}}}}|{{#vardefine:link|{{{link|}}}}}}}}}
 
Link is {{#var: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:45, 10 March 2019

Show SCAD file via webbrowser

Examples

{{Scad|link=http://wiki.bitplan.com/images/wiki/f/fb/TestBox55x20x12mm.scad}}

File: Link: http://wiki.bitplan.com/images/wiki/f/fb/TestBox55x20x12mm.scad

Link is


jscad

{{Scad|file=File:TestBox55x20x12mm.scad|title=jscad}} 

File: File:TestBox55x20x12mm.scad Link:

Link is


jscad


Links

Property:Scad