Difference between revisions of "Template:Extension/doc"

+ {{{vagrant-role}}} parameter, per talk
>Shirayuki
m (Reverted edits by 112.79.38.31 (talk) to last revision by Shirayuki)
>Jdforrester (WMF)
(+ {{{vagrant-role}}} parameter, per talk)
Line 46: Line 46:
|compatibility  =  
|compatibility  =  
|bugzilla        =  
|bugzilla        =  
|vagrant-role    =
}}</pre>
}}</pre>


Line 51: Line 52:


| align="right"|{{ {{TNTN|Extension}} |templatemode=nocats
| align="right"|{{ {{TNTN|Extension}} |templatemode=nocats
|name = {{{name}}}
|name           = {{{name}}}
|status       = {{{status}}}
|status         = {{{status}}}
|type1         = {{{type1}}}
|type1           = {{{type1}}}
|type2         = {{{type2}}}
|type2           = {{{type2}}}
|hook1         = hook1
|hook1           = hook1
|hook2         = hook2
|hook2           = hook2
|username     = SomeUser
|username       = SomeUser
|author       = SomeAuthor
|author         = SomeAuthor
|image         = Placeholder.png
|image           = Placeholder.png
|version       = {{{version}}}
|version         = {{{version}}}
|update       = {{{update}}}
|update         = {{{update}}}
|version preview = {{{version preview}}}
|version preview = {{{version preview}}}
|update preview = {{{update preview}}}
|update preview = {{{update preview}}}
|mediawiki     = {{{mediawiki}}}
|mediawiki       = {{{mediawiki}}}
|php           = {{{php}}}
|php             = {{{php}}}
|needs-updatephp = {{{needs-updatephp}}}
|needs-updatephp = {{{needs-updatephp}}}
|composer = {{{composer}}}
|composer       = {{{composer}}}
|table1       = {{{table1}}}
|table1         = {{{table1}}}
|table2       = {{{table2}}}
|table2         = {{{table2}}}
|license       = {{{license}}}
|license         = {{{license}}}
|download     = {{{download}}}
|download       = {{{download}}}
|readme       = {{{readme}}}
|readme         = {{{readme}}}
|changelog     = {{{changelog}}}
|changelog       = {{{changelog}}}
|example       = {{{example}}}
|example         = {{{example}}}
|namespace = {{{namespace}}}
|namespace       = {{{namespace}}}
|description   = {{{description}}}
|description     = {{{description}}}
|parameters   = {{{parameters}}}
|parameters     = {{{parameters}}}
|tags         = {{{tags}}}
|tags           = {{{tags}}}
|rights       = {{{rights}}}
|rights         = {{{rights}}}
|namespace     = {{{namespace}}}
|namespace       = {{{namespace}}}
|compatibility = {{{compatibility}}}
|compatibility   = {{{compatibility}}}
|bugzilla     = {{{bugzilla}}}
|bugzilla       = {{{bugzilla}}}
|pagedrive1 = true
|vagrant-role    = {{{vagrant-role}}} 
|demo = true
|pagedrive1     = true
|demo           = true
}}
}}
|}
|}
Line 306: Line 308:
"status": {
"status": {
"description": "Current release status. One of: unstable, experimental, beta, stable, unmaintained, unknown.",
"description": "Current release status. One of: unstable, experimental, beta, stable, unmaintained, unknown.",
"default": "unknown"
"default": "unknown",
"label": "Status",
"type": "string"
},
},
"name": {
"name": {
"description": "name of the extension"
"description": "name of the extension",
"label": "Name",
"type": "string"
},
},
"license": {
"license": {
"description": "Extension's license."
"description": "Extension's license.",
"label": "License",
"type": "string"
},
},
"templatemode": {
"templatemode": {
"description": "Controls auto-categorization of host page. Normally left blank. Alternate values are: nocats, nousage."
"description": "Controls auto-categorization of host page. Normally left blank. Alternate values are: nocats, nousage.",
"label": "Mode"
},
},
"image": {
"image": {
"description": "Screenshot or logo of extension. It should be provided without namespace and without [[]]s."
"description": "Screenshot or logo of extension. It should be provided without namespace and without [[]]s.",
"label": "Screenshot or logo"
},
},
"imagesize": {
"imagesize": {
Line 324: Line 334:
},
},
"type": {
"type": {
"description": "Implementation type. See detailed doc."
"description": "Implementation type. See detailed doc.",
"label": "Primary type"
},
},
"type1": {
"type1": {
"description": "Implementation type. See detailed doc."
"description": "Implementation type. See detailed doc.",
"label": "Secondary type"
},
},
"type2": {
"type2": {
"description": "Implementation type. See detailed doc."
"description": "Implementation type. See detailed doc.",
"label": "Tertiary type"
},
},
"type3": {
"type3": {
"description": "Implementation type. See detailed doc."
"description": "Implementation type. See detailed doc.",
"label": "Quaternary type"
},
},
"type4": {
"type4": {
"description": "Implementation type. See detailed doc."
"description": "Implementation type. See detailed doc.",
"label": "Quaternary type"
},
},
"type5": {
"type5": {
"description": "Implementation type. See detailed doc."
"description": "Implementation type. See detailed doc.",
"label": "Quinary type"
},
},
"type6": {
"type6": {
"description": "Implementation type. See detailed doc."
"description": "Implementation type. See detailed doc.",
"label": "Senary type"
},
},
"description": {
"description": {
Line 586: Line 603:
"bugzilla": {
"bugzilla": {
"description": "Bugzilla MediaWiki extension component name"
"description": "Bugzilla MediaWiki extension component name"
},
"vagrant-role": {
"label": "Vagrant role",
"description": "A MediaWiki-Vagrant role that lets you use this extension, if present",
"type": "string"
}
}
}
}
}
}
</templatedata>
</templatedata>
Anonymous user