Difference between revisions of "Template: Article"

From Genesys Documentation
Jump to: navigation, search
Line 8: Line 8:
 
|ComingSoon=
 
|ComingSoon=
 
|Platform=
 
|Platform=
 +
|Role=
 
|DisplayName=
 
|DisplayName=
 
|TocName=
 
|TocName=
Line 21: Line 22:
  
 
{{#cargo_declare:_table=Article
 
{{#cargo_declare:_table=Article
 +
|Standalone=String
 
|productshort=String
 
|productshort=String
 
|Platform=String
 
|Platform=String
Line 37: Line 39:
 
<includeonly>{{#switch:{{{PageType|}}}|Manual=[[Category:MintyDocsManual]]|#default=[[Category:Article]]}}__TOC__
 
<includeonly>{{#switch:{{{PageType|}}}|Manual=[[Category:MintyDocsManual]]|#default=[[Category:Article]]}}__TOC__
 
__NOEDITSECTION__{{#cargo_store:_table=Article
 
__NOEDITSECTION__{{#cargo_store:_table=Article
 +
|Standalone={{{Standalone|}}}
 
|productshort={{#explode:{{FULLPAGENAME}}|/|0}}
 
|productshort={{#explode:{{FULLPAGENAME}}|/|0}}
 
|Role={{{Role|}}}
 
|Role={{{Role|}}}
Line 48: Line 51:
 
|Product={{MINTYDOCSPRODUCT}}
 
|Product={{MINTYDOCSPRODUCT}}
 
|Manual={{#explode:{{FULLPAGENAME}}|/|2}}
 
|Manual={{#explode:{{FULLPAGENAME}}|/|2}}
}}{{#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|}}}
}}}}{{#cargo_query:tables=MintyDocsVersion
+
}}}}<!-- Query to add the Coming Soon banner to the page -->{{#cargo_query:tables=MintyDocsVersion
 
|fields=MintyDocsVersion.comingsoon
 
|fields=MintyDocsVersion.comingsoon
 
|no html
 
|no html
Line 58: Line 61:
 
|format=template
 
|format=template
 
|template=ComingSoon
 
|template=ComingSoon
}}{{EPPOHead|Role={{{Role|}}}|Dimension={{{Dimension|}}}|Context={{{Context|}}}|Prereq={{{Prereq|}}}|Tags={{{Tags|}}}}}{{{Section|}}}{{#switch:{{{Standalone}}}|Yes={{#css:  
+
}}<!-- 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=}}<nowiki /></includeonly><noinclude>[[Category:MintyDocs_Cargo]]</noinclude>
 
}}|#default=}}<nowiki /></includeonly><noinclude>[[Category:MintyDocs_Cargo]]</noinclude>

Revision as of 23:27, June 3, 2019

This is the "Article" template.

It should be called in the following format:

{{Article
|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 21:58:44)"