Difference between revisions of "Template: ArticleHelmRN"

From Genesys Documentation
Jump to: navigation, search
production>Bgrenon
(cleaning cruft (by SublimeText.Mediawiker))
Line 34: Line 34:
 
|UseCase={{{UseCase|}}}|Application={{{Application|}}}|Platform={{{Platform|}}}|PageType=Article}}<!--Defining the Prerequisite Head -->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}<!-- Query for showing component list -->
 
|UseCase={{{UseCase|}}}|Application={{{Application|}}}|Platform={{{Platform|}}}|PageType=Article}}<!--Defining the Prerequisite Head -->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}<!-- Query for showing component list -->
 
<includeonly>{{#cargo_query:
 
<includeonly>{{#cargo_query:
tables=Issue,ComponentRN,ComponentRN__ComponentId,ComponentRN__DeploymentTypeId,Component
+
tables=Component,
|join on=Issue._pageName=ComponentRN._pageName,ComponentRN._ID=ComponentRN__ComponentId._rowID,ComponentRN._ID=ComponentRN__DeploymentTypeId._rowID,ComponentRN.ComponentId HOLDS Component.Id
+
ComponentRN,
|fields=Component.Name=Service,ComponentRN.ReleaseNumber,PrivateEditionReleaseDate=ReleaseDate,Containers,ComponentId
+
ComponentRN__DeploymentTypeId,
 +
Issue
 +
|join on=
 +
Component.Id=ComponentRN.ComponentId,
 +
ComponentRN._ID=ComponentRN__DeploymentTypeId._rowID,
 +
ComponentRN._pageName=Issue._pageName
 +
|fields=
 +
Component.Name=Service,
 +
ComponentRN.ReleaseNumber,
 +
PrivateEditionReleaseDate=ReleaseDate,
 +
Containers,
 +
ComponentId
 
|intro={{#switch:{{NAMESPACENUMBER}}|620={{NoteFormat|In the '''DRAFT PAGE ONLY''', you can tell where table values are being pulled from:
 
|intro={{#switch:{{NAMESPACENUMBER}}|620={{NoteFormat|In the '''DRAFT PAGE ONLY''', you can tell where table values are being pulled from:
 
* ''Checked {{SuperscriptCheck}} items are confirmed to have come directly from XING.''
 
* ''Checked {{SuperscriptCheck}} items are confirmed to have come directly from XING.''
Line 45: Line 56:
 
|format=template
 
|format=template
 
|template=HelmPrint
 
|template=HelmPrint
|where=(ComponentRN__ComponentId._value IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}})) AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" AND PrivateEditionReleaseDate IS NOT NULL
+
|where=
 +
(ComponentRN.ComponentId IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}}))  
 +
AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}}))  
 +
AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}"  
 +
AND PrivateEditionReleaseDate IS NOT NULL
 
|named args=yes
 
|named args=yes
 
|group by=ComponentRN._pageName
 
|group by=ComponentRN._pageName
Line 51: Line 66:
 
}}
 
}}
 
__NOCACHE__
 
__NOCACHE__
<!--|join on=ArticleHelmRN.ComponentId HOLDS Component.Id,ComponentRN.ComponentId__full=ArticleHelmRN.ComponentId__full,ComponentRN.DeploymentTypeId HOLDS DeploymentType.Id
+
{{#css:
-->{{#css:
 
 
#mw-content-text .select2-container .select2-choice { height: 34px; line-height: normal; }
 
#mw-content-text .select2-container .select2-choice { height: 34px; line-height: normal; }
 
.panel-title { padding: 10px; }
 
.panel-title { padding: 10px; }
Line 62: Line 76:
 
}}{{{ArticleHelmRN|}}}<!-- Removing the version dropdown for Standalone (version-less) pages -->{{#switch:{{{Standalone}}}|Yes={{#css:  
 
}}{{{ArticleHelmRN|}}}<!-- Removing the version dropdown for Standalone (version-less) pages -->{{#switch:{{{Standalone}}}|Yes={{#css:  
 
button#version-dropdown { display: none; }
 
button#version-dropdown { display: none; }
}}|#default=}}[[Category:Linkable]]<nowiki /></includeonly><noinclude>[[Category:RNAutomation]]</noinclude>
+
}}|#default=}}[[Category:Linkable]]<nowiki /></includeonly><noinclude>[[Category:RNAutomation]][[Category:ComponentRN.ComponentId cleanup]]</noinclude>

Revision as of 17:33, May 20, 2022

This is the "ArticleHelmRN" template.

It should be called in the following format:

{{ArticleHelmRN
|ServiceId=
|ComponentId=
|DeploymentTypeId=
|DisplayName=
}}

Edit the page to see the template text.

This template defines the table "ArticleHelmRN". View table. This template adds rows to the table "Article", which is declared by the template Article. View table.

Retrieved from "https://all.docs.genesys.com/Template:ArticleHelmRN (2024-07-28 00:37:41)"