Template:TemplateData/doc: Difference between revisions

Jump to navigation Jump to search
no edit summary
(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:
{{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'"

Navigation menu