Difference between revisions of "Template:Extension/doc"

Drop parameters that aren't supported from the TemplateData
>Samwilson
(→‎TemplateData: add 'maintainer' param)
>Pppery
(Drop parameters that aren't supported from the TemplateData)
 
(12 intermediate revisions by 5 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 92: Line 95:
},
},
"mediawiki": {
"mediawiki": {
"description": "Required version of MediaWiki",
"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",
"suggested": true
"deprecated": "This value will be read from extension.json where possible."
},
},
"php": {
"php": {
Line 815: Line 818:
}
}
},
},
"format": "block",
"paramOrder": [
"paramOrder": [
"name",
"name",
Line 1,050: 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>
Anonymous user