Template: PDMViewPageFormat

From Genesys Documentation
Jump to: navigation, search

Formatting template to format View pages. This template is called by the PDMView query in Template:PDMPageQuery. The template switches to display References on Library pages.

The template calls separate sub-query templates to populate column data (Template:PDMViewColumnQuery) and, for the Library book, Template:PDMRefQuery.

This template has been modified from the one originally developed for Ponydocs, which used to provide links to related GIDB tables only for PSAAS.

Display of the SQL query has been temporarily suppressed pending resolution of the UNIQ error issue because Cargo doesn't support the preformatting markup (<source> or <pre> tags).

Content is:

==Description==
{{#if:{{{introduced|}}}|'''Introduced:''' {{{introduced}}}<br/>|}} 
{{#if:{{{modified|}}}|'''Modified:''' {{{modified}}}<br/>|}}
{{#if:{{{discontinued|}}}|'''Discontinued:''' {{{discontinued}}}<br/>|}}
{{#if:{{{viewDesc|}}}|{{{viewDesc}}}|{{{shortDesc}}}}} {{#switch:{{#replace:{{#explode:{{{page}}}|/|3}}|<nowiki/> |_}}
|View-CALLING_LIST
|View-CAMPAIGN
|View-GROUP
|View-PLACE
|View-SKILL
|View-TENANT=<br/><br/>This view is based on the [[{{#replace:{{{page}}}|View-|Table-GIDB_GC_}}|GIDB_GC_{{#explode:{{#explode:{{{page}}}|/|3}}|-|1}}]] table.<br/>
|#default=}}
{{AnchorDiv|ColumnList}}
==Column List==
{{PDMViewColumnQuery|page={{{page}}}}}
<!--{{#if:{{{SQLQuery|}}}|
==SQL Query==
{{{SQLQuery}}}|}}-->
{{#switch:{{#explode:{{{page}}}|/|2}}
|PDMLibraryGIM=
==References==
The summary List of References will include the following entries for this table or view:
{{PDMRefQuery|page={{{page}}}}}
|#default=}}


Description[edit source]

{{{shortDesc}}}

Column List[edit source]

No results

Retrieved from "https://all.docs.genesys.com/Template:PDMViewPageFormat (2024-04-23 08:39:50)"