Difference between revisions of "Template:Extension"
>SPQRobin m (→Usage) |
>Aaron Schulz m (inc img size back a tad) |
||
| Line 13: | Line 13: | ||
|- | |- | ||
{{#if:{{{image<includeonly>|</includeonly>}}}| | {{#if:{{{image<includeonly>|</includeonly>}}}| | ||
<!-- -->{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{image<noinclude>|Placeholder.png</noinclude>}}}| | <!-- -->{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{image<noinclude>|Placeholder.png</noinclude>}}}|170px]] | ||
}} | }} | ||
|- | |- | ||
| Line 139: | Line 139: | ||
| parameters || available parameters for LocalSettings.php | | parameters || available parameters for LocalSettings.php | ||
|- | |- | ||
| rights || rights added by the extension. '''Not to be confused with the license!''' Rights are such as ''[[Extension:MakeBot|makebot]]'' or ''[[Extension:Desysop| | | rights || rights added by the extension. '''Not to be confused with the license!''' Rights are such as ''[[Extension:MakeBot|makebot]]'' or ''[[Extension:Desysop|desesyop]]'', not such as GFDL or LGPL or GPL - those are licenses! | ||
|- | |- | ||
| example || example, website or screenshot of working extension | | example || example, website or screenshot of working extension | ||
Revision as of 23:32, 14 August 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 | {{{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. |