Difference between revisions of "Template:Extension/doc"
Jump to navigation
Jump to search
>Uzume (cleanup/reformat JSON) |
>Pppery (Drop parameters that aren't supported from the TemplateData) |
||
(22 intermediate revisions by 11 users not shown) | |||
Line 1: | Line 1: | ||
< | <noinclude>{{Documentation subpage}} | ||
==TemplateData== | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | ||
</noinclude>== TemplateData == | |||
{{collapse top|title=TemplateData}} | |||
{{TemplateData header|editlinks=1|docpage=Extension/doc}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "An infobox for a MediaWiki extension.", | |||
"params": { | |||
"status": { | |||
"description": "Current release status. One of: unstable, experimental, beta, stable, unmaintained, unknown.", | |||
"default": "unknown", | |||
"label": "Status", | |||
"type": "string", | |||
"example": "stable", | |||
"suggested": true | |||
}, | |||
"name": { | |||
"description": "Name of the extension", | |||
"label": "Name", | |||
"type": "string", | |||
"default": "Current page name", | |||
"suggested": true | |||
}, | |||
"license": { | |||
"description": "Extension's license.", | |||
"label": "License", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"templatemode": { | |||
"description": "Controls auto-categorization of host page. Normally left blank. Alternate values are: nocats, nousage.", | |||
"label": "Mode" | |||
}, | |||
"image": { | |||
"description": "Screenshot or logo of extension. It should be provided without namespace and without [[]]s.", | |||
"label": "Screenshot or logo", | |||
"example": "Example.jpg", | |||
"type": "wiki-file-name", | |||
"suggested": true | |||
}, | |||
"imagesize": { | |||
"description": "Optional size of the image", | |||
"label": "Image size", | |||
"default": "220" | |||
}, | |||
"type": { | |||
"description": "Implementation type. If more that one type is required, use \"Primary type\", \"Secondary type\", ... instead", | |||
"label": "Type", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"type1": { | |||
"description": "Implementation type. See detailed doc.", | |||
"label": "Primary type", | |||
"type": "string" | |||
}, | |||
"type2": { | |||
"description": "Implementation type. See detailed doc.", | |||
"label": "Secondary type" | |||
}, | |||
"type3": { | |||
"description": "Implementation type. See detailed doc.", | |||
"label": "Third type", | |||
"type": "string" | |||
}, | |||
"type4": { | |||
"description": "Implementation type. See detailed doc.", | |||
"label": "Fourth type", | |||
"type": "string" | |||
}, | |||
"type5": { | |||
"description": "Implementation type. See detailed doc.", | |||
"label": "Fifth type", | |||
"type": "string" | |||
}, | |||
"type6": { | |||
"description": "Implementation type. See detailed doc.", | |||
"label": "Sixth type", | |||
"type": "string" | |||
}, | |||
"description": { | |||
"description": "Short description", | |||
"label": "Description", | |||
"suggested": true | |||
}, | |||
"author": { | |||
"description": "The extension author's name, if different from their MediaWiki.org username. Free text. If omitted then the 'username' field will be used (if present).", | |||
"label": "Author", | |||
"suggested": true | |||
}, | |||
"username": { | |||
"description": "The author's username on MediaWiki.org (if they have one). May be omitted, but if present it will be used to link to the author's user & user_talk page. It should be provided without namespace and without [[]]s.", | |||
"label": "Username" | |||
}, | |||
"mediawiki": { | |||
"description": "Required versions of MediaWiki. Not needed if this information is in extension.json.", | |||
"label": "MediaWiki version", | |||
"example": ">= 1.35", | |||
"type": "string", | |||
"deprecated": "This value will be read from extension.json where possible." | |||
}, | |||
"php": { | |||
}</templatedata> | }</templatedata> | ||
{{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> |