Difference between revisions of "Template:Extension/doc"
Jump to navigation
Jump to search
Drop parameters that aren't supported from the TemplateData
>ESanders (WMF) (fix version params and aliases) |
>Pppery (Drop parameters that aren't supported from the TemplateData) |
||
(14 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
==TemplateData== | <noinclude>{{Documentation subpage}} | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | |||
</noinclude>== TemplateData == | |||
{{collapse top|title=TemplateData}} | {{collapse top|title=TemplateData}} | ||
{{TemplateData header|editlinks=1|docpage=Extension/doc}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 43: | Line 46: | ||
}, | }, | ||
"type": { | "type": { | ||
"description": "Implementation type. If more that one type is required, use \"Primary type\", \" | "description": "Implementation type. If more that one type is required, use \"Primary type\", \"Secondary type\", ... instead", | ||
"label": "Type", | "label": "Type", | ||
"type": "string", | "type": "string", | ||
Line 92: | Line 95: | ||
}, | }, | ||
"mediawiki": { | "mediawiki": { | ||
"description": "Required | "description": "Required versions of MediaWiki. Not needed if this information is in extension.json.", | ||
"label": "MediaWiki version", | "label": "MediaWiki version", | ||
"example": "1.35 | "example": ">= 1.35", | ||
"type": "string", | "type": "string", | ||
" | "deprecated": "This value will be read from extension.json where possible." | ||
}, | }, | ||
"php": { | "php": { | ||
Line 808: | Line 811: | ||
], | ], | ||
"label": "Latest preview version update date" | "label": "Latest preview version update date" | ||
}, | |||
"maintainer": { | |||
"label": "Maintainer", | |||
"description": "Username or other information about who maintains this extension.", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
Line 828: | Line 835: | ||
"author", | "author", | ||
"username", | "username", | ||
"maintainer", | |||
"latest release version", | "latest release version", | ||
"latest release date", | "latest release date", | ||
Line 1,044: | Line 1,052: | ||
}</templatedata> | }</templatedata> | ||
{{collapse bottom}} | {{collapse bottom}} | ||
<includeonly>{{Sandbox other|| | |||
<!-- Categories below this line; interwikis at Wikidata --> | |||
[[Category:Info templates{{#translation:}}]] | |||
[[Category:Extension creation{{#translation:}}]] | |||
[[Category:Categorizing templates{{#translation:}}]] | |||
[[Category:Extension templates{{#translation:}}]] | |||
}}</includeonly> |