CANInfo


Wolfgang Fahl

storemode subobject[edit]

{{CANInfo
|name=
|description=
|unit=
|pid=
|storemode=subobject
}}

storemode property[edit]

{{CANInfo
|name=
|description=
|unit=
|pid=
|storemode=property
}}

storemode none[edit]

{{CANInfo
|name=
|description=
|unit=
|pid=
|storemode=none
}}

viewmode tableheader[edit]

{{CANInfo
|name=
|description=
|unit=
|pid=
|viewmode=tableheader
}}

viewmode tablerow[edit]

{{CANInfo
|name=
|description=
|unit=
|pid=
|viewmode=tablerow
}}

viewmode tablefooter[edit]

{{CANInfo
|name=
|description=
|unit=
|pid=
|viewmode=tablefooter
}}

viewmode labelfield[edit]

{{CANInfo
|name=
|description=
|unit=
|pid=
|viewmode=labelfield
}}

Source (pretty printed)[edit]

{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA CANInfo<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}}
{{#if:{{{?unit|}}}|"{{{?unit}}}" is unit of it <br>|}}
{{#if:{{{?pid|}}}|"{{{?pid}}}" is pid of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=CANInfo
|CANInfo name={{{name|}}}
|CANInfo description={{{description|}}}
|CANInfo unit={{{unit|}}}
|CANInfo pid={{{pid|}}}
}}
|#default={{#set:
|isA=CANInfo
|CANInfo name={{{name|}}}
|CANInfo description={{{description|}}}
|CANInfo unit={{{unit|}}}
|CANInfo pid={{{pid|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!name!!description!!unit!!pid
{{!}}-
|tablerow=
{{!}}{{{name|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{unit|}}}{{!}}{{!}}{{{pid|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>unit={{#if:{{{unit|}}}|{{{unit|}}}|}}<br>pid={{#if:{{{pid|}}}|[[{{{pid|}}}]]|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}CANInfo
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/CANInfo/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!name
{{!}}&nbsp;{{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!description
{{!}}&nbsp;{{#if:{{{description|}}}|{{{description|}}}|}}
{{!}}-
!unit
{{!}}&nbsp;{{#if:{{{unit|}}}|{{{unit|}}}|}}
{{!}}-
!pid
{{!}}&nbsp;{{#if:{{{pid|}}}|[[{{{pid|}}}]]|}}
{{!}}-
{{!}}}
}}
}}

Source[edit]

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


1
CANInfo Wolfgang Fahl
🖨 🚪