Template:Design3D
Jump to navigation
Jump to search
This is the template Design3D.
It belongs to the concept/topic Concept:Design3D
You may find examples for the use of this template via the List of Design3Ds.
Usage
storemode subobject
{{Design3D |name= |date= |idea= |design= |result= |blockscad= |stl= |storemode=subobject }}
storemode property
{{Design3D |name= |date= |idea= |design= |result= |blockscad= |stl= |storemode=property }}
storemode none
{{Design3D |name= |date= |idea= |design= |result= |blockscad= |stl= |storemode=none }}
viewmode tableheader
{{Design3D |name= |date= |idea= |design= |result= |blockscad= |stl= |viewmode=tableheader }}
viewmode tablerow
{{Design3D |name= |date= |idea= |design= |result= |blockscad= |stl= |viewmode=tablerow }}
{{Design3D |name= |date= |idea= |design= |result= |blockscad= |stl= |viewmode=tablefooter }}
viewmode labelfield
{{Design3D |name= |date= |idea= |design= |result= |blockscad= |stl= |viewmode=labelfield }}
Source (pretty printed)
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA Design3D<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?date|}}}|"{{{?date}}}" is date of it <br>|}}
{{#if:{{{?idea|}}}|"{{{?idea}}}" is idea of it <br>|}}
{{#if:{{{?design|}}}|"{{{?design}}}" is design of it <br>|}}
{{#if:{{{?result|}}}|"{{{?result}}}" is result of it <br>|}}
{{#if:{{{?blockscad|}}}|"{{{?blockscad}}}" is blockscad of it <br>|}}
{{#if:{{{?stl|}}}|"{{{?stl}}}" is stl of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Design3D
|Design3D name={{{name|}}}
|Design3D date={{{date|}}}
|Design3D idea={{{idea|}}}
|Design3D design={{{design|}}}
|Design3D result={{{result|}}}
|Design3D blockscad={{{blockscad|}}}
|Design3D stl={{{stl|}}}
}}
|#default={{#set:
|isA=Design3D
|Design3D name={{{name|}}}
|Design3D date={{{date|}}}
|Design3D idea={{{idea|}}}
|Design3D design={{{design|}}}
|Design3D result={{{result|}}}
|Design3D blockscad={{{blockscad|}}}
|Design3D stl={{{stl|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!name!!date!!idea!!design!!result!!blockscad!!stl
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{date|}}}{{!}}{{!}}{{{idea|}}}{{!}}{{!}}{{{design|}}}{{!}}{{!}}{{{result|}}}{{!}}{{!}}{{{blockscad|}}}{{!}}{{!}}{{{stl|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>date={{#if:{{{date|}}}|{{{date|}}}|}}<br>idea={{#if:{{{idea|}}}|{{{idea|}}}|}}<br>design={{#if:{{{design|}}}|{{{design|}}}|}}<br>result={{#if:{{{result|}}}|{{{result|}}}|}}<br>blockscad={{#if:{{{blockscad|}}}|[[{{{blockscad|}}}]]|}}<br>stl={{#if:{{{stl|}}}|[[{{{stl|}}}]]|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}Design3D
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/Design3D/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!name
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!date
{{!}} {{#if:{{{date|}}}|{{{date|}}}|}}
{{!}}-
!idea
{{!}} {{#if:{{{idea|}}}|{{{idea|}}}|}}
{{!}}-
!design
{{!}} {{#if:{{{design|}}}|{{{design|}}}|}}
{{!}}-
!result
{{!}} {{#if:{{{result|}}}|{{{result|}}}|}}
{{!}}-
!blockscad
{{!}} {{#if:{{{blockscad|}}}|[[{{{blockscad|}}}]]|}}
{{!}}-
!stl
{{!}} {{#if:{{{stl|}}}|[[{{{stl|}}}]]|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Design3D]]{{#default_form:Design3D}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.