Difference between revisions of "Template:3D CAD"
From Autopilot Wiki
(4 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
[[Category:3D CAD]] | [[Category:3D CAD]] | ||
− | {{# | + | {{#arraymap:{{{.STL|}}}|,|x|{{#3d:File:x|400|400|cccccc||1|5||}}|\n}} |
{| class="wikitable" | {| class="wikitable" | ||
! .STL | ! .STL | ||
− | | | + | | {{#arraymap:{{{.STL|}}}|,|x|* [[Has STL::File:x]]|\n}} |
|- | |- | ||
! .STEP | ! .STEP | ||
− | | | + | | {{#arraymap:{{{.STEP|}}}|,|x|* [[Has STEP::File:x]]|\n}} |
|- | |- | ||
! Other Files | ! Other Files | ||
− | | {{#arraymap:{{{Other Files|}}}|,|x|[[File:x]]}} | + | | {{#arraymap:{{{Other Files|}}}|,|x|* [[File:x]]|\n}} |
|} | |} | ||
</includeonly> | </includeonly> |
Latest revision as of 01:45, 4 August 2021
This is the "3D CAD" template. It should be called in the following format:
{{3D CAD |.STL= |.STEP= |Other Files= }}
Edit the page to see the template text.
The syntax for the 3d tag is
{{#3d:Model.json|width|height|color|opacity|norotate|scale|z|style|class}}