Template: PDMColumnFormat Table

From Genesys Documentation
Jump to: navigation, search

Formatting template to format the rows in the Column List table generated by Template:PDMColumnQuery. This template has been modified from the one originally developed for Ponydocs. Since it no longer needs to cover ICON, some switches fall away.

Content is as follows:

{{!}} [[{{FULLPAGENAME}}#{{{colName}}}|{{{colName}}}]]{{#if:{{{discontinued|}}}|<br/>*Discontinued in release {{{discontinued}}}|}}
{{!}} {{#switch:{{#sub:{{#explode:{{FULLPAGENAME}}|/|2}}|3}}
|PDMOra={{uc:{{{dataType_Ora}}}}}
|PDMMS={{lc:{{{dataType_MSSQL}}}}}
|PDMPostgre={{lc:{{{dataType_Postgre}}}}}
|PDM={{lc:{{{dataType_MSSQL}}}}}
|LibraryGIM
|LibraryRAA={{#if:{{{dataType_Ora|}}}|'''Oracle:''' {{uc:{{{dataType_Ora}}}}}<br>|}}{{#if:{{{dataType_MSSQL|}}}|'''MSSQL:''' {{lc:{{{dataType_MSSQL}}}}}<br>|}}{{#if:{{{dataType_Postgre|}}}|'''PostgreSQL:''' {{lc:{{{dataType_Postgre}}}}}|}}
|#default=Data type}}
{{!}} style="text-align:center;" {{!}} {{#if:{{{primaryKey|}}}|X|}}
{{!}} style="text-align:center;" {{!}} {{#if:{{{mandatoryKey|}}}|X|}}
{{!}} style="text-align:center;" {{!}} {{#if:{{{foreignKey|}}}|X|}}
{{!}} {{{defaultValue}}}
{{!}}-


| [[Template:PDMColumnFormat Table#{{{colName}}}|{{{colName}}}]] | Data type | style="text-align:center;" | | style="text-align:center;" | | style="text-align:center;" | | {{{defaultValue}}} |-

Retrieved from "https://all.docs.genesys.com/Template:PDMColumnFormat_Table (2026-05-15 01:22:29)"