Difference between revisions of "Template: RNPrint"

From Genesys Documentation
Jump to: navigation, search
Line 2: Line 2:
 
tables=ComponentRN,DeploymentType=DT
 
tables=ComponentRN,DeploymentType=DT
 
|join on=ComponentRN.DeploymentTypeId HOLDS DT.Id
 
|join on=ComponentRN.DeploymentTypeId HOLDS DT.Id
|fields=CONCAT('[[File:',DT.Image,'|50px|link=]]')
+
|fields=CONCAT('[[File:',DT.Image,'|',Size,'px|link=]]')
 
|delimiter=
 
|delimiter=
 
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}"
 
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}"
Line 11: Line 11:
 
|fields=Label
 
|fields=Label
 
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}"
 
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}"
}}--></h2> {{AnchorDiv|{{{ComponentName|}}}-{{{ReleaseNumber|}}}}}{{#if:{{{PrivateEditionReleaseDate}}}|<div style="margin-top:-30px">{{#cargo_query:
+
}}--></h2> {{AnchorDiv|{{{ComponentName|}}}-{{{ReleaseNumber|}}}}}{{#cargo_query:
 
tables=ComponentRN,DeploymentType=DT
 
tables=ComponentRN,DeploymentType=DT
 
|join on=ComponentRN.DeploymentTypeId HOLDS DT.Id
 
|join on=ComponentRN.DeploymentTypeId HOLDS DT.Id
|fields=CONCAT('[[File:',DT.Image,'|30px|link={{#switch:{{NAMESPACENUMBER}}|620=Draft:|#default=}}ReleaseNotes/Current/GenesysEngage-cloud/PrivateEdition]] ')
+
|fields=DT.Image=Image,DT.Size=Size,DT.Name=DTName,ComponentRN.ComponentId=ComponentId,ReleaseNumber,PrivateEditionReleaseDate=Date
|delimiter=
+
|named args=yes
 +
|format=template
 +
|template=RNPrintSubhead
 +
|default=
 
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" AND DT.Name="Private Edition"
 
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" AND DT.Name="Private Edition"
}}{{Link-AnywhereElse|product=ReleaseNotes|version=Current|manual=GenesysEngage-cloud|topic=PrivateEdition|display text=Private edition}}: {{{ReleaseNumber|}}} available {{#time:F d, Y|{{{PrivateEditionReleaseDate|}}}}}</div>|}}
+
}}{{#cargo_query:
{{#cargo_query:
+
tables=ComponentRN,DeploymentType=DT
 +
|join on=ComponentRN.DeploymentTypeId HOLDS DT.Id
 +
|fields=DT.Image=Image,DT.Size=Size,DT.Name=DTName,ComponentRN.ComponentId=ComponentId,ReleaseNumber,MixedModeReleaseDate=Date
 +
|named args=yes
 +
|format=template
 +
|template=RNPrintSubhead
 +
|default=
 +
|where=ComponentRN.ComponentId HOLDS '{{{Component|}}}' AND ReleaseNumber="{{{ReleaseNumber|}}}" AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" AND DT.Name="Mixed mode"
 +
}}{{#cargo_query:
 
tables=ComponentRN,Issue,IssueCategory
 
tables=ComponentRN,Issue,IssueCategory
 
|join on=ComponentRN._pageName=Issue._pageName,Issue.IssueCategoryId=IssueCategory.Id
 
|join on=ComponentRN._pageName=Issue._pageName,Issue.IssueCategoryId=IssueCategory.Id

Revision as of 19:45, November 18, 2021

Retrieved from "https://all.docs.genesys.com/Template:RNPrint (2024-11-09 13:04:13)"