Difference between revisions of "Template:Extension/doc"
>Egfrank~mediawikiwiki (changed template example author to something different than user) |
>Egfrank~mediawikiwiki (added id so can jump to #type) |
||
Line 41: | Line 41: | ||
If the status is anything other than the above, it will be ignored and the default value of 'Unknown' will be displayed in the template instead. In cases where the value is omitted, it will be categorised as [[:category:extensions with unknown status|unknown]]. In cases where the value is invalid, it will be placed in a [[:category:extensions with invalid status|special category]] so that the error can be caught and fixed. | If the status is anything other than the above, it will be ignored and the default value of 'Unknown' will be displayed in the template instead. In cases where the value is omitted, it will be categorised as [[:category:extensions with unknown status|unknown]]. In cases where the value is invalid, it will be placed in a [[:category:extensions with invalid status|special category]] so that the error can be caught and fixed. | ||
|- | |- | ||
| '''type''' || '''type of extension''' | | <span id="type">'''type'''</span> || '''type of extension''' | ||
Can contain any value, but the following special values ensure proper categorisation: | Can contain any value, but the following special values ensure proper categorisation: | ||
* ''[[:Category:Category extensions|category]]'' - Category | * ''[[:Category:Category extensions|category]]'' - Category |
Revision as of 13:14, 8 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 type categories.
Example
Lua error: callParserFunction: function "#translation" was not found. Extension Release status: unknown |
|
---|---|
Implementation | Lua error: callParserFunction: function "#translation" was not found. |
Description | {{{description}}} |
Author(s) | Sombebody (unknowntalk) |
Latest version | Lua error: callParserFunction: function "#translation" was not found. ({{{update}}}) |
MediaWiki | Lua error: callParserFunction: function "#translation" was not found. |
Database changes | Lua error: callParserFunction: function "#translation" was not found. |
License | Lua error: callParserFunction: function "#translation" was not found. |
Download | {{{download}}} {{{readme}}} {{{changelog}}} |
Example | {{{example}}} |
{{{parameters}}} |
|
{{{rights}}} |
|
Translate the Extension/doc extension if it is available at translatewiki.net |
Lua error: callParserFunction: function "#translation" was not found.
Usage
Using the infoboxExisting extension pagesIf you want to add the infobox to an existing page, copy and paste the following code and add it to the top: {{Extension |name = |status = |type = |author = |username = |image = |version = |update = |mediawiki = |download = |readme = |changelog = |description = |parameters = |rights = |example = }} 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. |