Template:TemplateData/doc: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
Line 1:
{{Documentation}}
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|
Line 21:
"nocat": {
"label": "Nocat",
"description": "Set to 'yes' to suppress adding category to mw.pages. Useful for examples.",
"type": "string",
"default": "'no'"