Template:Design3D

From BITPlan Wiki
Revision as of 10:09, 21 February 2019 by Wf (talk | contribs) (created by WikiTask 2019-02-21T09:09:11Z)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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=
|stl=
|finishDate=
|page=
|storemode=subobject
}}

storemode property

{{Design3D
|name=
|date=
|idea=
|design=
|stl=
|finishDate=
|page=
|storemode=property
}}

storemode none

{{Design3D
|name=
|date=
|idea=
|design=
|stl=
|finishDate=
|page=
|storemode=none
}}


viewmode tableheader

{{Design3D
|name=
|date=
|idea=
|design=
|stl=
|finishDate=
|page=
|viewmode=tableheader
}}

viewmode tablerow

{{Design3D
|name=
|date=
|idea=
|design=
|stl=
|finishDate=
|page=
|viewmode=tablerow
}}

viewmode tablefooter

{{Design3D
|name=
|date=
|idea=
|design=
|stl=
|finishDate=
|page=
|viewmode=tablefooter
}}

viewmode labelfield

{{Design3D
|name=
|date=
|idea=
|design=
|stl=
|finishDate=
|page=
|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:{{{?stl|}}}|"{{{?stl}}}" is stl of it <br>|}}
{{#if:{{{?finishDate|}}}|"{{{?finishDate}}}" is finishDate of it <br>|}}
{{#if:{{{?page|}}}|"{{{?page}}}" is page of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=Design3D
|Design3D name={{{name|}}}
|Design3D date={{{date|}}}
|Design3D idea={{{idea|}}}
|Design3D design={{{design|}}}
|Design3D stl={{{stl|}}}
|Design3D finishDate={{{finishDate|}}}
|Design3D page={{{page|}}}
}}
|#default={{#set:
|isA=Design3D
|Design3D name={{{name|}}}
|Design3D date={{{date|}}}
|Design3D idea={{{idea|}}}
|Design3D design={{{design|}}}
|Design3D stl={{{stl|}}}
|Design3D finishDate={{{finishDate|}}}
|Design3D page={{{page|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|hidden=
|masterdetail=
|tableheader={{{!}} class='wikitable'
!name!!date!!idea!!design!!stl!!finishDate!!page
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{date|}}}{{!}}{{!}}{{{idea|}}}{{!}}{{!}}{{{design|}}}{{!}}{{!}}{{{stl|}}}{{!}}{{!}}{{{finishDate|}}}{{!}}{{!}}{{{page|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>date={{#if:{{{date|}}}|{{{date|}}}|}}<br>idea={{#if:{{{idea|}}}|{{{idea|}}}|}}<br>design={{#if:{{{design|}}}|{{{design|}}}|}}<br>stl={{#if:{{{stl|}}}|[[{{{stl|}}}]]|}}<br>finishDate={{#if:{{{finishDate|}}}|{{{finishDate|}}}|}}<br>page={{#if:{{{page|}}}|{{{page|}}}|}}<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
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!date
{{!}}&nbsp;{{#if:{{{date|}}}|{{{date|}}}|}}
{{!}}-
!idea
{{!}}&nbsp;{{#if:{{{idea|}}}|{{{idea|}}}|}}
{{!}}-
!design
{{!}}&nbsp;{{#if:{{{design|}}}|{{{design|}}}|}}
{{!}}-
!stl
{{!}}&nbsp;{{#if:{{{stl|}}}|[[{{{stl|}}}]]|}}
{{!}}-
!finishDate
{{!}}&nbsp;{{#if:{{{finishDate|}}}|{{{finishDate|}}}|}}
{{!}}-
!page
{{!}}&nbsp;{{#if:{{{page|}}}|{{{page|}}}|}}
{{!}}-
{{!}}}
}}
}}
[[Category:Design3D]]{{#default_form:Design3D}}

Source

Click on "Edit" to edit the noinclude-part Source of this Template.