Difference between revisions of "Template: MintyDocsProduct"

From Genesys Documentation
Jump to: navigation, search
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}} }}
{{#switch:{{NAMESPACENUMBER}}|620=
+
{{#css:
<div style="clear:both;"></div><div class="warningbox">Actions you can take for this product space:
+
  #content {
*{{#formlink:form=CreateMintyDocsVersion
+
    padding: 0;
|link text=<span style="color:red">Create a new version</span>
+
    margin-bottom: 0;
|query string=MintyDocsVersion[version]={{{version|}}}
+
  }
|query string=MintyDocsVersion[product]={{#explode:{{FULLPAGENAME}}|/|0}}
+
|returnto={{FULLPAGENAME}}
+
  @media (max-width: 992px) {
}} {{#ppin:==All versions==
+
    #main-content {
List of versions currently built for this product:
+
      padding-left: 10px;
{{#cargo_query:tables=MintyDocsVersion|field=version|format=ul|where=productshort="{{#explode:{{FULLPAGENAME}}|/|0}}"}}|(View all)}}
+
      padding-right: 0;
*{{#formlink:form=CreateMintyDocsManual
+
    }
|link text=<span style="color:red">Create a new manual</span>
+
  }
|query string=MintyDocsManual[product]={{#explode:{{FULLPAGENAME}}|/|0}}
+
}}{{#cargo_query:tables=MintyDocsVersion|fields=IF (version="Internal",'
|query string=MintyDocsManual[version]={{{version|}}}
+
',' ')|where=productshort="{{FULLPAGENAME}}" AND version="Internal"|default={{#switch:{{NAMESPACENUMBER}}|620=
|query string=MintyDocsManual[manual]={{{manual|}}}
+
==Create an internal version for administrating this workspace==
}} {{#ppin:==All manuals==
+
<div class="template-form">
List of manuals currently built for this product:
+
{{#formlink:form=CreateInternalVersion-PEC
{{#cargo_query:tables=MintyDocsManual|fields=version,CONCAT('[[',_pageName,'/About|',displayname,']]')=manual|format=outline|outline fields=version|where=product="{{#explode:{{FULLPAGENAME}}|/|0}}"}}|(View all)}}
+
| link text=Create
*{{#formlink:form=CreateStandaloneArticle
+
| link type=post button
|link text=<span style="color:red">Create a standalone article in this product space</span>
+
|query string=MintyDocsVersion[version]=Internal&MintyDocsVersion[productshort]={{PAGENAME}}
|query string=Article[product]={{#explode:{{FULLPAGENAME}}|/|0}}
+
|new window
|query string=Article[urlname]={{{urlname|}}}
 
 
}}
 
}}
*[{{server}}/index.php?title={{FULLPAGENAME}}&action=mdpublish Publish content]
+
</div>|#default=}}
 
 
</div>
 
|#default=}}
 
 
{{#mintydocs_product:
 
{{#mintydocs_product:
 
display name={{{displayname|}}}
 
display name={{{displayname|}}}
Line 48: Line 47:
 
|previewers={{{previewers}}}
 
|previewers={{{previewers}}}
 
}}
 
}}
{{#if:{{{video|}}}|
+
{{#css:
<div class="col-md-7" style="padding-left:0;">
+
  .warningbox {
{{{definition}}}
+
  display:none}
</div>
+
}}}}{{#switch:{{{ComingSoon|}}}|PureEngage={{ComingSoon}}|#default=}}{{#switch:{{{WithTabber}}}
<div class="col-md-5" style="top:-38px;">
+
|#default={{#switch:{{{UserFunctions|}}}|Yes=|#default={{#cargo_query:
{{#widget:Vimeo|id={{{video}}}}}
+
tables=MintyDocsProductLandingSections
</div>
+
|fields=Platform,Title,Description,Links,Type,IconLink
<div style="clear:both;"></div>
+
|where=_pageName="{{FULLPAGENAME}}"
|
+
|format=template
{{{definition|}}}
+
|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>
}}{{{MintyDocsProductLandingSections|}}}
+
}}
[[Category:MintyDocsProduct]]
+
}}[[Category:MintyDocsProduct]]{{{MintyDocsProductLandingSections|}}}<nowiki/></includeonly><noinclude>[[Category:MintyDocs]]</noinclude>
</includeonly><noinclude>[[Category:Cargo_MintyDocs]]</noinclude>
 

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.

Retrieved from "https://all.docs.genesys.com/Template:MintyDocsProduct (2025-06-22 21:50:19)"