Template:CANInfo
Jump to navigation
Jump to search
This is the template CANInfo.
It belongs to the concept/topic Concept:CANInfo
You may find examples for the use of this template via the List of CANInfos.
Usage
storemode subobject
{{CANInfo |name= |storemode=subobject }}
storemode property
{{CANInfo |name= |storemode=property }}
storemode none
{{CANInfo |name= |storemode=none }}
viewmode tableheader
{{CANInfo |name= |viewmode=tableheader }}
viewmode tablerow
{{CANInfo |name= |viewmode=tablerow }}
{{CANInfo |name= |viewmode=tablefooter }}
viewmode labelfield
{{CANInfo |name= |viewmode=labelfield }}
Source (pretty printed)
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA CANInfo<br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=CANInfo
|CANInfo name={{{name|}}}
}}
|#default={{#set:
|isA=CANInfo
|CANInfo name={{{name|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!name
{{!}}-
|tablerow=
{{!}}{{{name|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
name={{#if:{{{name|}}}|{{{name|}}}|}}<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
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
{{!}}}
}}
}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.