Difference between revisions of "Template: UseCaseHead"

From Genesys Documentation
Jump to: navigation, search
m (Text replacement - "Genesys Engage [cC]loud" to "Genesys Multicloud CX")
 
(17 intermediate revisions by one other user not shown)
Line 13: Line 13:
 
{{#widget:Vimeo|id={{{Video}}}|width=100%}}
 
{{#widget:Vimeo|id={{{Video}}}|width=100%}}
 
</div>|}}
 
</div>|}}
<div class="col-md-5" style="margin-top: 40px;" >
+
{{#if:{{{Video}}}|<div class="col-md-5" style="margin-top: 40px;" >|<div class="col-md-12" style="margin-top: 40px;">}}
 
{{#cargo_query:
 
{{#cargo_query:
 
tables=SMART_UseCase
 
tables=SMART_UseCase
|intro=<b>Other offerings:</b>{{#if:{{{Video}}}|<ul class="related-links">|}}
+
|intro={{#if:{{{Video}}}|<b>Other offerings:</b>|<b>Other offerings:</b><ul class="related-links">}}
|fields=CONCAT ('[[',_pageName,'|', CASE WHEN Offering='GenesysEngage-cloud' THEN 'Genesys Engage cloud' WHEN Offering='GenesysEngage-onpremises' THEN 'Genesys Engage on-premises' WHEN Offering='GenesysCloud' THEN 'Genesys Cloud' ELSE Offering END,']]')
+
|fields=CONCAT ('[[',_pageName,'|', CASE WHEN Offering='GenesysEngage-cloud' THEN 'Genesys Multicloud CX' WHEN Offering='GenesysEngage-onpremises' THEN 'Genesys Engage on-premises' WHEN Offering='GenesysCloud' THEN 'Genesys Cloud' ELSE Offering END,']]')
 
|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}" AND Offering !="{{#explode:{{FULLPAGENAME}}|/|2}}"
 
|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}" AND Offering !="{{#explode:{{FULLPAGENAME}}|/|2}}"
|format={{#if:{{{Video}}}|template|ul}}
+
|format={{#if:{{{Video}}}|template}}
 +
|delimiter=
 
|template=ListItems
 
|template=ListItems
 
|default=
 
|default=
|outro={{#if:{{{Video}}}|</div>|}}
+
|outro={{#if:{{{Video}}}|</ul>|}}
}}</div>
+
}}
</div>
+
</div></div>
 
<div class="clearfix"></div>
 
<div class="clearfix"></div>
 
</div>
 
</div>
{{#css:  
+
{{#if:{{{Video}}}||{{#css:  
 
ul.related-links, ul.related-links li {display: inline; margin-left: 0;}
 
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.related-links li, ul.related-links>a {padding: 0 20px;  border-left: 1px solid #5d3e5d; font-size: 15px;}
Line 37: Line 38:
 
ul.related-links li.apps:last-child {padding-right: 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 li.apps:first-child {padding-left: 18px;border-left: 1px solid #77828f;}
ul.related-links li:first-child, ul.related-links>a:first-child {border:0 none;padding: 0 20px 0 0}
+
ul.related-links li:first-child, ul.related-links>a:first-child {border:0 none;}
}}
+
}}}}

Latest revision as of 20:37, November 9, 2021

What's the challenge?

What's the solution?

Retrieved from "https://all.docs.genesys.com/Template:UseCaseHead (2025-06-22 20:27:08)"