Template:TemplateData/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "{{Documentation}} 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 <code>templatedata</code> text. Also adds Category:Templates using TemplateData to pages. {{TemplateData|nocat=yes| <templatedata> { "description": "Used on template docs to enclose the templatedata parser tag", "params...") |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
{{Documentation}} |
{{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. |
This template should be used on other templates' documentation mw.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 mw.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 pages. Useful for examples.", |
"description": "Set to 'yes' to suppress adding category to mw.pages. Useful for examples.", |
||
"type": "string", |
"type": "string", |
||
"default": "'no'" |
"default": "'no'" |
Revision as of 00:49, 17 October 2024
This template should be used on other templates' documentation mw.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 mw.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
|