Jump to: navigation, search

PDMRefListDPL

This template provides the DPL to construct the list of references. For ICON, it includes the option to restrict the list by schema or to generate a single list for all schemas. Output is formatted as a table, with formatting controlled by the phantom template Template:PDMRef.dpl. To accommodate an excerpted version for the Cloud, the GIM part of the template now accepts a "notpattern" parameter to enable tables/views to be excluded.

Content of this template is:

{{#switch:{{#explode:{{FULLPAGENAME}}|:|1}}
|GIM
|PSAAS={{#dpl:
|namespace=Documentation
|titlematch={{#switch:{{PONYDOCSSTATUS}}
|unreleased
|preview = {{#switch:{{#explode:{{FULLPAGENAME}}|:|1}}
|PSAAS=GIM:Library:%:8.5DRAFT
|GIM={{#explode:{{FULLPAGENAME}}|:|1}}:Library:%:{{PONYDOCSVERSION}}%}}
|released= {{#switch:{{#explode:{{FULLPAGENAME}}|:|1}}
|PSAAS=GIM:Library:%:8.5PDMSource
|GIM={{#explode:{{FULLPAGENAME}}|:|1}}:Library:%:{{#sub:{{#explode:{{FULLPAGENAME}}|:|4}}|0|3}}PDMSource%}}}}
|uses=Template:PDMRef
|include={PDMRef}.dpl
|table=class=sortable,-,'''Child Table/View''','''Child Table/View Column''','''Parent Table/View''','''Parent Table/View Column'''
}}
|ICON={{#if:{{{schema|}}}|{{#dpl:
|namespace=Documentation
|titlematch={{#switch:{{PONYDOCSSTATUS}}
|unreleased
|preview = {{#explode:{{FULLPAGENAME}}|:|1}}:Library:%:{{PONYDOCSVERSION}}%
|released= {{#explode:{{FULLPAGENAME}}|:|1}}:Library:%:{{#sub:{{#explode:{{FULLPAGENAME}}|:|4}}|0|3}}PDMSource%}}
|category=ICONSchema:{{{schema}}}
|uses=Template:PDMRef
|include={PDMRef}.dpl
|table=class=sortable,-,'''Child Table''','''Parent Table''','''Code''','''F'''
|noresultsheader=No tables in this schema have references.
}}|{{#dpl:
|namespace=Documentation
|titlematch={{#switch:{{PONYDOCSSTATUS}}
|unreleased
|preview = {{#explode:{{FULLPAGENAME}}|:|1}}:Library:%:{{PONYDOCSVERSION}}%
|released= {{#explode:{{FULLPAGENAME}}|:|1}}:Library:%:{{#sub:{{#explode:{{FULLPAGENAME}}|:|4}}|0|3}}PDMSource%}}
|uses=Template:PDMRef
|include={PDMRef}.dpl
|table=class=sortable,-,'''Child Table''','''Parent Table''','''Code''','''F'''
|noresultsheader=No tables have references.}}
}}}}
This page was last edited on December 19, 2017, at 14:26.
Comments or questions about this documentation? Contact us for support!