Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>HappyDog
(Add purpose and category link)
>GunterS
(Added example)
Line 35: Line 35:
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Added rights:'''
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Added rights:'''
<!-- -->{{!}} {{{rights}}}
<!-- -->{{!}} {{{rights}}}
}}
|-
{{#if:{{{example<includeonly>|</includeonly>}}}|
<!-- -->{{!}} style="vertical-align: top" {{!}} '''Example:'''
<!-- -->{{!}} {{{example}}}
}}
}}
|}<noinclude>
|}<noinclude>
Line 81: Line 86:
|parameters=
|parameters=
|rights=
|rights=
|example=
}}</nowiki>
}}</nowiki>
|}
|}


</noinclude><includeonly>[[Category:Extensions|{{{name|{{PAGENAME}}}}}]]</includeonly>
</noinclude><includeonly>[[Category:Extensions|{{{name|{{PAGENAME}}}}}]]</includeonly>

Revision as of 21:36, 29 November 2006

This is a MediaWiki Extension
{{{name}}}
Placeholder.png
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

Parameters
name name of the extension
author auhor of the extension
image screenshot (of base 270px)
version last version
update date of the last update
mediawiki required version of MediaWiki
download link to the download : SVN or other
readme link to the readme file : README or other
description short description
parameters available parameters for LocalSettings.php
rights rights added by the extension
{{Extension
|name=
|author=
|image=
|version=
|update=
|mediawiki=
|download=
|readme=
|description=
|parameters=
|rights=
|example=
}}