Difference between revisions of "Template:PID"
Jump to navigation
Jump to search
m (created by WikiTask 2017-04-18T10:15:31Z) |
m (created by WikiTask 2017-04-20T06:50:41Z) |
||
Line 18: | Line 18: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
|links= | |links= | ||
|examples= | |examples= | ||
+ | |frequency= | ||
|storemode=subobject | |storemode=subobject | ||
}} | }} | ||
Line 28: | Line 30: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
|links= | |links= | ||
|examples= | |examples= | ||
+ | |frequency= | ||
|storemode=property | |storemode=property | ||
}} | }} | ||
Line 38: | Line 42: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
|links= | |links= | ||
|examples= | |examples= | ||
+ | |frequency= | ||
|storemode=none | |storemode=none | ||
}} | }} | ||
Line 49: | Line 55: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
|links= | |links= | ||
|examples= | |examples= | ||
+ | |frequency= | ||
|viewmode=tableheader | |viewmode=tableheader | ||
}} | }} | ||
Line 59: | Line 67: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
|links= | |links= | ||
|examples= | |examples= | ||
+ | |frequency= | ||
|viewmode=tablerow | |viewmode=tablerow | ||
}} | }} | ||
Line 69: | Line 79: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
|links= | |links= | ||
|examples= | |examples= | ||
+ | |frequency= | ||
|viewmode=tablefooter | |viewmode=tablefooter | ||
}} | }} | ||
Line 79: | Line 91: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |description= | ||
|links= | |links= | ||
|examples= | |examples= | ||
+ | |frequency= | ||
|viewmode=labelfield | |viewmode=labelfield | ||
}} | }} | ||
Line 90: | 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:{{{?links|}}}|"{{{?links}}}" is links of it <br>|}} | ||
{{#if:{{{?examples|}}}|"{{{?examples}}}" is examples 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 98: | Line 114: | ||
|PID id={{{id|}}} | |PID id={{{id|}}} | ||
|PID name={{{name|}}} | |PID name={{{name|}}} | ||
+ | |PID description={{{description|}}} | ||
|PID links={{{links|}}} | |PID links={{{links|}}} | ||
|PID examples={{{examples|}}} | |PID examples={{{examples|}}} | ||
+ | |PID frequency={{{frequency|}}} | ||
}} | }} | ||
|#default={{#set: | |#default={{#set: | ||
Line 105: | Line 123: | ||
|PID id={{{id|}}} | |PID id={{{id|}}} | ||
|PID name={{{name|}}} | |PID name={{{name|}}} | ||
+ | |PID description={{{description|}}} | ||
|PID links={{{links|}}} | |PID links={{{links|}}} | ||
|PID examples={{{examples|}}} | |PID examples={{{examples|}}} | ||
+ | |PID frequency={{{frequency|}}} | ||
}} | }} | ||
}} | }} | ||
Line 112: | Line 132: | ||
|masterdetail= | |masterdetail= | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | !id!!name!!links!!examples | + | !id!!name!!description!!links!!examples!!frequency |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | {{!}}{{{id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{links|}}}{{!}}{{!}}{{{examples|}}} | + | {{!}}{{{id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{links|}}}{{!}}{{!}}{{{examples|}}}{{!}}{{!}}{{{frequency|}}} |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | id={{#if:{{{id|}}}|{{{id|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>links={{#if:{{{links|}}}|{{{links|}}}|}}<br>examples={{#if:{{{examples|}}}|{{{examples|}}}|}}<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 131: | Line 151: | ||
!name | !name | ||
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | {{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | ||
+ | {{!}}- | ||
+ | !description | ||
+ | {{!}} {{#if:{{{description|}}}|{{{description|}}}|}} | ||
{{!}}- | {{!}}- | ||
!links | !links | ||
Line 137: | Line 160: | ||
!examples | !examples | ||
{{!}} {{#if:{{{examples|}}}|{{{examples|}}}|}} | {{!}} {{#if:{{{examples|}}}|{{{examples|}}}|}} | ||
+ | {{!}}- | ||
+ | !freq | ||
+ | {{!}} {{#if:{{{frequency|}}}|{{{frequency|}}}|}} | ||
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} | ||
Line 150: | Line 176: | ||
{{#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:{{{?links|}}}|"{{{?links}}}" is links of it <br>|}} | ||
{{#if:{{{?examples|}}}|"{{{?examples}}}" is examples 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 158: | Line 186: | ||
|PID id={{{id|}}} | |PID id={{{id|}}} | ||
|PID name={{{name|}}} | |PID name={{{name|}}} | ||
+ | |PID description={{{description|}}} | ||
|PID links={{{links|}}} | |PID links={{{links|}}} | ||
|PID examples={{{examples|}}} | |PID examples={{{examples|}}} | ||
+ | |PID frequency={{{frequency|}}} | ||
}} | }} | ||
|#default={{#set: | |#default={{#set: | ||
Line 165: | Line 195: | ||
|PID id={{{id|}}} | |PID id={{{id|}}} | ||
|PID name={{{name|}}} | |PID name={{{name|}}} | ||
+ | |PID description={{{description|}}} | ||
|PID links={{{links|}}} | |PID links={{{links|}}} | ||
|PID examples={{{examples|}}} | |PID examples={{{examples|}}} | ||
+ | |PID frequency={{{frequency|}}} | ||
}} | }} | ||
}} | }} | ||
Line 172: | Line 204: | ||
|masterdetail= | |masterdetail= | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | !id!!name!!links!!examples | + | !id!!name!!description!!links!!examples!!frequency |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | {{!}}{{{id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{links|}}}{{!}}{{!}}{{{examples|}}} | + | {{!}}{{{id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{description|}}}{{!}}{{!}}{{{links|}}}{{!}}{{!}}{{{examples|}}}{{!}}{{!}}{{{frequency|}}} |
{{!}}- | {{!}}- | ||
|tablefooter={{!}}} | |tablefooter={{!}}} | ||
|labelfield= | |labelfield= | ||
− | id={{#if:{{{id|}}}|{{{id|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>links={{#if:{{{links|}}}|{{{links|}}}|}}<br>examples={{#if:{{{examples|}}}|{{{examples|}}}|}}<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 191: | Line 223: | ||
!name | !name | ||
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | {{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | ||
+ | {{!}}- | ||
+ | !description | ||
+ | {{!}} {{#if:{{{description|}}}|{{{description|}}}|}} | ||
{{!}}- | {{!}}- | ||
!links | !links | ||
Line 197: | Line 232: | ||
!examples | !examples | ||
{{!}} {{#if:{{{examples|}}}|{{{examples|}}}|}} | {{!}} {{#if:{{{examples|}}}|{{{examples|}}}|}} | ||
+ | {{!}}- | ||
+ | !freq | ||
+ | {{!}} {{#if:{{{frequency|}}}|{{{frequency|}}}|}} | ||
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} |
Revision as of 07:50, 20 April 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=
|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.