Difference between revisions of "Template: Article"
From Genesys Documentation
(Adding switch back in) (Tag: Undo) |
|||
Line 61: | Line 61: | ||
|display name={{{DisplayName|}}} | |display name={{{DisplayName|}}} | ||
|toc name={{{TocName|}}} | |toc name={{{TocName|}}} | ||
− | }}}}<!-- Defining the EPPO Header; all parameters need to be passed to it -->{{EPPOHead|Role={{{Role|}}}|ComingSoon={{{ComingSoon|}}}|Dimension={{{Dimension|}}}|Context={{{Context|}}}|UseCase={{{UseCase|}}}|Application={{{Application|}}}|Platform={{{Platform|}}}|PageType=Article}}<!--Defining the Prerequisite Head | + | }}}}<!--Adding switch to CreateStandaloneArticle forces a "purge" link until page is registered as a mintydocs_topic -->{{#if:{{MINTYDOCSPRODUCT}}| <!-- Defining the EPPO Header; all parameters need to be passed to it --> |
+ | {{EPPOHead|Role={{{Role|}}}|ComingSoon={{{ComingSoon|}}}|Dimension={{{Dimension|}}}|Context={{{Context|}}}|UseCase={{{UseCase|}}}|Application={{{Application|}}}|Platform={{{Platform|}}}|PageType=Article}}<!--Defining the Prerequisite Head | ||
-->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}{{{Section|}}}<!-- Removing the version dropdown for Standalone (version-less) pages -->{{#switch:{{{Standalone}}}|Yes={{#css: | -->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}{{{Section|}}}<!-- Removing the version dropdown for Standalone (version-less) pages -->{{#switch:{{{Standalone}}}|Yes={{#css: | ||
button#version-dropdown { display: none; } | button#version-dropdown { display: none; } | ||
− | }}|#default=}}<!--Transclusion Test--> | + | }}|#default=}}<!--Transclusion Test-->{{#if:{{{TransclusionSource|}}}|{{#cargo_query:tables=Section|fields=Type,alignment,anchor,sectionHeading,structuredtext,structuredtextwide,image|format=template|template=Section|named args=yes|where=_pageName="{{#switch:{{NAMESPACENUMBER}}|620=Draft:|#default=}}{{{TransclusionSource}}}"}}|}} |
− | {{#if:{{{TransclusionSource|}}}|{{#cargo_query:tables=Section|fields=Type,alignment,anchor,sectionHeading,structuredtext,structuredtextwide,image|format=template|template=Section|named args=yes|where=_pageName="{{#switch:{{NAMESPACENUMBER}}|620=Draft:|#default=}}{{{TransclusionSource}}}"}}|}}</includeonly><noinclude>[[Category:MintyDocs_Cargo]]</noinclude> | + | |{{#css: #sidebar-right {display: none !important} .warningbox {display:none} #heading {display:none} # version-dropdown {display:none} }} [https://all.docs-content.genesys.com/index.php?title={{FULLPAGENAME}}&action=purge Purge] (you may need to do this twice to register the page)}}</includeonly><noinclude>[[Category:MintyDocs_Cargo]]</noinclude> |
Revision as of 01:17, April 8, 2020
This is the "Article" template.
It should be called in the following format:
{{Article |Standalone= |productshort= |Platform= |ComingSoon= |Role= |DisplayName= |TocName= |Dimension= |Context= |Product= |Manual= |Application= |UseCase= |Prereq= }}
Edit the page to see the template text.
This template defines the table "Article". View table.