Difference between revisions of "Template: EPPOHead"

From Genesys Documentation
Jump to: navigation, search
(removing tabs from rss links)
 
(3 intermediate revisions by 2 users not shown)
Line 39: Line 39:
 
<span>{{{Context}}}</span>}}
 
<span>{{{Context}}}</span>}}
 
<!-- An IF to find if any links at all exist. If yes, format accordingly. If no, do nothing. -->
 
<!-- An IF to find if any links at all exist. If yes, format accordingly. If no, do nothing. -->
{{#if:  
+
{{#if:{{EPPOQueries
{{EPPOQueries
 
 
|PageType={{{PageType|}}}
 
|PageType={{{PageType|}}}
 
|RN={{{RN|}}}
 
|RN={{{RN|}}}
 
|ServiceId={{{ServiceId|}}}
 
|ServiceId={{{ServiceId|}}}
 
|DepGuideServiceId={{{DepGuideServiceId|}}}
 
|DepGuideServiceId={{{DepGuideServiceId|}}}
}}
+
}}
 
|<div style="margin-top:20px;"><span style="font-weight:600;">Related documentation:</span><ul class="related-links pages">
 
|<div style="margin-top:20px;"><span style="font-weight:600;">Related documentation:</span><ul class="related-links pages">
 
{{EPPOQueries
 
{{EPPOQueries
Line 54: Line 53:
 
}}
 
}}
 
</ul>
 
</ul>
| <!-- do nothing if no links -->
+
|<!-- do nothing if no links  
}}
+
-->}}
</div>
 
</div>
 
 
<div>
 
<div>
 
{{#if:{{{UseCase|}}}
 
{{#if:{{{UseCase|}}}
Line 67: Line 64:
 
}}
 
}}
 
|
 
|
 +
}}<!--
 +
 +
adding RSS links to Relase notes pages & PE guide pages
 +
 +
-->{{#switch:{{{RN|}}}
 +
|Yes=<span style="font-weight:600; ">RSS:</span><ul class="related-links pages"><li>[https://all.docs.genesys.com/ReleaseNotes/Current/GenesysEngage-cloud/Hosted?action=rnrss For cloud]</li><li>[https://all.docs.genesys.com/ReleaseNotes/Current/GenesysEngage-cloud/PrivateEdition?action=rnrss For private edition]</li></ul>
 +
|#default={{#cargo_query:
 +
tables=MintyDocsManual,Article,Service
 +
|join on=
 +
MintyDocsManual.Manual=Article.Manual,
 +
MintyDocsManual.ServiceId=Service.Id
 +
|intro=<span style="font-weight:600; ">RSS:</span><ul class="related-links pages">
 +
|outro=</ul>
 +
|fields=CONCAT('[https://all.docs.genesys.com/ReleaseNotes/Current/GenesysEngage-cloud/PrivateEdition?action=rnrss For private edition]')
 +
|where=
 +
Article._pageName="{{FULLPAGENAME}}"
 +
AND (MintyDocsManual.ServiceId IS NOT NULL OR MintyDocsManual.Manual="PEGuide" OR MintyDocsManual.Manual="Operations")
 +
AND Article._pageNamespace="{{NAMESPACENUMBER}}"
 +
|format=template
 +
|template=ListItems
 +
|default=
 +
|group by=Article._pageName
 +
}}
 
}}
 
}}
 +
</div>
 
</div>
 
</div>
 
</div>
 
</div>
 
<!-- Notices--><div id="footer-notice" style="margin: 0 auto;margin-top:20px;display: none;">
 
<!-- Notices--><div id="footer-notice" style="margin: 0 auto;margin-top:20px;display: none;">
 
{{#cargo_query:
 
{{#cargo_query:
tables=Article,MintyDocsManual
+
tables=
 +
Article,
 +
MintyDocsManual
 
|join on=Article._pageNamespace=MintyDocsManual._pageNamespace
 
|join on=Article._pageNamespace=MintyDocsManual._pageNamespace
 
|fields=MintyDocsManual.Notice
 
|fields=MintyDocsManual.Notice

Latest revision as of 12:42, August 25, 2022

Related documentation:
Retrieved from "https://all.docs.genesys.com/Template:EPPOHead (2024-11-09 10:36:13)"