Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
>HappyDog m ({{#lc: to {{lc:) |
>HappyDog (Update type (made an error)) |
||
Line 12: | Line 12: | ||
{{#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=Parser Function[[Category:Parser function extensions]]|hook=Hook[[Category: | <!-- -->{{!}} {{#switch: {{lc: {{{type}}}}}|special=Special Page[[Category:Special page extensions]]|pfunc=Parser Function[[Category:Parser function extensions]]|parser=Parser Extension[[Category:Parser extensions]]|hook=Hook[[Category:Hook extensions]]|interface=User Interface[[Category:User interface extensions]]|{{{type}}}<includeonly>[[Category:Category to catch extensions with an unrecognised type]]</includeonly>}} | ||
}} | }} | ||
|- | |- | ||
Line 71: | Line 71: | ||
Can contain any value, but the following special values ensure proper categorisation: | Can contain any value, but the following special values ensure proper categorisation: | ||
* ''pfunc'' - Parser Function | * ''pfunc'' - Parser Function | ||
* ''hook'' - | * ''parser'' - Parser Extension (new tag) | ||
* ''hook'' - Hook Extension (new parser hook) | |||
* ''special'' - Special Page | * ''special'' - Special Page | ||
* ''interface'' - User interface extension (e.g. javascript code). | * ''interface'' - User interface extension (e.g. javascript code). |
Revision as of 03:10, 10 February 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 = }} |