Difference between revisions of "Template: Article"

From Genesys Documentation
Jump to: navigation, search
en>Jumunn
Line 7: Line 7:
 
|Standalone=
 
|Standalone=
 
|productshort=
 
|productshort=
 +
|ComingSoon=
 
|Platform=
 
|Platform=
|ComingSoon=
 
 
|Role=
 
|Role=
 
|DisplayName=
 
|DisplayName=
 
|TocName=
 
|TocName=
 +
|Tags=
 
|Dimension=
 
|Dimension=
 
|Context=
 
|Context=
 
|Product=
 
|Product=
 
|Manual=
 
|Manual=
|Application=
 
|UseCase=
 
|Prereq=
 
 
}}
 
}}
  
Line 32: Line 30:
 
|DisplayName=String
 
|DisplayName=String
 
|TocName=String
 
|TocName=String
 +
|Tags=List (,) of String
 
|Dimension=String
 
|Dimension=String
 
|Context=Wikitext (size=10000)
 
|Context=Wikitext (size=10000)
 
|Product=String
 
|Product=String
 
|Manual=String
 
|Manual=String
|Application=String
 
|UseCase=String
 
|Prereq=Wikitext (size=10000)
 
 
}}
 
}}
  
Line 51: Line 47:
 
|DisplayName={{{DisplayName|}}}
 
|DisplayName={{{DisplayName|}}}
 
|TocName={{{TocName|}}}
 
|TocName={{{TocName|}}}
 +
|Tags={{{Tags|}}}
 
|Dimension={{{Dimension|}}}
 
|Dimension={{{Dimension|}}}
 
|Context={{{Context|}}}
 
|Context={{{Context|}}}
 
|Product={{MINTYDOCSPRODUCT}}
 
|Product={{MINTYDOCSPRODUCT}}
 
|Manual={{#explode:{{FULLPAGENAME}}|/|2}}
 
|Manual={{#explode:{{FULLPAGENAME}}|/|2}}
|Application={{{Application|}}}
 
|UseCase={{{UseCase|}}}
 
|Prereq={{{Prereq|}}}
 
 
}}<!-- Set MintyDocs topic, including a switch for different treatment for Manual pages -->{{#switch:{{{PageType|}}}|Manual=|#default={{#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
+
}}}}<!-- Query to add the Coming Soon banner to the page -->{{#cargo_query:tables=MintyDocsVersion
-->{{PrerequisitesHead|Prereq={{{Prereq|}}}}}{{{Section|}}}<!-- Removing the version dropdown for Standalone (version-less) pages -->{{#switch:{{{Standalone}}}|Yes={{#css:  
+
|fields=MintyDocsVersion.comingsoon
 +
|no html
 +
|default={{#cargo_query:tables=Article|fields=ComingSoon|where=Article._pageName="{{FULLPAGENAME}}" AND ComingSoon="Yes"|format=template|template=ComingSoon|default=}}
 +
|where=MintyDocsVersion._pageName="{{#explode:{{FULLPAGENAME}}|/|0}}/{{#explode:{{FULLPAGENAME}}|/|1}}" AND comingsoon="Yes"
 +
|format=template
 +
|template=ComingSoon
 +
}}<!-- Defining the EPPO Header; all parameters need to be passed to it -->{{EPPOHead|Role={{{Role|}}}|Dimension={{{Dimension|}}}|Context={{{Context|}}}|Prereq={{{Prereq|}}}|Tags={{{Tags|}}}}}{{{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=}}
{{#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}}}"}}|}}<nowiki /></includeonly><noinclude>[[Category:MintyDocs_Cargo]]</noinclude>
+
{{#css:.annotator-frame annotator-outer annotator-collapsed {display:none;}}}<nowiki /></includeonly><noinclude>[[Category:MintyDocs_Cargo]]</noinclude>

Revision as of 21:36, November 28, 2019

This is the "Article" template.

It should be called in the following format:

{{Article
|Standalone=
|productshort=
|ComingSoon=
|Platform=
|Role=
|DisplayName=
|TocName=
|Tags=
|Dimension=
|Context=
|Product=
|Manual=
}}

Edit the page to see the template text.

This template defines the table "Article". View table.

Retrieved from "https://all.docs.genesys.com/Template:Article (2025-06-19 22:12:33)"