Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
>Sanbeg (add example type) |
>Sanbeg |
||
| Line 11: | Line 11: | ||
{{#if:{{{type<includeonly>|</includeonly>}}}| | {{#if:{{{type<includeonly>|</includeonly>}}}| | ||
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Type:''' | <!-- -->{{!}} style="vertical-align: top" {{!}} '''Type:''' | ||
<!-- -->{{!}} {{#switch: {{lc: {{{type}}}}}|special=Special page[[Category:Special page extensions]]|pfunc=[[Extension:Parser function extensions|Parser function]][[Category:Parser function extensions]]|parser=Parser extension[[Category:Parser extensions]]|parser,pfunc=[[Extension:Parser function extensions|Parser function]][[Category:Parser extensions]] and Parser function[[Category:Parser function extensions]]|hook=Hook[[Category:Hook extensions]]|interface=User interface[[Category:User interface extensions]]|parser, hook, special=Parser extension[[Category:Parser extensions]], hook[[Category:Hook extensions]], and special page[[Category:Special page extensions]]|example=[[Category:Extension examples]]|{{{type}}}<includeonly>[[Category:Category to catch extensions with an unrecognised type]]</includeonly>}} | <!-- -->{{!}} {{#switch: {{lc: {{{type}}}}}|special=Special page[[Category:Special page extensions]]|pfunc=[[Extension:Parser function extensions|Parser function]][[Category:Parser function extensions]]|parser=Parser extension[[Category:Parser extensions]]|parser,pfunc=[[Extension:Parser function extensions|Parser function]][[Category:Parser extensions]] and Parser function[[Category:Parser function extensions]]|hook=Hook[[Category:Hook extensions]]|interface=User interface[[Category:User interface extensions]]|parser, hook, special=Parser extension[[Category:Parser extensions]], hook[[Category:Hook extensions]], and special page[[Category:Special page extensions]]|example=Example[[Category:Extension examples]]|{{{type}}}<includeonly>[[Category:Category to catch extensions with an unrecognised type]]</includeonly>}} | ||
}} | }} | ||
|- | |- | ||
| Line 77: | Line 77: | ||
* ''interface'' - User interface extension (e.g. javascript code). | * ''interface'' - User interface extension (e.g. javascript code). | ||
* ''parser, hook, special'' - Parser extension, hook, and special page | * ''parser, hook, special'' - Parser extension, hook, and special page | ||
* ''example'' - not a real extension, but an example of how to write one. | |||
Please add to this list if necessary. | Please add to this list if necessary. | ||
|- | |- | ||
Revision as of 16:49, 10 April 2007
| Extension Release status: unknown | |
|---|---|
| Type: | {{{type}}} |
| Description: | {{{description}}} |
| Author: | {{{author}}} |
| Version: | {{{version}}} |
| MediaWiki: | {{{mediawiki}}} |
| Download: | {{{download}}} |
| Parameters: | {{{parameters}}} |
| Added rights: | {{{rights}}} |
| Example: | {{{example}}} |
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:Extensions.
Usage
|
{{Extension
|name =
|status =
|type =
|author =
|image =
|version =
|update =
|mediawiki =
|download =
|readme =
|changelog =
|description =
|parameters=
|rights =
|example =
}}
|