Difference between revisions of "Template: ArticleCloudRN"
From Genesys Documentation
m (1 revision imported) |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 27: | Line 27: | ||
</noinclude> | </noinclude> | ||
− | <includeonly> | + | <includeonly><!-- |
− | __NOEDITSECTION__{{#cargo_store:_table=Article|Standalone={{{Standalone}}}|Dimension={{{Dimension|}}}|productshort={{#explode:{{FULLPAGENAME}}|/|0}}|DisplayName={{{DisplayName|}}}|Context={{{Context|}}}}}{{#cargo_store:_table=ArticleCloudRN | + | |
− | |ServiceId={{{ServiceId|}}} | + | adding category to set form |
− | |ComponentId={{{ComponentId|}}} | + | |
− | |DeploymentTypeId={{{DeploymentTypeId|}}} | + | -->[[Category:ArticleCloudRN]] |
− | |ReleaseTypeId={{{ReleaseTypeId|}}} | + | |
− | |Footer={{{Footer|}}} | + | <!-- |
− | |DepGuideServiceId={{{DepGuideServiceId|}}} | + | |
− | }}<!-- Set MintyDocs topic, including a switch for different treatment for Manual pages -->{{#switch:{{{PageType|}}}|Manual=|#default={{#mintydocs_topic: | + | forcing TOC and suppressing section inks |
+ | |||
+ | -->__TOC__ | ||
+ | __NOEDITSECTION__<!-- | ||
+ | |||
+ | storing cargo values in both Article table for general queries | ||
+ | |||
+ | -->{{#cargo_store: | ||
+ | _table=Article | ||
+ | |Standalone={{{Standalone}}} | ||
+ | |Dimension={{{Dimension|}}} | ||
+ | |productshort={{#explode:{{FULLPAGENAME}}|/|0}} | ||
+ | |DisplayName={{{DisplayName|}}} | ||
+ | |Context={{{Context|}}}}}<!-- | ||
+ | |||
+ | storing values in ArticleCloudRN table for specific queries | ||
+ | |||
+ | -->{{#cargo_store: | ||
+ | _table=ArticleCloudRN | ||
+ | |ServiceId={{{ServiceId|}}} | ||
+ | |ComponentId={{{ComponentId|}}} | ||
+ | |DeploymentTypeId={{{DeploymentTypeId|}}} | ||
+ | |ReleaseTypeId={{{ReleaseTypeId|}}} | ||
+ | |Footer={{{Footer|}}} | ||
+ | |DepGuideServiceId={{{DepGuideServiceId|}}} | ||
+ | }}<!-- | ||
+ | |||
+ | Set MintyDocs topic, including a switch for different treatment for Manual pages | ||
+ | |||
+ | -->{{#switch:{{{PageType|}}}|Manual=|#default={{#mintydocs_topic: | ||
|display name={{{DisplayName|}}} | |display name={{{DisplayName|}}} | ||
|toc name={{{TocName|}}} | |toc name={{{TocName|}}} | ||
− | }}}}<!-- Defining the EPPO Header; all parameters need to be passed to it -->{{EPPOHead|RN=Yes|Role={{{Role|}}}|ComingSoon={{{ComingSoon|}}}|Context=Not all releases or changes listed below may pertain to your deployment. Check the table below to see which releases apply to you. | + | }}}}<!-- |
− | |UseCase={{{UseCase|}}}|Application={{{Application|}}}|Platform={{{Platform|}}}|PageType=Article|DepGuideServiceId={{{DepGuideServiceId|}}}|ServiceId={{{ServiceId|}}}}}<!--Defining the Prerequisite Head -->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}<!-- Query for showing component list | + | |
− | + | Defining the EPPO Header; all parameters need to be passed to it | |
− | + | ||
− | <!-- setting up list of releases table --> | + | -->{{EPPOHead |
− | {{#cargo_query:tables= | + | |RN=Yes |
− | ArticleCloudRN, | + | |Role={{{Role|}}} |
− | ComponentRN, | + | |ComingSoon={{{ComingSoon|}}} |
− | ComponentRN__DeploymentTypeId | + | |Context=Not all releases or changes listed below may pertain to your deployment. Check the table below to see which releases apply to you. |
− | |join on= | + | |UseCase={{{UseCase|}}} |
− | ArticleCloudRN.ComponentId HOLDS ComponentRN.ComponentId, | + | |Application={{{Application|}}} |
− | ComponentRN._ID =ComponentRN__DeploymentTypeId._rowID | + | |Platform={{{Platform|}}} |
− | |fields= | + | |PageType=Article |
− | ComponentRN.ComponentId, | + | |DepGuideServiceId={{{DepGuideServiceId|}}} |
− | ComponentRN.ReleaseNumber, | + | |ServiceId={{{ServiceId|}}} |
− | ComponentRN.ReleaseDate, | + | }}<!-- |
− | ComponentRN.Highlight, | + | |
− | ComponentRN.HighlightBoilerplateId | + | Defining the Prerequisite Head |
− | |where=ArticleCloudRN._pageNamespace="{{NAMESPACENUMBER}}" | + | |
− | AND ComponentRN._pageNamespace=ArticleCloudRN._pageNamespace | + | -->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}<!-- |
− | AND (ComponentRN.ComponentId IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) | + | |
− | AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}})) | + | Query for showing component list |
− | |limit=10000 | + | |
− | |order by=ComponentRN.ReleaseDate DESC | + | -->{{NoteFormat |
− | |group by=ComponentRN.ComponentId, | + | |The Release table lists the initial availability date for each release and the deployment environments for which a release is made available. Except when otherwise stated in the description for a specific release, each release includes all of the features and resolved issues that were introduced on earlier dates, regardless of the deployment environment. The features and resolved issues that apply only to a specific deployment environment are noted as such. |
− | ComponentRN.ReleaseNumber, | + | }}<!-- |
− | ComponentRN.ReleaseDate, | + | |
− | ComponentRN.Highlight | + | setting up list of releases table |
− | + | ||
− | |named args=yes | + | -->{{#cargo_query: |
− | |format=template | + | tables= |
− | |template=PrintTopRN | + | ArticleCloudRN, |
− | |intro= | + | ComponentRN, |
− | + | ComponentRN__DeploymentTypeId | |
− | + | |join on= | |
− | + | ArticleCloudRN.ComponentId HOLDS ComponentRN.ComponentId, | |
− | + | ComponentRN._ID=ComponentRN__DeploymentTypeId._rowID | |
− | + | |fields= | |
− | + | ComponentRN.ComponentId, | |
− | + | ComponentRN.ReleaseNumber, | |
− | + | ComponentRN.ReleaseDate, | |
− | + | ComponentRN.Highlight, | |
− | + | ComponentRN.HighlightBoilerplateId | |
− | + | |where=ArticleCloudRN._pageNamespace="{{NAMESPACENUMBER}}" | |
− | + | AND ComponentRN._pageNamespace=ArticleCloudRN._pageNamespace | |
− | + | AND (ComponentRN.ComponentId IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) | |
− | + | AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}})) | |
− | |outro=</table> | + | |limit=10000 |
− | }} | + | |order by=ComponentRN.ReleaseDate DESC |
− | <!-- printing content of indivual release note entries --> | + | |group by= |
− | {{#cargo_query: | + | ComponentRN._pageID, |
− | tables= | + | ComponentRN.ComponentId, |
− | ComponentRN, | + | ComponentRN.ReleaseNumber, |
− | ComponentRN__DeploymentTypeId | + | ComponentRN.ReleaseDate, |
− | + | ComponentRN.Highlight | |
− | |join on= | + | |named args=yes |
− | ComponentRN._ID=ComponentRN__DeploymentTypeId._rowID | + | |format=template |
− | + | |template=PrintTopRN | |
− | |fields=ComponentId=Component, | + | |intro= |
− | ComponentRN.ReleaseNumber=ReleaseNumber, | + | <table class="sortable" style="font-size:90%"> |
− | ComponentRN.ReleaseDate=ReleaseDate, | + | <tr>{{#ifeq:{{#cargo_query:tables=ArticleCloudRN,ArticleCloudRN__ComponentId|join on=ArticleCloudRN._ID=ArticleCloudRN__ComponentId._rowID|fields=COUNT(*)|where=ArticleCloudRN._pageName="{{FULLPAGENAME}}" AND ArticleCloudRN._pageNamespace="{{NAMESPACENUMBER}}"|no html}}|1||<th rowspan="2" style="width:15%">Service</th>}} |
− | + | <th rowspan="2" style="width:12%">Available</th> | |
− | ComponentRN._pageName=Page | + | <th colspan="2" style="text-align: center>Genesys CX on</th> |
− | + | <th rowspan="2">Private edition</th> | |
− | |format=template | + | <th rowspan="2">Highlights</th> |
− | |template=RNPrint | + | <th rowspan="2">Release</th> |
− | |where=(ComponentRN.ComponentId IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) | + | </tr> |
− | AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}})) | + | <tr> |
− | AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | + | <th>AWS</th> |
− | |named args=yes | + | <th>Azure</th> |
− | |order by=ComponentRN.ReleaseDate DESC | + | <!--<th>GCP</th>--> |
− | |group by=ComponentRN._pageName | + | <tr> |
+ | |outro=</table> | ||
+ | }}<!-- | ||
+ | |||
+ | printing content of indivual release note entries | ||
+ | |||
+ | -->{{#cargo_query: | ||
+ | tables= | ||
+ | Component, | ||
+ | ComponentRN, | ||
+ | ComponentRN__DeploymentTypeId | ||
+ | |join on= | ||
+ | Component.Id=ComponentRN.ComponentId, | ||
+ | ComponentRN._ID=ComponentRN__DeploymentTypeId._rowID | ||
+ | |fields= | ||
+ | ComponentId=Component, | ||
+ | ComponentRN.ReleaseNumber=ReleaseNumber, | ||
+ | ComponentRN.ReleaseDate=ReleaseDate, | ||
+ | Component.Name=ComponentName, | ||
+ | ComponentRN._pageName=Page | ||
+ | |format=template | ||
+ | |template=RNPrint | ||
+ | |where= | ||
+ | (ComponentRN.ComponentId IN ({{#arraymap:{{{ComponentId|}}}|,|x|'x'}})) | ||
+ | AND (ComponentRN__DeploymentTypeId._value IN ({{#arraymap:{{{DeploymentTypeId|}}}|,|x|'x'}})) | ||
+ | AND ComponentRN._pageNamespace="{{NAMESPACENUMBER}}" | ||
+ | |named args=yes | ||
+ | |order by=ComponentRN.ReleaseDate DESC | ||
+ | |group by= | ||
+ | Component._pageID, | ||
+ | ComponentRN._pageID, | ||
+ | ComponentRN.ComponentId, | ||
+ | ComponentRN.ReleaseNumber, | ||
+ | ComponentRN.ReleaseDate, | ||
+ | Component.Name, | ||
+ | ComponentRN._pageName | ||
}} | }} | ||
− | |||
{{#if:{{{Footer|}}}| | {{#if:{{{Footer|}}}| | ||
Line 121: | Line 184: | ||
{{#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; } |
− | .panel>.panel-heading { padding: 0 } | + | .panel>.panel-heading { padding: 0 } |
− | .toggle-wrap { margin: 20px 0 25px; } | + | .toggle-wrap { margin: 20px 0 25px; } |
− | .toggle-wrap>a{ display: block; padding: 10px; color: #333; background-color: #f5f5f5; border: 1px solid #ddd; border-top-left-radius: 3px; border-top-right-radius: 3px; } | + | .toggle-wrap>a{ display: block; padding: 10px; color: #333; background-color: #f5f5f5; border: 1px solid #ddd; border-top-left-radius: 3px; border-top-right-radius: 3px; } |
− | .toggle-wrap>a:before { content: '\f0d7'; float: left; font-family: FontAwesome; margin-right: 10px; text-decoration: none; } | + | .toggle-wrap>a:before { content: '\f0d7'; float: left; font-family: FontAwesome; margin-right: 10px; text-decoration: none; } |
− | .toggle-content { padding: 10px 20px; border: 1px solid #ddd; border-top: none; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; } | + | .toggle-content { padding: 10px 20px; border: 1px solid #ddd; border-top: none; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; } |
}} | }} | ||
{{{ArticleCloudRN|}}} | {{{ArticleCloudRN|}}} | ||
− | <!-- Removing the version dropdown for Standalone (version-less) pages -->{{#switch:{{{Standalone}}}|Yes={{#css: | + | <!-- |
− | button#version-dropdown { display: none; } | + | |
− | }}|#default=}}[[Category:Linkable]]<nowiki /></includeonly><noinclude>[[Category:RNAutomation]][[Category:ComponentRN.ComponentId cleanup]]</noinclude> | + | Removing the version dropdown for Standalone (version-less) pages |
+ | |||
+ | -->{{#switch:{{{Standalone}}} | ||
+ | |Yes= | ||
+ | {{#css: | ||
+ | button#version-dropdown { display: none; } | ||
+ | .MintyDocsTopicDesc {display:none} | ||
+ | }} | ||
+ | |#default= | ||
+ | }}[[Category:Linkable]]<nowiki /></includeonly><noinclude>[[Category:RNAutomation]][[Category:ComponentRN.ComponentId cleanup]]</noinclude> |
Latest revision as of 05:45, December 21, 2022
This is the "ArticleCloudRN" template.
It should be called in the following format:
{{ArticleCloudRN |ServiceId= |DepGuideServiceId= |ComponentId= |DeploymentTypeId= |ReleaseTypeId= |Footer= }}
Edit the page to see the template text.
This template defines the table "ArticleCloudRN". View table. This template adds rows to the table "Article", which is declared by the template Article. View table.