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-04-18T10:15:31Z) |
||
Line 18: | Line 18: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |links= | ||
+ | |examples= | ||
|storemode=subobject | |storemode=subobject | ||
}} | }} | ||
Line 26: | Line 28: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |links= | ||
+ | |examples= | ||
|storemode=property | |storemode=property | ||
}} | }} | ||
Line 34: | Line 38: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |links= | ||
+ | |examples= | ||
|storemode=none | |storemode=none | ||
}} | }} | ||
Line 43: | Line 49: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |links= | ||
+ | |examples= | ||
|viewmode=tableheader | |viewmode=tableheader | ||
}} | }} | ||
Line 51: | Line 59: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |links= | ||
+ | |examples= | ||
|viewmode=tablerow | |viewmode=tablerow | ||
}} | }} | ||
Line 59: | Line 69: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |links= | ||
+ | |examples= | ||
|viewmode=tablefooter | |viewmode=tablefooter | ||
}} | }} | ||
Line 67: | Line 79: | ||
|id= | |id= | ||
|name= | |name= | ||
+ | |links= | ||
+ | |examples= | ||
|viewmode=labelfield | |viewmode=labelfield | ||
}} | }} | ||
Line 76: | Line 90: | ||
{{#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:{{{?links|}}}|"{{{?links}}}" is links of it <br>|}} | ||
+ | {{#if:{{{?examples|}}}|"{{{?examples}}}" is examples of it <br>|}} | ||
|#default={{#switch:{{{storemode|}}} | |#default={{#switch:{{{storemode|}}} | ||
|none= | |none= | ||
Line 82: | Line 98: | ||
|PID id={{{id|}}} | |PID id={{{id|}}} | ||
|PID name={{{name|}}} | |PID name={{{name|}}} | ||
+ | |PID links={{{links|}}} | ||
+ | |PID examples={{{examples|}}} | ||
}} | }} | ||
|#default={{#set: | |#default={{#set: | ||
Line 87: | Line 105: | ||
|PID id={{{id|}}} | |PID id={{{id|}}} | ||
|PID name={{{name|}}} | |PID name={{{name|}}} | ||
+ | |PID links={{{links|}}} | ||
+ | |PID examples={{{examples|}}} | ||
}} | }} | ||
}} | }} | ||
Line 92: | Line 112: | ||
|masterdetail= | |masterdetail= | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | !id!!name | + | !id!!name!!links!!examples |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | {{!}}{{{id|}}}{{!}}{{!}}{{{name|}}} | + | {{!}}{{{id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{links|}}}{{!}}{{!}}{{{examples|}}} |
{{!}}- | {{!}}- | ||
|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>links={{#if:{{{links|}}}|{{{links|}}}|}}<br>examples={{#if:{{{examples|}}}|{{{examples|}}}|}}<br>|#default={{{!}} class='wikitable' |
! colspan='2' {{!}}PID | ! colspan='2' {{!}}PID | ||
{{!}}- | {{!}}- | ||
Line 111: | Line 131: | ||
!name | !name | ||
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | {{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | ||
+ | {{!}}- | ||
+ | !links | ||
+ | {{!}} {{#if:{{{links|}}}|{{{links|}}}|}} | ||
+ | {{!}}- | ||
+ | !examples | ||
+ | {{!}} {{#if:{{{examples|}}}|{{{examples|}}}|}} | ||
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} | ||
Line 124: | Line 150: | ||
{{#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:{{{?links|}}}|"{{{?links}}}" is links of it <br>|}} | ||
+ | {{#if:{{{?examples|}}}|"{{{?examples}}}" is examples of it <br>|}} | ||
|#default={{#switch:{{{storemode|}}} | |#default={{#switch:{{{storemode|}}} | ||
|none= | |none= | ||
Line 130: | Line 158: | ||
|PID id={{{id|}}} | |PID id={{{id|}}} | ||
|PID name={{{name|}}} | |PID name={{{name|}}} | ||
+ | |PID links={{{links|}}} | ||
+ | |PID examples={{{examples|}}} | ||
}} | }} | ||
|#default={{#set: | |#default={{#set: | ||
Line 135: | Line 165: | ||
|PID id={{{id|}}} | |PID id={{{id|}}} | ||
|PID name={{{name|}}} | |PID name={{{name|}}} | ||
+ | |PID links={{{links|}}} | ||
+ | |PID examples={{{examples|}}} | ||
}} | }} | ||
}} | }} | ||
Line 140: | Line 172: | ||
|masterdetail= | |masterdetail= | ||
|tableheader={{{!}} class='wikitable' | |tableheader={{{!}} class='wikitable' | ||
− | !id!!name | + | !id!!name!!links!!examples |
{{!}}- | {{!}}- | ||
|tablerow= | |tablerow= | ||
− | {{!}}{{{id|}}}{{!}}{{!}}{{{name|}}} | + | {{!}}{{{id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{links|}}}{{!}}{{!}}{{{examples|}}} |
{{!}}- | {{!}}- | ||
|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>links={{#if:{{{links|}}}|{{{links|}}}|}}<br>examples={{#if:{{{examples|}}}|{{{examples|}}}|}}<br>|#default={{{!}} class='wikitable' |
! colspan='2' {{!}}PID | ! colspan='2' {{!}}PID | ||
{{!}}- | {{!}}- | ||
Line 159: | Line 191: | ||
!name | !name | ||
{{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | {{!}} {{#if:{{{name|}}}|{{{name|}}}|}} | ||
+ | {{!}}- | ||
+ | !links | ||
+ | {{!}} {{#if:{{{links|}}}|{{{links|}}}|}} | ||
+ | {{!}}- | ||
+ | !examples | ||
+ | {{!}} {{#if:{{{examples|}}}|{{{examples|}}}|}} | ||
{{!}}- | {{!}}- | ||
{{!}}} | {{!}}} |
Revision as of 11:15, 18 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= |links= |examples= |storemode=subobject }}
storemode property
{{PID |id= |name= |links= |examples= |storemode=property }}
storemode none
{{PID |id= |name= |links= |examples= |storemode=none }}
viewmode tableheader
{{PID |id= |name= |links= |examples= |viewmode=tableheader }}
viewmode tablerow
{{PID |id= |name= |links= |examples= |viewmode=tablerow }}
{{PID |id= |name= |links= |examples= |viewmode=tablefooter }}
viewmode labelfield
{{PID |id= |name= |links= |examples= |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:{{{?links|}}}|"{{{?links}}}" is links of it <br>|}}
{{#if:{{{?examples|}}}|"{{{?examples}}}" is examples of it <br>|}}
|#default={{#switch:{{{storemode|}}}
|none=
|subobject={{#subobject:-
|isA=PID
|PID id={{{id|}}}
|PID name={{{name|}}}
|PID links={{{links|}}}
|PID examples={{{examples|}}}
}}
|#default={{#set:
|isA=PID
|PID id={{{id|}}}
|PID name={{{name|}}}
|PID links={{{links|}}}
|PID examples={{{examples|}}}
}}
}}
{{#switch: {{{viewmode|}}}
|masterdetail=
|tableheader={{{!}} class='wikitable'
!id!!name!!links!!examples
{{!}}-
|tablerow=
{{!}}{{{id|}}}{{!}}{{!}}{{{name|}}}{{!}}{{!}}{{{links|}}}{{!}}{{!}}{{{examples|}}}
{{!}}-
|tablefooter={{!}}}
|labelfield=
id={{#if:{{{id|}}}|{{{id|}}}|}}<br>name={{#if:{{{name|}}}|{{{name|}}}|}}<br>links={{#if:{{{links|}}}|{{{links|}}}|}}<br>examples={{#if:{{{examples|}}}|{{{examples|}}}|}}<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|}}}|}}
{{!}}-
!links
{{!}} {{#if:{{{links|}}}|{{{links|}}}|}}
{{!}}-
!examples
{{!}} {{#if:{{{examples|}}}|{{{examples|}}}|}}
{{!}}-
{{!}}}
}}
}}
Source
Click on "Edit" to edit the noinclude-part Source of this Template.