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|2}}
|CX
|Li={{lc:{{{dataType_Postgre}}}}}
|PE={{#switch:{{#sub:{{#explode:{{FULLPAGENAME}}|/|2}}|9}}
|Ora={{uc:{{{dataType_Ora}}}}}
|MS={{lc:{{{dataType_MSSQL}}}}}
|Postgres
|#default={{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 (2024-07-27 12:12:06)"