Difference between revisions of "Template: PublicUseCase2"
From Genesys Documentation
Line 39: | Line 39: | ||
|display name={{#cargo_query:tables=SMART_Meta|fields=CONCAT (Title,' (',ID, ') for {{#switch:{{#explode:{{FULLPAGENAME}}|/|2}}|GenesysEngage-cloud=Genesys Engage cloud|GenesysEngage-onpremises=Genesys Engage on premises|GenesysCloud=Genesys Cloud|PureConnect=PureConnect}}')|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}"|no html}} | |display name={{#cargo_query:tables=SMART_Meta|fields=CONCAT (Title,' (',ID, ') for {{#switch:{{#explode:{{FULLPAGENAME}}|/|2}}|GenesysEngage-cloud=Genesys Engage cloud|GenesysEngage-onpremises=Genesys Engage on premises|GenesysCloud=Genesys Cloud|PureConnect=PureConnect}}')|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}"|no html}} | ||
|toc name={{{TocName|}}} | |toc name={{{TocName|}}} | ||
− | }}{{#switch:{{#cargo_query:tables=MintyDocsVersion|fields=comingsoon|no html|where=_pageName="{{#explode:{{FULLPAGENAME}}|/|0}}/{{#explode:{{FULLPAGENAME}}|/|1}}"}}|Yes={{ComingSoon}}|}}{{#cargo_query:tables=SMART_Meta,SMART_Canonical|join on=SMART_Meta._pageName=SMART_Canonical._pageName|fields=CONCAT('<div class="public-uc"><div id="public-uc-heading"><div>',Subtitle,'</div></div><div class="public-uc-content"><h2>What\'s the challenge?</h2>',PlatformChallenge,'<h2>What\'s the solution?</h2>',PlatformSolution,'</div></div>')|where=SMART_Meta.ID="{{#explode:{{FULLPAGENAME}}|/|3}}"|no html}} | + | }}{{#switch:{{#cargo_query:tables=MintyDocsVersion|fields=comingsoon|no html|where=_pageName="{{#explode:{{FULLPAGENAME}}|/|0}}/{{#explode:{{FULLPAGENAME}}|/|1}}"}}|Yes={{ComingSoon}}|}}{{#cargo_query:tables=SMART_Meta,SMART_Canonical|join on=SMART_Meta._pageName=SMART_Canonical._pageName|fields=CONCAT('<div class="public-uc"><div id="public-uc-heading"><div>',Subtitle,'</div></div><div class="public-uc-content"><h2>What\'s the challenge?</h2>',PlatformChallenge,'<h2>What\'s the solution?</h2>',PlatformSolution,'</div>{{#cargo_query:tables=SMART_UseCase|fields=Video,RelatedDocs|where=ID="{{#explode:{{FULLPAGENAME}}|/|3}}" and Offering="{{#explode:{{FULLPAGENAME}}|/|2}}" AND (Video IS NOT NULL OR RelatedDocs IS NOT NULL)|named args=yes|default=|format=template|template=SMART_RelatedDocs}} |
+ | </div>')|where=SMART_Meta.ID="{{#explode:{{FULLPAGENAME}}|/|3}}"|no html}} | ||
{{#if:{{{PageType|}}}|[[Category:MintyDocsGlossary]]|[[Category:PublicUseCase]]}}[[Category:{{MINTYDOCSPRODUCT}}]][[Category:{{MINTYDOCSPRODUCT}}-{{MINTYDOCSVERSION}}]] | {{#if:{{{PageType|}}}|[[Category:MintyDocsGlossary]]|[[Category:PublicUseCase]]}}[[Category:{{MINTYDOCSPRODUCT}}]][[Category:{{MINTYDOCSPRODUCT}}-{{MINTYDOCSVERSION}}]] |
Revision as of 18:35, October 6, 2020
This is the "PublicUseCase" template.
It should be called in the following format:
{{PublicUseCase |Platform= |DisplayName= |TocName= |Tags= |Dimension= |Context= }}
Edit the page to see the template text.
This template defines the table "PublicUseCase". View table.