PDMColumnDPL CargoFormat
Basically a copy of Template:PDMColumn.dpl to format the Column List table generated by the Cargo equivalent of Template:PDMColumnDPL. The formatting switches for GIM, ICON and RAA.
It includes the following:
{{!}}{{#switch:{{#explode:{{FULLPAGENAME}}|:|1}}
|GIM
|RAA
|PSAAS=[[{{FULLPAGENAME}}#{{{colName}}}|{{{colName}}}]]{{#if:{{{discontinued|}}}|<nowiki>*</nowiki>
<nowiki>*</nowiki>Discontinued in release {{{discontinued}}}|}}
|ICON
|#default={{{colName}}}{{#if:{{{discontinued|}}}|<nowiki>*</nowiki>
<nowiki>*</nowiki>Discontinued in release {{{discontinued}}}|}}}}
{{!}} {{#switch:{{#explode:{{FULLPAGENAME}}|:|2}}
|PDMOra={{uc:{{{dataType_Ora}}}}}
|PDMMS={{lc:{{{dataType_MSSQL}}}}}
|PDMPostgre={{lc:{{{dataType_Postgre}}}}}
|PDMDB2={{uc:{{{dataType_DB2}}}}}
|GIMRef
|RPRT={{lc:{{{dataType_MSSQL}}}}}
|Library={{#if:{{{dataType_Ora|}}}|'''Oracle:''' {{uc:{{{dataType_Ora}}}}}<br>|}}{{#if:{{{dataType_MSSQL|}}}|'''MSSQL:''' {{lc:{{{dataType_MSSQL}}}}}<br>|}}{{#if:{{{dataType_Postgre|}}}|'''PostgreSQL:''' {{lc:{{{dataType_Postgre}}}}}<br>|}}{{#if:{{{dataType_DB2|}}}|'''DB2:''' {{uc:{{{dataType_DB2}}}}}|}}
|#default=Data type}}
{{!}} style="text-align:center;" {{!}} {{#if:{{{primaryKey|}}}|X|}}
{{!}} style="text-align:center;" {{!}} {{#if:{{{mandatory|}}}|X|}}
{{!}} style="text-align:center;" {{!}} {{#if:{{{foreignKey|}}}|X|}}
{{!}} {{#switch:{{#explode:{{FULLPAGENAME}}|:|1}}
|GIM
|RAA
|PSAAS={{{default}}}
|ICON
|#default={{{colDesc}}}}}
{{!}}-
|{{{colName}}} | Data type | style="text-align:center;" | | style="text-align:center;" | | style="text-align:center;" | | {{{colDesc}}} |-
This page was last edited on October 23, 2019, at 21:50.
Comments or questions about this documentation? Contact us for support!