Difference between revisions of "Template: Article"
From Genesys Documentation
en>Jumunn |
|||
Line 7: | Line 7: | ||
|Standalone= | |Standalone= | ||
|productshort= | |productshort= | ||
+ | |ComingSoon= | ||
|Platform= | |Platform= | ||
− | |||
|Role= | |Role= | ||
|DisplayName= | |DisplayName= | ||
|TocName= | |TocName= | ||
+ | |Tags= | ||
|Dimension= | |Dimension= | ||
|Context= | |Context= | ||
|Product= | |Product= | ||
|Manual= | |Manual= | ||
− | |||
− | |||
− | |||
}} | }} | ||
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 | ||
− | |||
− | |||
− | |||
}} | }} | ||
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}} | ||
− | |||
− | |||
− | |||
}}<!-- 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|}}} | ||
− | }}}}<!-- | + | }}}}<!-- Query to add the Coming Soon banner to the page -->{{#cargo_query:tables=MintyDocsVersion |
− | + | |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=}} | + | }}|#default=}} |
− | {{# | + | {{#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.