Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Patrick~mediawikiwiki
({{DEFAULTSORT:{{{name|{{PAGENAME}}}}}}}Category:Extensions (convenient if there there are more categories))
>HappyDog
(Reworking to highlight status. This field will need adding to existing extensions...)
Line 1: Line 1:
{| style="width: 272px; float: right; margin: 0 0 .5em .5em; border: 1px solid DimGray; border-collapse: collapse; background-color: PapayaWhip;"
{| class="ext-infobox ext-status-{{{Status|unknown}}}"
|+ '''This is a [[:Category:Extensions|MediaWiki Extension]]'''
|+ '''This is a [[:Category:Extensions|MediaWiki Extension]]'''
|- style="background-color: SteelBlue; color: GhostWhite; font-size: large;"
|- class="ext-header"
! colspan="2" style="padding: .5em;" | {{{name}}}
! colspan="2" style="padding: .5em;" | [[Image:Crystal Clear action run.png|left|50px]] <span style="font-size: 120%;">{{{name|PAGENAME}}}</span><br>
''Release status: {{#switch: {{{Status}}}|unstable=unstable/experimental|beta=beta|release=release|unknown}}''
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}}|
{{#if:{{{image<includeonly>|</includeonly>}}}|
Line 52: Line 53:
|-
|-
| '''name''' || '''name of the extension'''
| '''name''' || '''name of the extension'''
|-
| '''status''' || '''current release status'''
One of:
* ''unstable'' (unstable/experimental)
* ''beta'' (stable but not fully tested)
* ''release'' (stable version)
* ''unknown'' (default - should not be used unless when entering details about your own extension)
|-
|-
| author    || author of the extension
| author    || author of the extension
Line 80: Line 88:
  <nowiki>{{Extension
  <nowiki>{{Extension
|name      =  
|name      =  
|status    =
|type      =
|author    =
|author    =
|image    =
|image    =
Line 95: Line 105:
|}
|}


</noinclude><includeonly>{{DEFAULTSORT:{{{name|{{PAGENAME}}}}}}}[[Category:Extensions]]</includeonly>
</noinclude><includeonly>{{DEFAULTSORT:{{{name|{{PAGENAME}}}}}}}[[Category:Extensions]][[Category:{{{status|unknown}}} status extensions]]</includeonly>

Revision as of 01:56, 10 February 2007

This is a MediaWiki Extension
Crystal Clear action run.png
PAGENAME

Release status: unknown

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
status current release status

One of:

  • unstable (unstable/experimental)
  • beta (stable but not fully tested)
  • release (stable version)
  • unknown (default - should not be used unless when entering details about your own extension)
author author 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
changelog link to the changelog file : CHANGELOG or other
description short description
parameters available parameters for LocalSettings.php
rights rights added by the extension
example example, website or screenshot of working extension
{{Extension
|name      = 
|status    =
|type      =
|author    =
|image     =
|version   =
|update    =
|mediawiki =
|download  =
|readme    =
|changelog =
|description =
|parameters=
|rights    =
|example   =
}}