Difference between revisions of "Template: EPPOHead"

From Genesys Documentation
Jump to: navigation, search
m (1 revision imported)
en>Jumunn
(Undo revision 31507 by Jumunn (talk))
Line 1: Line 1:
<onlyinclude>{{#switch:{{{PageType}}}
+
<onlyinclude>{{#css:  
|RNProduct
+
ul.related-links, ul.related-links li {display: inline; margin-left: 0;}
|RNComponent={{CloudRNStyle|Platform={{{Platform|}}}|PageType={{{PageType|}}}|Component={{{Component}}}|IntroductorySection={{{IntroductorySection|}}}}}
+
ul.related-links li {padding: 0 20px;  border-left: 1px solid #5d3e5d; font-size: 15px;}
|#default=
+
ul#prod-link li {border: 0 none;}
<div class="panel eppo">
+
ul.related-links li:last-child { border-right: 0 none;}
<div class="panel-body">
+
ul.related-links li.roles {padding:0 18px; border-left: 1px solid #77828f;}
{{#if:{{{Context|}}}|
+
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;}
{{#if:{{{Dimension|}}}|{{#if:{{{Tags|}}}|
+
ul.related-links li.apps {padding: 0 6px 0 0}
<!--{{#cargo_query:
+
ul.related-links li.apps:last-child {padding-right: 18px;}
tables=MintyDocsManual
+
ul.related-links li.apps:first-child {padding-left: 18px;border-left: 1px solid #77828f;}
|fields=Role,UI
+
ul.related-links.pages li:first-child{border:0 none;}
|format=template
+
}}<div style="background-color:#f6f6f6; color: #5d3e5d;margin:-20px -18px 20px -36px; padding:20px 20px 30px 40px;">
|template=RoleIcons|named args=yes
+
<div class="col-md-10" id="eppo-links" style="padding:0; margin-top:-10px;min-height:20px;">
|where=MintyDocsManual.Product="{{#explode:{{FULLPAGENAME}}|/|0}}"
+
<ul class="related-links">{{#if:{{{Application|}}}|
|default={{#cargo_query:tables=Article|fields=Role,UI|format=template|template=RoleIcons|where=Role IS NOT NULL|default=}}
+
{{#arraymaptemplate:{{{Application|}}}|ApplicationsMap|,|}}
}}-->
+
}}</ul>
<div class="col-md-5 context">
+
<ul class="related-links">{{#if:{{{Role|}}}|
{{{Context}}}
+
{{#arraymaptemplate:{{{Role|}}}|RolesMap|,|}}
</div>
+
}}</ul>
<div class="col-md-5 related">
+
</div>
<div class="col-md-5 tags">
+
<div class="col-md-2" id="eppo-version" style="padding:0;"></div>
<span>tags</span>
+
<div class="clearfix"></div>
{{#cargo_query:
+
<div id="eppo-heading" style="margin-bottom: 15px;"></div>
  tables=Article,Article__Tags
+
{{#ifeq:{{{ComingSoon|}}}|Yes|
        |join on=Article._ID=Article__Tags._rowID
+
<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>
        |fields=CONCAT('[[',Article__Tags._value,']]')
+
|}}{{#if:{{{Context|}}}|
    |where=Article._pageName="{{FULLPAGENAME}}" AND Article__Tags._value IS NOT NULL
+
<span>{{{Context}}}</span>
    |format=ul
+
}}
        |default=
+
{{#if:{{#cargo_query:
    }}
+
  tables=HIW
</div>
+
  |fields=CONCAT('[[',HIW._pageName ,'|',HIW.DisplayName,']]')
<div class="col-md-5 links">
+
  |where=HIW.productshort LIKE '%{{#explode:{{FULLPAGENAME}}|/|0}}%' AND HIW._pageNamespace="{{NAMESPACENUMBER}}" AND HIW._pageName!="{{FULLPAGENAME}}"
<span>links</span>
+
  |format=template
  {{#cargo_query:
+
  |template=ListItems
     tables=Article
+
  |default=
 +
}}{{#cargo_query:
 +
  tables=GetStarted
 +
  |fields=CONCAT('[[',GetStarted._pageName,'|',GetStarted.DisplayName,']]')
 +
  |where=GetStarted.productshort LIKE '%{{#explode:{{FULLPAGENAME}}|/|0}}%' AND GetStarted._pageNamespace="{{NAMESPACENUMBER}}" AND GetStarted._pageName!="{{FULLPAGENAME}}" AND _pageName LIKE "%/{{#explode:{{FULLPAGENAME}}|/|2}}/%"
 +
  |format=template
 +
  |template=ListItems
 +
  |default=
 +
}}{{#cargo_query:
 +
     tables={{{PageType|}}}
 
     |fields=CONCAT('[[',_pageName,'|',DisplayName,']]')
 
     |fields=CONCAT('[[',_pageName,'|',DisplayName,']]')
     |where=Dimension="{{{Dimension}}}" AND Dimension IS NOT NULL AND _pageName!="{{FULLPAGENAME}}" AND Article._pageName LIKE '%{{#explode:{{FULLPAGENAME}}|/|1}}%' AND Article._pageNamespace="{{NAMESPACENUMBER}}"
+
     |where=Dimension="{{{Dimension|}}}" AND Dimension IS NOT NULL AND _pageName!="{{FULLPAGENAME}}" AND {{{PageType|}}}._pageName LIKE '%{{#explode:{{FULLPAGENAME}}|/|1}}%' AND {{{PageType|}}}._pageNamespace="{{NAMESPACENUMBER}}"
     |format=ul
+
     |format=template
     |default=test1
+
     |template=ListItems
     }}
+
     |default=
</div>
+
}}|<div style="margin-top:20px;"><span style="font-weight:600;">Related pages:</span><ul class="related-links pages">
</div>
+
{{#cargo_query:
{{#if:{{{Prereq|}}}|<div class="panel eppo">
+
  tables=HIW
<div class="panel-body">
+
  |fields=CONCAT('[[',HIW._pageName ,'|',HIW.DisplayName,']]')
<ul class="col-md-12">
+
  |where=HIW.productshort LIKE '%{{#explode:{{FULLPAGENAME}}|/|0}}%' AND HIW._pageNamespace="{{NAMESPACENUMBER}}" AND HIW._pageName!="{{FULLPAGENAME}}"
{{{Prereq|}}}</ul></div></div>|}}
+
  |format=template
|
+
  |template=ListItems
<!--{{#cargo_query:
+
  |default=
tables=MintyDocsManual
+
}}{{#cargo_query:
|fields=Role,UI
+
  tables=GetStarted
|format=template
+
  |fields=CONCAT('[[',GetStarted._pageName,'|',GetStarted.DisplayName,']]')
|template=RoleIcons|named args=yes
+
  |where=GetStarted.productshort LIKE '%{{#explode:{{FULLPAGENAME}}|/|0}}%' AND GetStarted._pageNamespace="{{NAMESPACENUMBER}}" AND GetStarted._pageName!="{{FULLPAGENAME}}" AND _pageName LIKE "%/{{#explode:{{FULLPAGENAME}}|/|2}}/%"
|where=MintyDocsManual.Product="{{#explode:{{FULLPAGENAME}}|/|0}}"
+
  |format=template
|default={{#cargo_query:tables=Article|fields=Role,UI|format=template|template=RoleIcons|where=Role IS NOT NULL|default=}}
+
  |template=ListItems
}}-->
+
  |default=
<div class="col-md-7 context">
+
}}{{#cargo_query:
{{{Context}}}
+
     tables={{{PageType|}}}
</div>
 
<div class="col-md-3 related">
 
<div class="links">
 
<span>links</span>
 
{{#cargo_query:
 
     tables=Article
 
 
     |fields=CONCAT('[[',_pageName,'|',DisplayName,']]')
 
     |fields=CONCAT('[[',_pageName,'|',DisplayName,']]')
     |where=Dimension="{{{Dimension}}}" AND Dimension IS NOT NULL AND _pageName!="{{FULLPAGENAME}}" AND Article._pageName LIKE '%{{#explode:{{FULLPAGENAME}}|/|1}}%' AND Article._pageNamespace="{{NAMESPACENUMBER}}"
+
     |where=Dimension="{{{Dimension|}}}" AND Dimension IS NOT NULL AND _pageName!="{{FULLPAGENAME}}" AND {{{PageType|}}}._pageName LIKE '%{{#explode:{{FULLPAGENAME}}|/|1}}%' AND {{{PageType|}}}._pageNamespace="{{NAMESPACENUMBER}}"
     |format=ul
+
     |format=template
 +
    |template=ListItems
 
     |default=
 
     |default=
    }}
+
}}</ul></div>|}}
</div>
+
<div>
</div>
+
{{#if:{{{UseCase|}}}|
}}
+
{{#switch:{{{Platform|}}}
{{#if:{{{Prereq|}}}|<div class="panel eppo">
+
|PureEngage=<span style="font-weight:600; ">Related use cases:</span><ul class="related-links">{{#arraymaptemplate:{{{UseCase|}}}|UseCasesMapPE|,|}}</ul>
<div class="panel-body">
+
|PureCloud=<span style="font-weight:600; ">Related use cases:</span><ul class="related-links">{{#arraymaptemplate:{{{UseCase|}}}|UseCasesMapPC|,|}}</ul>
<ul class="col-md-12">
+
|PureConnect=<span style="font-weight:600; ">Related use cases:</span><ul class="related-links">{{#arraymaptemplate:{{{UseCase|}}}|UseCasesMapPCON|,|}}</ul>
{{{Prereq|}}}</ul></div></div>|}}
+
}}|}}
|
 
{{#if:{{{Tags|}}}|
 
<!--{{#cargo_query:
 
tables=MintyDocsManual
 
|fields=Role,UI
 
|format=template
 
|template=RoleIcons|named args=yes
 
|where=MintyDocsManual.Product="{{#explode:{{FULLPAGENAME}}|/|0}}"
 
|default={{#cargo_query:tables=Article|fields=Role,UI|format=template|template=RoleIcons|where=Role IS NOT NULL|default=}}
 
}}-->
 
<div class="col-md-7 context">
 
{{{Context}}}
 
</div>
 
<div class="col-md-3 related">
 
<div class="col-md-6 tags">
 
<span>tags</span>
 
  {{#cargo_query:
 
            tables=Article,Article__Tags
 
                  |join on=Article._ID=Article__Tags._rowID
 
                  |fields=CONCAT('[[',Article__Tags._value,']]')
 
            |where=Article._pageName="{{FULLPAGENAME}}" AND Article__Tags._value IS NOT NULL
 
            |format=ul
 
                  |default=
 
            }}
 
 
</div>
 
</div>
 
</div>
 
</div>
{{#if:{{{Prereq|}}}|<div class="panel eppo">
+
 
<div class="panel-body">
+
<nowiki /></onlyinclude>
<ul class="col-md-12">
 
{{{Prereq|}}}</ul></div></div>|}}
 
|
 
<div class="col-md-12 context" style="border-right: 0;padding-left:0">
 
<!--{{#cargo_query:
 
tables=MintyDocsManual
 
|fields=Role,UI
 
|format=template
 
|template=RoleIcons|named args=yes
 
|where=MintyDocsManual.Product="{{#explode:{{FULLPAGENAME}}|/|0}}"
 
|default={{#cargo_query:tables=Article|fields=Role,UI|format=template|template=RoleIcons|where=Role IS NOT NULL|default=}}
 
}}-->{{{Context}}}
 
</div>
 
}}
 
}}
 
}}
 
</div></div>{{#if:{{{Prereq|}}}|<div class="panel eppo">
 
<div class="panel-body">
 
<ul class="col-md-12">
 
{{{Prereq|}}}</ul></div></div>|}}}}<nowiki /></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>

Revision as of 19:10, November 22, 2019

Related pages:

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