Difference between revisions of "Template: WorkspaceArticle"
From Genesys Documentation
en>Bgrenon |
|||
Line 33: | Line 33: | ||
|2}} | |2}} | ||
− | <h2> | + | <h2>Manage your versions{{FormTip| |
− | Use the | + | Use the Add Version button to create a new version. For Cloud, always create a Current version. Reminder: Don't create a draft version. Access draft versions via the Page actions drop-down.}}</h2> |
<div class="template-form"> | <div class="template-form"> | ||
{{#formlink:form=CreateVersion | {{#formlink:form=CreateVersion | ||
− | | link text= | + | | link text=Add Version |
| link type=button | | link type=button | ||
|popup | |popup | ||
Line 44: | Line 44: | ||
}} | }} | ||
</div> | </div> | ||
− | {{#cargo_query:tables=MintyDocsVersion|fields= | + | |
+ | {{#tag:tabber| | ||
+ | {{#cargo_query:tables=MintyDocsVersion | ||
+ | |fields=version,productshort | ||
+ | |delimiter={{!}}-{{!}} | ||
+ | |no html | ||
+ | |where=productshort="{{#explode:{{FULLPAGENAME}}|/|0}}" | ||
+ | |format=template | ||
+ | |template=PrintVersion1 | ||
+ | |named args=yes | ||
+ | }} | ||
+ | }} | ||
==Manage your manuals== | ==Manage your manuals== | ||
+ | <div class="template-form"> | ||
+ | {{#formlink:form=CreateMintyDocsManual | ||
+ | |link text=Add Manual | ||
+ | |query string=MintyDocsManual[product]={{#explode:{{FULLPAGENAME}}|/|0}}&MintyDocsManual[manual]= | ||
+ | |link type=button | ||
+ | |reload | ||
+ | }} | ||
+ | </div> | ||
+ | |||
{{#cargo_query:tables=MintyDocsManual|fields=CONCAT('[[',_pageName,'|',displayname,']]')=Manual,version=Version,CONCAT('<span class="button">[{{server}}/Special:FormEdit/EditMintyDocsManual/',_pageName,'?returnto={{FULLPAGENAME}} Setup]</span> <span class="button">[{{server}}/Special:FormEdit/EditTOC/',_pageName,'?returnto={{FULLPAGENAME}} Edit TOC]</span>')=Edit manual|where=product="{{#explode:{{FULLPAGENAME}}|/|0}}" AND _pageName!="{{FULLPAGENAME}}"|format=dynamic table}} | {{#cargo_query:tables=MintyDocsManual|fields=CONCAT('[[',_pageName,'|',displayname,']]')=Manual,version=Version,CONCAT('<span class="button">[{{server}}/Special:FormEdit/EditMintyDocsManual/',_pageName,'?returnto={{FULLPAGENAME}} Setup]</span> <span class="button">[{{server}}/Special:FormEdit/EditTOC/',_pageName,'?returnto={{FULLPAGENAME}} Edit TOC]</span>')=Edit manual|where=product="{{#explode:{{FULLPAGENAME}}|/|0}}" AND _pageName!="{{FULLPAGENAME}}"|format=dynamic table}} | ||
==Manage Standalone articles== | ==Manage Standalone articles== | ||
Line 59: | Line 79: | ||
{{#formlink:form=CreateStandaloneArticle | {{#formlink:form=CreateStandaloneArticle | ||
| link type=button | | link type=button | ||
− | |link text= | + | |link text=Add generic standalone article |
|query string=Article[product]={{#explode:{{FULLPAGENAME}}|/|0}} | |query string=Article[product]={{#explode:{{FULLPAGENAME}}|/|0}} | ||
}} | }} | ||
Line 66: | Line 86: | ||
{{#formlink:form=CreateSimpleStandalone | {{#formlink:form=CreateSimpleStandalone | ||
| link type=button | | link type=button | ||
− | |link text= | + | |link text=Add simple standalone article |
|query string=ArticleSimplified[product]={{#explode:{{FULLPAGENAME}}|/|0}} | |query string=ArticleSimplified[product]={{#explode:{{FULLPAGENAME}}|/|0}} | ||
}} | }} | ||
Line 76: | Line 96: | ||
{{#formlink:form=HIW | {{#formlink:form=HIW | ||
| link type=button | | link type=button | ||
− | |link text= | + | |link text=Add How It Works article |
|query string=HIW[product]={{#explode:{{FULLPAGENAME}}|/|0}} | |query string=HIW[product]={{#explode:{{FULLPAGENAME}}|/|0}} | ||
|returnto={{FULLPAGENAME}} | |returnto={{FULLPAGENAME}} | ||
Line 110: | Line 130: | ||
|tables=HIW;where=productshort="{{#explode:{{FULLPAGENAME}}|/|0}}";fields=CONCAT('[[',_pageName,'|',DisplayName,']]')=Article | |tables=HIW;where=productshort="{{#explode:{{FULLPAGENAME}}|/|0}}";fields=CONCAT('[[',_pageName,'|',DisplayName,']]')=Article | ||
|format=dynamic table}} | |format=dynamic table}} | ||
− | |||
__NOCACHE__ | __NOCACHE__ |
Revision as of 14:04, May 10, 2021
This is the "WorkspaceArticle" template.
It should be called in the following format:
{{WorkspaceArticle |productshort= |DisplayName= |Product }}
Edit the page to see the template text.
This template defines the table "WorkspaceArticle". View table.