Difference between revisions of "Template:Extension"
>Egfrank~mediawikiwiki (fixed link, type name documentation) |
>Egfrank~mediawikiwiki (fixed description of variable, hook type) |
||
Line 116: | Line 116: | ||
* ''[[:Category:Extended syntax extensions|extended syntax]]'' - Extensions that add non-standard wiki syntax (i.e. <em>not</em> [[Manual:Tag extensions|tags]], [[Manual:Parser functions|parser functions]], or [[Manual:Variables|variables]]). | * ''[[:Category:Extended syntax extensions|extended syntax]]'' - Extensions that add non-standard wiki syntax (i.e. <em>not</em> [[Manual:Tag extensions|tags]], [[Manual:Parser functions|parser functions]], or [[Manual:Variables|variables]]). | ||
* ''[[:Category:Form extensions|form]]'' - Form | * ''[[:Category:Form extensions|form]]'' - Form | ||
* ''[[:Category:Hook extensions|hook]]'' - Hook extension ( | * ''[[:Category:Hook extensions|hook]]'' - Hook extension (defines a <em>new</em> hook)) | ||
* ''[[:Category:User interface extensions|interface]]'' - User interface extension (e.g. [[w:javascript|javascript]] code) | * ''[[:Category:User interface extensions|interface]]'' - User interface extension (e.g. [[w:javascript|javascript]] code) | ||
* ''[[:Category:Link markup extensions|link]]'' - Link markup extensions | * ''[[:Category:Link markup extensions|link]]'' - Link markup extensions | ||
Line 132: | Line 132: | ||
* ''tag, special'' - defines [[Manual:Tag extensions|XML-like tags]] and [[Manual:Special pages|special pages]]. | * ''tag, special'' - defines [[Manual:Tag extensions|XML-like tags]] and [[Manual:Special pages|special pages]]. | ||
* ''tag, parser function, special'' - defines [[Manual:Tag extensions|XML-like tags]], [[Manual:Parser functions|parser functions]], and [[Manual:Special pages|special pages]]. | * ''tag, parser function, special'' - defines [[Manual:Tag extensions|XML-like tags]], [[Manual:Parser functions|parser functions]], and [[Manual:Special pages|special pages]]. | ||
* ''[[:Category:Variable extensions|variable]]'' - [[Manual:Variables| | * ''[[:Category:Variable extensions|variable]]'' - defines [[Manual:Variables|wiki variables]] | ||
* ''parser,pfunc'' - available as parser function ''and'' as parser extension (places extension in both categories) | * ''parser,pfunc'' - available as parser function ''and'' as parser extension (places extension in both categories) | ||
* ''parser, hook, special'' - Parser extension, hook, and special page (places extension in each category) | * ''parser, hook, special'' - Parser extension, hook, and special page (places extension in each category) |
Revision as of 02:06, 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
Extension Release status: unknown | |
---|---|
Type | {{{type}}} |
Description | {{{description}}} |
Author(s) | {{{author}}} |
Version | {{{version}}} |
MediaWiki | {{{mediawiki}}} |
Download | {{{download}}} |
Parameters | {{{parameters}}} |
Added rights | {{{rights}}} |
Example | {{{example}}} |
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. |