Difference between revisions of "Template: WorkspaceArticle"
From Genesys Documentation
(51 intermediate revisions by 6 users not shown) | |||
Line 25: | Line 25: | ||
|Product={{MINTYDOCSPRODUCT}} | |Product={{MINTYDOCSPRODUCT}} | ||
}} | }} | ||
− | {{EPPOHead|Role={{{Role|}}}|Dimension={{{Dimension|}}}|Context=Use this page to create and manage the versions and manuals in this workspace.|}} | + | {{EPPOHead|Role={{{Role|}}}|Dimension={{{Dimension|}}}|Context=Use this page to create and manage the versions and manuals in this workspace.|PageType=Article}} |
− | ==Create versions | + | {{NoteFormat| |
+ | *Get How To info in the Writer's Guide {{Link-AnywhereElse|product=ContentAdmin|version=Internal|manual=WritersGuide}} | ||
+ | *Go to Admin dashboard (for Admins only): [[Draft:ContentAdmin/Internal/SiteDashboard|Admin dashboard]] | ||
+ | *Create a new workspace: send an email request to [mailto:ixhelpdesk@genesys.com IX Help Desk] and we'll get you sorted. | ||
+ | |2}} | ||
+ | |||
+ | <h2>Manage your versions{{FormTip| | ||
+ | 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 | ||
− | |query string=MintyDocsVersion[version]={{{version}}}&MintyDocsVersion[productshort]={{#explode:{{FULLPAGENAME}}|/|0 | + | |query string=MintyDocsVersion[version]={{{version|}}}&MintyDocsVersion[productshort]={{#explode:{{FULLPAGENAME}}|/|0}} |
− | |||
|reload | |reload | ||
}} | }} | ||
</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}} | ||
==Manage Standalone articles== | ==Manage Standalone articles== | ||
+ | You can create two kinds of standalone articles: generic standalone and How It Works articles. Each article type lives within this workspace. | ||
+ | {| | ||
+ | !Generic standalone article | ||
+ | !Structured "How It Works" article | ||
+ | !Standalone Deprecation Notice article | ||
+ | |- | ||
+ | | style="vertical-align:top" | | ||
<div class="template-form"> | <div class="template-form"> | ||
{{#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}} | ||
+ | }} | ||
+ | </div> | ||
+ | <div class="template-form"> | ||
+ | {{#formlink:form=CreateSimpleStandalone | ||
+ | | link type=button | ||
+ | |link text=Add simple standalone article | ||
+ | |query string=ArticleSimplified[product]={{#explode:{{FULLPAGENAME}}|/|0}} | ||
+ | }} | ||
+ | </div> | ||
+ | |||
+ | </div> | ||
+ | | style="vertical-align:top" | | ||
+ | <div class="template-form"> | ||
+ | {{#formlink:form=HIW | ||
+ | | link type=button | ||
+ | |link text=Add How It Works article | ||
+ | |query string=HIW[product]={{#explode:{{FULLPAGENAME}}|/|0}} | ||
+ | |returnto={{FULLPAGENAME}} | ||
+ | |reload | ||
+ | }} | ||
+ | </div> | ||
+ | | style="vertical-align:top" | | ||
+ | {{#cargo_query:tables=Article|fields=CONCAT('<div style="display:none;">',Standalone,'</div>')|where=DisplayName="Deprecation-AllNotices" AND productshort="{{#explode:{{FULLPAGENAME}}|/|0}}"|default= | ||
+ | <div class="template-form"> | ||
+ | {{#formlink:form=DeprecationNoticeList | ||
+ | | link type=button | ||
+ | |link text=Create Deprecation List page | ||
+ | |query string=DeprecationNoticeList[product]={{#explode:{{FULLPAGENAME}}|/|0}} | ||
+ | |returnto={{FULLPAGENAME}} | ||
+ | |reload | ||
+ | }} | ||
+ | </div> | ||
+ | }} | ||
+ | <div class="template-form"> | ||
+ | {{#formlink:form=DeprecationNotice | ||
+ | | link type=button | ||
+ | |link text=Add a Deprecation Notice | ||
+ | |query string=DeprecationNotice[product]={{#explode:{{FULLPAGENAME}}|/|0}} | ||
+ | |query string=DeprecationNotice[Title]={{{Title|}}} | ||
|returnto={{FULLPAGENAME}} | |returnto={{FULLPAGENAME}} | ||
|reload | |reload | ||
− | |||
}} | }} | ||
</div> | </div> | ||
− | + | |} | |
− | |||
===List of standalone articles in this workspace=== | ===List of standalone articles in this workspace=== | ||
− | {{# | + | {{#cargo_compound_query: |
+ | tables=Article;where=Article.Standalone="Yes" AND productshort="{{#explode:{{FULLPAGENAME}}|/|0}}";fields=CONCAT('[[',Article._pageName,'|',Article.displayname,']]')=Article | ||
+ | |tables=HIW;where=productshort="{{#explode:{{FULLPAGENAME}}|/|0}}";fields=CONCAT('[[',_pageName,'|',DisplayName,']]')=Article | ||
+ | |format=dynamic table}} | ||
+ | ==Videos in this workspace== | ||
+ | {{#cargo_query:tables=Videos,Article|join on=Videos._pageName=Article._pageName|fields=CONCAT ('[[',Article._pageName,'|',DisplayName,']]')=Article,IF (Description IS NULL, '<i>Description needed!</i>', Description)=Video,Id,ConcatId|where=productshort="{{#explode:{{FULLPAGENAME}}|/|0}}"|limit=500}} | ||
__NOCACHE__ | __NOCACHE__ | ||
__TOC__ | __TOC__ |
Latest revision as of 17:51, December 19, 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.