Difference between revisions of "Template:Extension/doc"
>Egfrank~mediawikiwiki (→Content parameters: added deprecation warning) |
>Egfrank~mediawikiwiki (→Content parameters: documented impl type=skin) |
||
Line 106: | Line 106: | ||
** ''[[:Category:Special page extensions|special]]'' - extensions that subclass the {{SeeManual|SpecialPage class}}, use one of its hooks, or patch one or more functions in {{SeeSourceCode|SpecialPage}}. See [[Manual:Special pages]] for more information. | ** ''[[:Category:Special page extensions|special]]'' - extensions that subclass the {{SeeManual|SpecialPage class}}, use one of its hooks, or patch one or more functions in {{SeeSourceCode|SpecialPage}}. See [[Manual:Special pages]] for more information. | ||
** ''[[:Category:Page action extensions|''page action'']]'' - extensions that enhance or modify {{SeeManual|page action}}s. This includes anything that implements an action that reads, writes, searches for, creates, renames, deletes, redirects or discusses a page. It does not include rights (use ''user rights'') or logs (use ''user activity''). | ** ''[[:Category:Page action extensions|''page action'']]'' - extensions that enhance or modify {{SeeManual|page action}}s. This includes anything that implements an action that reads, writes, searches for, creates, renames, deletes, redirects or discusses a page. It does not include rights (use ''user rights'') or logs (use ''user activity''). | ||
** [[:Category:Skin extensions|''skin'']] - extensions adding [[w:css|css]] or [[w:javascript|javascript]], or implementing hook functions to change the look and feel of mediawiki via the skins framework. | |||
Line 112: | Line 113: | ||
<div style="border: thin solid blue">We are in the process of revising the values of this page. Types below this point are likely to be deprecated or redefined. We apologize for the inconvenience. See [[Template_talk:Extension#Type taxonomy]] for more information.</div> | <div style="border: thin solid blue">We are in the process of revising the values of this page. Types below this point are likely to be deprecated or redefined. We apologize for the inconvenience. See [[Template_talk:Extension#Type taxonomy]] for more information.</div> | ||
* ''[[:Category:Category extensions|category]]'' - Category | * ''[[:Category:Category extensions|category]]'' - Category |
Revision as of 05:21, 18 September 2007
Purpose
This template should be added to the main page of all extensions documented on this wiki (and only the main page). It will add a useful infobox using the information supplied (see below) and will automatically add the extension to Category:All extensions, plus the appropriate status and implementation type categories.
Usage
Cut and paste: {{Extension|templatemode = |name = |status = |type1 = |type2 = |hook1 = |hook2 = |username = |author = |description = |image = |version = |update = |mediawiki = |license = |download = |readme = |changelog = |parameters = |rights = |example = }} For help with parameter values, see below. |
Lua error: callParserFunction: function "#translation" was not found.
|
Content parameters
This section describes parameters that govern infobox content. For help with templatemode and other control parameters, please see Template:SeeSection.
Control parameters
Using the infoboxExisting extension pagesIf you want to add the infobox to an existing page, copy and paste the code at the top of this page. Create a new extension articleIf you want to create a new extension page, enter the name below and click the button. A new page will be created with the infobox template already in place.
<translate> A developer sharing their code in the MediaWiki code repository should expect:</translate>
Enhancing this templateIf you would like to improve on this template, thanks! This is a complicated template so here is some help along the way: Fixing documentationIf you would like to fix documentation, please be aware that documentation and code is split into two files:
The Create extension buttonTo improve the create extension button behavior:
Infobox parametersIn general:
|