Difference between revisions of "Template:Extension/doc"
Jump to navigation
Jump to search
TemplateData updates
>Ammarpad (add ltsrel) |
>ESanders (WMF) (TemplateData updates) |
||
Line 3: | Line 3: | ||
<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\", \"Seconary 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" | |||
}, | |||
"version": { | |||
"aliases": [ | |||
"latest release version", | |||
"latest_release_version" | |||
], | |||
"label": "Latest version", | |||
"suggested": true | |||
}, | |||
"update": { | |||
"label": "Latest version release date", | |||
"suggested": true | |||
}</templatedata> | }</templatedata> | ||
{{collapse bottom}} | {{collapse bottom}} |