Difference between revisions of "Template: MintyDocsProduct"
From Genesys Documentation
Line 10: | Line 10: | ||
|previewers= | |previewers= | ||
|definition= | |definition= | ||
+ | |contentarea= | ||
+ | |landingpage= | ||
+ | |workspace_id= | ||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
− | {{#cargo_declare:_table=MintyDocsProduct|displayname=String|admins=List (,) of String|editors=List (,) of String|previewers=List (,) of String|definition=Wikitext|ComingSoon=String}} | + | {{#cargo_declare:_table=MintyDocsProduct|displayname=String|admins=List (,) of String|editors=List (,) of String|previewers=List (,) of String|definition=Wikitext|ComingSoon=String|contentarea=String|landingpage=Boolean|workspace_id=String}} |
− | </noinclude><includeonly>{{#cargo_store:_table=MintyDocsProduct|ComingSoon={{{ComingSoon|}}}|displayname={{{displayname|}}}|admins={{{admins|}}}|editors={{{editors|}}}|previewers={{{previewers|}}}|definition={{{definition|} | + | </noinclude><includeonly>{{#cargo_store:_table=MintyDocsProduct|ComingSoon={{{ComingSoon|}}}|displayname={{{displayname|}}}|admins={{{admins|}}}|editors={{{editors|}}}|previewers={{{previewers|}}}|definition={{{definition|}}}|contentarea={{{contentarea|}}}|landingpage={{{landingpage|}}}|workspace_id={{PAGENAME}} }} |
− | + | {{#css: | |
− | + | #content { | |
− | + | padding: 0; | |
− | + | margin-bottom: 0; | |
− | + | } | |
− | | | + | |
− | | | + | @media (max-width: 992px) { |
− | }} {{# | + | #main-content { |
− | + | padding-left: 10px; | |
− | + | padding-right: 0; | |
− | + | } | |
− | + | } | |
− | + | }}{{#cargo_query:tables=MintyDocsVersion|fields=IF (version="Internal",' | |
− | + | ',' ')|where=productshort="{{FULLPAGENAME}}" AND version="Internal"|default={{#switch:{{NAMESPACENUMBER}}|620= | |
− | + | ==Create an internal version for administrating this workspace== | |
− | }} | + | <div class="template-form"> |
− | + | {{#formlink:form=CreateInternalVersion-PEC | |
− | {{#cargo_query:tables= | + | | link text=Create |
− | + | | link type=post button | |
− | |link text= | + | |query string=MintyDocsVersion[version]=Internal&MintyDocsVersion[productshort]={{PAGENAME}} |
− | |query string= | + | |new window |
− | |||
}} | }} | ||
− | + | </div>|#default=}} | |
− | |||
− | </div> | ||
− | |#default=}} | ||
{{#mintydocs_product: | {{#mintydocs_product: | ||
display name={{{displayname|}}} | display name={{{displayname|}}} | ||
Line 48: | Line 47: | ||
|previewers={{{previewers}}} | |previewers={{{previewers}}} | ||
}} | }} | ||
− | {{# | + | {{#css: |
− | + | .warningbox { | |
− | {{{ | + | display:none} |
− | + | }}}}{{#switch:{{{ComingSoon|}}}|PureEngage={{ComingSoon}}|#default=}}{{#switch:{{{WithTabber}}} | |
− | + | |#default={{#switch:{{{UserFunctions|}}}|Yes=|#default={{#cargo_query: | |
− | {{# | + | tables=MintyDocsProductLandingSections |
− | + | |fields=Platform,Title,Description,Links,Type,IconLink | |
− | <div style=" | + | |where=_pageName="{{FULLPAGENAME}}" |
− | + | |format=template | |
− | + | |template=MintyDocsProductLandingSectionsPrint | |
− | + | |named args=yes | |
− | + | |order by=_rowID | |
− | {{#switch:{{{Platforms}}} | + | |no html}}}} |
+ | |Yes=<div style="display:none;"></div>{{#switch:{{{Platforms}}} | ||
|PureEngage= | |PureEngage= | ||
<tabber> | <tabber> | ||
Line 131: | Line 131: | ||
{{ProductLandingTabQuery|Platforms=PureCloud}} | {{ProductLandingTabQuery|Platforms=PureCloud}} | ||
</tabber> | </tabber> | ||
− | }} | + | }} |
− | [[Category:MintyDocsProduct]] | + | }}[[Category:MintyDocsProduct]]{{{MintyDocsProductLandingSections|}}}<nowiki/></includeonly><noinclude>[[Category:MintyDocs]]</noinclude> |
− | </includeonly><noinclude>[[Category: |
Revision as of 13:56, June 5, 2019
This is the "MintyDocsProduct" template. It should be called in the following format:
{{MintyDocsProduct |ComingSoon= |displayname= |admins= |editors= |previewers= |definition= |contentarea= |landingpage= |workspace_id= }}
Edit the page to see the template text. This template defines the table "MintyDocsProduct". View table.