Difference between revisions of "Template: EPPOHead"
From Genesys Documentation
(removing tabs from rss links) |
|||
(51 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
− | <onlyinclude>{{# | + | <onlyinclude> |
− | + | {{#css: | |
− | + | ul.related-links, ul.related-links li {display: inline; margin-left: 0;} | |
− | + | ul.related-links li, ul.related-links>a {padding: 0 20px;border-left: 1px solid #5d3e5d; font-size: 15px;} | |
− | + | ul#prod-link li {border: 0 none;} | |
− | + | ul.related-links li:last-child { border-right: 0 none;} | |
− | + | ul.related-links li.roles {padding:0 18px; border-left: 1px solid #77828f;} | |
− | + | ul.related-links li.roles a, ul.related-links li.roles a:focus, ul.related-links li.roles a:hover {font-weight: 400; color: #77828f;} | |
− | + | ul.related-links li.apps {padding: 0 18px 0 18px;} | |
− | + | ul.related-links li.apps:last-child {padding-right: 18px;} | |
− | + | ul.related-links li.apps:first-child {padding-left: 18px;border-left: 1px solid #77828f;} | |
− | < | + | ul.related-links.pages li:first-child, ul.related-links>a:first-child {border:0 none;} |
− | + | span.mw-redirectedfrom {display: none;} | |
− | + | }}<div class="eppo-head" style="background-color:#f6f6f6; color: #5d3e5d;margin:-20px -18px 20px -36px; padding:20px 20px 30px 40px;"> | |
− | + | <div class="col-md-10" id="eppo-links" style="padding:0; margin-top:-10px;min-height:20px;"> | |
− | + | <ul class="related-links"> | |
− | + | {{#if:{{{Application|}}} | |
− | " > | + | |{{#arraymaptemplate:{{{Application|}}} |
− | < | + | |ApplicationsMap |
− | < | + | |, |
− | </ | + | | |
+ | }} | ||
+ | }}</ul> | ||
+ | <ul class="related-links"> | ||
+ | {{#if:{{{Role|}}} | ||
+ | |{{#arraymaptemplate:{{{Role|}}} | ||
+ | |RolesMap | ||
+ | |, | ||
+ | | | ||
+ | }} | ||
+ | }}</ul> | ||
</div> | </div> | ||
− | <div style=" | + | <div class="col-md-2" id="eppo-version" style="padding:0;"></div> |
− | + | <div class="clearfix"></div> | |
− | + | <div id="eppo-heading" style="margin-bottom: 15px;"></div> | |
− | + | {{#ifeq:{{{ComingSoon|}}}|Yes| | |
− | + | <span style="background-color: #5D3E5D; color: #fff; padding: 3px 10px; border: 1px solid #5D3E5D; border-radius: 3px; font-size: 90%; font-weight: 500;margin-right: 5px;"><i class="glyphicon glyphicon-flag" style="margin-right: 5px;"></i>Feature coming soon!</span> | |
− | + | |}}{{#if:{{{Context|}}}| | |
− | + | <span>{{{Context}}}</span>}} | |
− | + | <!-- An IF to find if any links at all exist. If yes, format accordingly. If no, do nothing. --> | |
− | + | {{#if:{{EPPOQueries | |
− | + | |PageType={{{PageType|}}} | |
− | + | |RN={{{RN|}}} | |
− | + | |ServiceId={{{ServiceId|}}} | |
− | + | |DepGuideServiceId={{{DepGuideServiceId|}}} | |
− | {{# | + | }} |
− | + | |<div style="margin-top:20px;"><span style="font-weight:600;">Related documentation:</span><ul class="related-links pages"> | |
− | + | {{EPPOQueries | |
− | + | |PageType={{{PageType|}}} | |
− | + | |RN={{{RN|}}} | |
− | + | |ServiceId={{{ServiceId|}}} | |
− | + | |DepGuideServiceId={{{DepGuideServiceId|}}} | |
− | + | }} | |
− | + | </ul> | |
− | + | |<!-- do nothing if no links | |
− | + | -->}} | |
− | + | <div> | |
− | + | {{#if:{{{UseCase|}}} | |
− | | | + | | |
− | + | {{#switch:{{{Platform|}}} | |
− | + | |GenesysEngage-onpremises=<span style="font-weight:600; ">Related use cases:</span><ul class="related-links">{{#arraymaptemplate:{{{UseCase|}}}|UseCasesMapPE|,|}}</ul> | |
− | + | |GenesysCloud=<span style="font-weight:600; ">Related use cases:</span><ul class="related-links">{{#arraymaptemplate:{{{UseCase|}}}|UseCasesMapPC|,|}}</ul> | |
− | + | |PureConnect=<span style="font-weight:600; ">Related use cases:</span><ul class="related-links">{{#arraymaptemplate:{{{UseCase|}}}|UseCasesMapPCON|,|}}</ul> | |
− | + | }} | |
− | | | ||
− | | | ||
− | |||
− | |||
− | | | ||
− | < | ||
− | {{ | ||
− | {{ | ||
− | <!-- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | < | ||
− | |||
− | </ | ||
− | < | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | < | ||
− | <span> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | |||
− | |||
− | < | ||
− | <ul class=" | ||
− | {{{ | ||
| | | | ||
− | <!-- | + | }}<!-- |
− | + | ||
− | + | 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=Article | + | |#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> | </div> | ||
− | + | <!-- Notices--><div id="footer-notice" style="margin: 0 auto;margin-top:20px;display: none;"> | |
− | + | {{#cargo_query: | |
− | + | tables= | |
− | + | Article, | |
− | + | MintyDocsManual | |
− | + | |join on=Article._pageNamespace=MintyDocsManual._pageNamespace | |
− | + | |fields=MintyDocsManual.Notice | |
− | tables=MintyDocsManual | + | |where= |
− | | | + | Article._pageName="{{FULLPAGENAME}}" |
− | + | AND Article.Manual=MintyDocsManual.Manual | |
− | | | + | |named args=yes |
− | |where= | + | |format=template |
− | + | |template=Notices | |
− | + | |default= | |
− | |||
− | |||
− | |||
}} | }} | ||
− | </div | + | </div></onlyinclude> |
− | |||
− | |||
− | |||
<noinclude>[[Category:MintyDocs_Cargo]][[Category:EPPO_Cargo]][[Category:Cargo_CloudRN]][[Category:UCSales_Cargo]] | <noinclude>[[Category:MintyDocs_Cargo]][[Category:EPPO_Cargo]][[Category:Cargo_CloudRN]][[Category:UCSales_Cargo]] | ||
− | </noinclude> | + | </noinclude><noinclude>[[Category:GroupByFix]]</noinclude> |
Latest revision as of 12:42, August 25, 2022
Related documentation: