Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>HappyDog
m (Move 'extension' cat to top, so it is first in list.)
>HappyDog
m ('release' to 'stable' as "Release status: release" is meaningless.)
Line 4: Line 4:
|- class="ext-header"
|- class="ext-header"
! colspan="2" style="padding-top: 0.5em;" | [[Image:{{#ifeq: {{{status|}}}|unstable|Crystal Clear app error.png|Crystal Clear action run.png}}|left|40px]] <span style="font-size: 130%;">{{{name|{{PAGENAME}}}}}</span><br>
! colspan="2" style="padding-top: 0.5em;" | [[Image:{{#ifeq: {{{status|}}}|unstable|Crystal Clear app error.png|Crystal Clear action run.png}}|left|40px]] <span style="font-size: 130%;">{{{name|{{PAGENAME}}}}}</span><br>
Release status: {{#switch: {{{status}}}|unstable|experimental|beta|release={{{status}}}|unknown}}
Release status: {{#switch: {{{status}}}|unstable|experimental|beta|stable={{{status}}}|unknown}}
|-
|-
{{#if:{{{image<includeonly>|</includeonly>}}}|
{{#if:{{{image<includeonly>|</includeonly>}}}|
Line 65: Line 65:
* ''experimental'' (early stages of development, may change drastically.)
* ''experimental'' (early stages of development, may change drastically.)
* ''beta'' (stable but not fully tested)
* ''beta'' (stable but not fully tested)
* ''release'' (stable version)
* ''stable'' (stable version)
* ''unknown'' (default)
* ''unknown'' (default)
|-
|-

Revision as of 03:34, 10 February 2007

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

Release status: unknown

Placeholder.png
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

Parameters
name name of the extension
status current release status

One of:

  • unstable (broken - do not use!)
  • experimental (early stages of development, may change drastically.)
  • beta (stable but not fully tested)
  • stable (stable version)
  • unknown (default)
type type of extension

Can contain any value, but the following special values ensure proper categorisation:

  • pfunc - Parser Function
  • parser - Parser Extension (new tag)
  • hook - Hook Extension (new parser hook)
  • special - Special Page
  • interface - User interface extension (e.g. javascript code).

Please add to this list if necessary.

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   =
}}