Difference between revisions of "Template: Article"
From Genesys Documentation
(Removing switch briefly) |
(Adding switch back in) (Tag: Undo) |
||
Line 58: | Line 58: | ||
|UseCase={{{UseCase|}}} | |UseCase={{{UseCase|}}} | ||
|Prereq={{{Prereq|}}} | |Prereq={{{Prereq|}}} | ||
− | }}<!-- Set MintyDocs topic, including a switch for different treatment for Manual pages -->{{#mintydocs_topic: | + | }}<!-- Set MintyDocs topic, including a switch for different treatment for Manual pages -->{{#switch:{{{PageType|}}}|Manual=|#default={{#mintydocs_topic: |
|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 | + | }}}}<!-- 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}}}"}}|}}</includeonly><noinclude>[[Category:MintyDocs_Cargo]]</noinclude> | {{#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> |
Revision as of 17:54, February 12, 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.