Difference between revisions of "Template:PID"
Jump to navigation
Jump to search
(created by WikiTask 2017-04-18T09:37:34Z) |
m (created by WikiTask 2017-11-29T14:37:18Z) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<!-- | <!-- | ||
− | -- Copyright (C) 2015- | + | -- Copyright (C) 2015-2017 BITPlan GmbH |
-- | -- | ||
-- Pater-Delp-Str. -- 1 | -- Pater-Delp-Str. -- 1 | ||
Line 18: | Line 18: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
+ | |links= | ||
+ | |examples= | ||
+ | |frequency= | ||
|storemode=subobject | |storemode=subobject | ||
}} | }} | ||
Line 26: | Line 30: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
+ | |links= | ||
+ | |examples= | ||
+ | |frequency= | ||
|storemode=property | |storemode=property | ||
}} | }} | ||
Line 34: | Line 42: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
+ | |links= | ||
+ | |examples= | ||
+ | |frequency= | ||
|storemode=none | |storemode=none | ||
}} | }} | ||
Line 43: | Line 55: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
+ | |links= | ||
+ | |examples= | ||
+ | |frequency= | ||
|viewmode=tableheader | |viewmode=tableheader | ||
}} | }} | ||
Line 51: | Line 67: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
+ | |links= | ||
+ | |examples= | ||
+ | |frequency= | ||
|viewmode=tablerow | |viewmode=tablerow | ||
}} | }} | ||
Line 59: | Line 79: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
+ | |links= | ||
+ | |examples= | ||
+ | |frequency= | ||
|viewmode=tablefooter | |viewmode=tablefooter | ||
}} | }} | ||
Line 67: | Line 91: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
+ | |links= | ||
+ | |examples= | ||
+ | |frequency= | ||
|viewmode=labelfield | |viewmode=labelfield | ||
}} | }} | ||
Line 76: | Line 104: | ||
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}} | {{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}} | ||
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}} | {{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}} | ||
+ | {{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}} | ||
+ | {{#if:{{{?links|}}}|"{{{?links}}}" is links of it <br>|}} | ||
+ | {{#if:{{{?examples|}}}|"{{{?examples}}}" is examples of it <br>|}} | ||
+ | {{#if:{{{?frequency|}}}|"{{{?frequency}}}" is frequency of it <br>|}} | ||
|#default={{#switch:{{{storemode|}}} | |#default={{#switch:{{{storemode|}}} | ||
|none= | |none= | ||
Line 82: | Line 114: | ||
|PID id={{{id|}}} | |PID id={{{id|}}} | ||
|PID name={{{name|}}} | |PID name={{{name|}}} | ||
+ | |PID description={{{description|}}} | ||
+ | |PID links={{{links|}}} | ||
+ | |PID examples={{{examples|}}} | ||
+ | |PID frequency={{{frequency|}}} | ||
}} | }} | ||
|#default={{#set: | |#default={{#set: | ||
Line 87: | Line 123: | ||
|PID id={{{id|}}} | |PID id={{{id|}}} | ||
|PID name={{{name|}}} | |PID name={{{name|}}} | ||
+ | |PID description={{{description|}}} | ||
+ | |PID links={{{links|}}} | ||
+ | |PID examples={{{examples|}}} | ||
+ | |PID frequency={{{frequency|}}} | ||
}} | }} | ||
}} | }} | ||
{{#switch: {{{viewmode|}}} | {{#switch: {{{viewmode|}}} | ||
|masterdetail= | |masterdetail= | ||
+ | = infos = | ||
+ | {{#ask:[[Concept:CANInfo]][[CANInfo pid::{{FULLPAGENAME}}]] | ||
+ | | ?CANInfo name = name | ||
+ | | ?CANInfo description = description | ||
+ | | ?CANInfo unit = unit | ||
+ | | ?CANInfo pid = pid | ||
+ | |||
+ | |||
+ | |||
+ | }} | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | !id!!name | + | !id!!name!!description!!links!!examples!!frequency |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | {{!}}{{{id|}}}{{!}}{{!}}{{{name|}}} | + | {{!}}{{{id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{links|}}}{{!}}{{!}}{{{examples|}}}{{!}}{{!}}{{{frequency|}}} |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | id={{#if:{{{id|}}}|{{{id|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>|#default={{{!}} class='wikitable' | + | id={{#if:{{{id|}}}|{{{id|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>links={{#if:{{{links|}}}|{{{links|}}}|}}<br>examples={{#if:{{{examples|}}}|{{{examples|}}}|}}<br>frequency={{#if:{{{frequency|}}}|{{{frequency|}}}|}}<br>|#default={{{!}} class='wikitable' |
! colspan='2' {{!}}PID | ! colspan='2' {{!}}PID | ||
{{!}}- | {{!}}- | ||
Line 111: | Line 161: | ||
!name | !name | ||
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | {{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | ||
+ | {{!}}- | ||
+ | !description | ||
+ | {{!}} {{#if:{{{description|}}}|{{{description|}}}|}} | ||
+ | {{!}}- | ||
+ | !links | ||
+ | {{!}} {{#if:{{{links|}}}|{{{links|}}}|}} | ||
+ | {{!}}- | ||
+ | !examples | ||
+ | {{!}} {{#if:{{{examples|}}}|{{{examples|}}}|}} | ||
+ | {{!}}- | ||
+ | !freq | ||
+ | {{!}} {{#if:{{{frequency|}}}|{{{frequency|}}}|}} | ||
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} | ||
Line 124: | Line 186: | ||
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}} | {{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}} | ||
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}} | {{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}} | ||
+ | {{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}} | ||
+ | {{#if:{{{?links|}}}|"{{{?links}}}" is links of it <br>|}} | ||
+ | {{#if:{{{?examples|}}}|"{{{?examples}}}" is examples of it <br>|}} | ||
+ | {{#if:{{{?frequency|}}}|"{{{?frequency}}}" is frequency of it <br>|}} | ||
|#default={{#switch:{{{storemode|}}} | |#default={{#switch:{{{storemode|}}} | ||
|none= | |none= | ||
Line 130: | Line 196: | ||
|PID id={{{id|}}} | |PID id={{{id|}}} | ||
|PID name={{{name|}}} | |PID name={{{name|}}} | ||
+ | |PID description={{{description|}}} | ||
+ | |PID links={{{links|}}} | ||
+ | |PID examples={{{examples|}}} | ||
+ | |PID frequency={{{frequency|}}} | ||
}} | }} | ||
|#default={{#set: | |#default={{#set: | ||
Line 135: | Line 205: | ||
|PID id={{{id|}}} | |PID id={{{id|}}} | ||
|PID name={{{name|}}} | |PID name={{{name|}}} | ||
+ | |PID description={{{description|}}} | ||
+ | |PID links={{{links|}}} | ||
+ | |PID examples={{{examples|}}} | ||
+ | |PID frequency={{{frequency|}}} | ||
}} | }} | ||
}} | }} | ||
{{#switch: {{{viewmode|}}} | {{#switch: {{{viewmode|}}} | ||
|masterdetail= | |masterdetail= | ||
+ | = infos = | ||
+ | {{#ask:[[Concept:CANInfo]][[CANInfo pid::{{FULLPAGENAME}}]] | ||
+ | | ?CANInfo name = name | ||
+ | | ?CANInfo description = description | ||
+ | | ?CANInfo unit = unit | ||
+ | | ?CANInfo pid = pid | ||
+ | |||
+ | |||
+ | |||
+ | }} | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | !id!!name | + | !id!!name!!description!!links!!examples!!frequency |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | {{!}}{{{id|}}}{{!}}{{!}}{{{name|}}} | + | {{!}}{{{id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{links|}}}{{!}}{{!}}{{{examples|}}}{{!}}{{!}}{{{frequency|}}} |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | id={{#if:{{{id|}}}|{{{id|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>|#default={{{!}} class='wikitable' | + | id={{#if:{{{id|}}}|{{{id|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>links={{#if:{{{links|}}}|{{{links|}}}|}}<br>examples={{#if:{{{examples|}}}|{{{examples|}}}|}}<br>frequency={{#if:{{{frequency|}}}|{{{frequency|}}}|}}<br>|#default={{{!}} class='wikitable' |
! colspan='2' {{!}}PID | ! colspan='2' {{!}}PID | ||
{{!}}- | {{!}}- | ||
Line 159: | Line 243: | ||
!name | !name | ||
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | {{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | ||
+ | {{!}}- | ||
+ | !description | ||
+ | {{!}} {{#if:{{{description|}}}|{{{description|}}}|}} | ||
+ | {{!}}- | ||
+ | !links | ||
+ | {{!}} {{#if:{{{links|}}}|{{{links|}}}|}} | ||
+ | {{!}}- | ||
+ | !examples | ||
+ | {{!}} {{#if:{{{examples|}}}|{{{examples|}}}|}} | ||
+ | {{!}}- | ||
+ | !freq | ||
+ | {{!}} {{#if:{{{frequency|}}}|{{{frequency|}}}|}} | ||
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} |
Latest revision as of 15:37, 29 November 2017
This is the template PID.
It belongs to the concept/topic Concept:PID
You may find examples for the use of this template via the List of PIDs.
Usage
storemode subobject
{{PID |id= |name= |description= |links= |examples= |frequency= |storemode=subobject }}
storemode property
{{PID |id= |name= |description= |links= |examples= |frequency= |storemode=property }}
storemode none
{{PID |id= |name= |description= |links= |examples= |frequency= |storemode=none }}
viewmode tableheader
{{PID |id= |name= |description= |links= |examples= |frequency= |viewmode=tableheader }}
viewmode tablerow
{{PID |id= |name= |description= |links= |examples= |frequency= |viewmode=tablerow }}
{{PID |id= |name= |description= |links= |examples= |frequency= |viewmode=tablefooter }}
viewmode labelfield
{{PID |id= |name= |description= |links= |examples= |frequency= |viewmode=labelfield }}
Source (pretty printed)
{{#switch:{{{userparam|}}}|sidif={{#if:{{{?pageid|}}}|{{#replace:{{#replace:{{{?pageid}}}|#|}}|-|_}} isA PID<br>|}}
{{#if:{{{?id|}}}|"{{{?id}}}" is id of it <br>|}}
{{#if:{{{?name|}}}|"{{{?name}}}" is name of it <br>|}}
{{#if:{{{?description|}}}|"{{{?description}}}" is description of it <br>|}}
{{#if:{{{?links|}}}|"{{{?links}}}" is links of it <br>|}}
{{#if:{{{?examples|}}}|"{{{?examples}}}" is examples of it <br>|}}
{{#if:{{{?frequency|}}}|"{{{?frequency}}}" is frequency of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=PID
|PID id={{{id|}}}
|PID name={{{name|}}}
|PID description={{{description|}}}
|PID links={{{links|}}}
|PID examples={{{examples|}}}
|PID frequency={{{frequency|}}}
}}
|#default={{#set:
|isA=PID
|PID id={{{id|}}}
|PID name={{{name|}}}
|PID description={{{description|}}}
|PID links={{{links|}}}
|PID examples={{{examples|}}}
|PID frequency={{{frequency|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
= infos =
{{#ask:[[Concept:CANInfo]][[CANInfo pid::{{FULLPAGENAME}}]]
| ?CANInfo name = name
| ?CANInfo description = description
| ?CANInfo unit = unit
| ?CANInfo pid = pid
}}
|tableheader={{{!}} class='wikitable'
!id!!name!!description!!links!!examples!!frequency
{{!}}-
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{links|}}}{{!}}{{!}}{{{examples|}}}{{!}}{{!}}{{{frequency|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>description={{#if:{{{description|}}}|{{{description|}}}|}}<br>links={{#if:{{{links|}}}|{{{links|}}}|}}<br>examples={{#if:{{{examples|}}}|{{{examples|}}}|}}<br>frequency={{#if:{{{frequency|}}}|{{{frequency|}}}|}}<br>|#default={{{!}} class='wikitable'
! colspan='2' {{!}}PID
{{!}}-
{{#switch:{{{storemode|}}}|property=
! colspan='2' style='text-align:left' {{!}} {{Icon|name=edit|size=24}}{{Link|target=Special:FormEdit/PID/{{FULLPAGENAME}}|title=edit}}
{{!}}-
}}
!id
{{!}} {{#if:{{{id|}}}|{{{id|}}}|}}
{{!}}-
!name
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}}
{{!}}-
!description
{{!}} {{#if:{{{description|}}}|{{{description|}}}|}}
{{!}}-
!links
{{!}} {{#if:{{{links|}}}|{{{links|}}}|}}
{{!}}-
!examples
{{!}} {{#if:{{{examples|}}}|{{{examples|}}}|}}
{{!}}-
!freq
{{!}} {{#if:{{{frequency|}}}|{{{frequency|}}}|}}
{{!}}-
{{!}}}
}}
}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.