Template:TemplateData/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
{{Documentation}} |
{{Documentation}} |
||
This template should be used on other templates' documentation |
This template should be used on other templates' documentation pages when adding template data using [[mw:Extension:TemplateData|Extension:TemplateData]]. This template accepts one unnamed parameter, which should be the the whole <code>templatedata</code> text. Also adds [[:Category:Templates using TemplateData]] to pages. |
||
{{TemplateData|nocat=yes| |
{{TemplateData|nocat=yes| |
||
Line 21: | Line 21: | ||
"nocat": { |
"nocat": { |
||
"label": "Nocat", |
"label": "Nocat", |
||
"description": "Set to 'yes' to suppress adding category to |
"description": "Set to 'yes' to suppress adding category to pages. Useful for examples.", |
||
"type": "string", |
"type": "string", |
||
"default": "'no'" |
"default": "'no'" |
Latest revision as of 12:01, 17 October 2024
This template should be used on other templates' documentation pages when adding template data using Extension:TemplateData. This template accepts one unnamed parameter, which should be the the whole templatedata
text. Also adds Category:Templates using TemplateData to pages.
Template data
Show/hide template's data | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.
Used on template docs to enclose the templatedata parser tag
|