Difference between revisions of "Template:Extension/doc"
(df,fkflfjfj;fgkfgmgmmmmffjfghgngngbfbnfn,;ffghhfbn g;;b;k;fgkv,;ghngjn,ggghngnnng;g,g,,g,gngbgbbg gnnghg,gnfh,gng,g;jgn,g,gnnngng g jn vgn bghgn fjj bngudfrnv g fnn fbg) |
>MaxSem m (Reverted edits by 93.0.102.157 (talk) to last revision by Bawolff) |
||
Line 66: | Line 66: | ||
|tags = {{{tags}}} | |tags = {{{tags}}} | ||
|rights = {{{rights}}} | |rights = {{{rights}}} | ||
|example | |example = {{{example}}} | ||
|compatibility = {{{compatibility}}} | |||
}} | }} | ||
|} | |} | ||
<br style="clear: | <br style="clear:both"/> | ||
== Content parameters == | |||
This section describes parameters that govern infobox content. For help with '''templatemode''' and other control parameters, please see ''[[#Control parameters|Control parameters]]''. | This section describes parameters that govern infobox content. For help with '''templatemode''' and other control parameters, please see ''[[#Control parameters|Control parameters]]''. | ||
Line 86: | Line 89: | ||
|<span id="status">'''status'''</span> || '''current release status''' | |<span id="status">'''status'''</span> || '''current release status''' | ||
One of: | One of: | ||
* ''[[:Category:Unstable extensions|unstable]]' | * ''[[:Category:Unstable extensions|unstable]]'' (broken - do not use this extension) | ||
* ''[[:Category:Experimental extensions|experimental]]'' (early stages of development, may change drastically.) | * ''[[:Category:Experimental extensions|experimental]]'' (early stages of development, may change drastically.) | ||
* ''[[:Category:Beta status extensions|beta]]'' (stable but not fully tested) | * ''[[:Category:Beta status extensions|beta]]'' (stable but not fully tested) | ||
Line 154: | Line 157: | ||
| <span id="author">author</span>|| The extension author's name, if different from their MediaWiki.org username. Free text. If omitted then the 'username' field will be used (if present). | | <span id="author">author</span>|| The extension author's name, if different from their MediaWiki.org username. Free text. If omitted then the 'username' field will be used (if present). | ||
|- | |- | ||
| <span id="description">'''description'''</span>|| '''short description''' | |||
|- | |- | ||
| <span id="image">image</span>|| screenshot or logo of extension | | <span id="image">image</span>|| screenshot or logo of extension | ||
Line 174: | Line 177: | ||
| <span id="readme">readme</span>|| link to the readme file : [http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Sort/Sort README] or other | | <span id="readme">readme</span>|| link to the readme file : [http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Sort/Sort README] or other | ||
|- | |- | ||
| <span id="changelog">changelog</span>|| link | | <span id="changelog">changelog</span>|| link to the changelog file : [http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Sort/Sort CHANGELOG] or other | ||
|- | |- | ||
| <span | | <span id="parameters">parameters</span> || available parameters for LocalSettings.php | ||
|- | |- | ||
| <span id="tags">tags</span> || any tags your extension uses (e.g. <tag1>, <tag2>). | | <span id="tags">tags</span> || any tags your extension uses (e.g. <tag1>, <tag2>). |
Revision as of 14:50, 19 December 2010
Template:Documentation subpage Template:Timw
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 implementation type categories.
Usage
Cut and paste: {{Extension|templatemode = |name = |status = |type1 = |type2 = |hook1 = |hook2 = |username = |author = |description = |image = |imagesize = |version = |update = |mediawiki = |php = |license = |download = |readme = |changelog = |parameters = |tags = |rights = |example = |compatibility = }} For help with parameter values, see below. |
Lua error: callParserFunction: function "#translation" was not found.
|
Content parameters
This section describes parameters that govern infobox content. For help with templatemode and other control parameters, please see Control parameters.
Control parameters
Using the infoboxExisting extension pagesIf you want to add the infobox to an existing page, copy and paste the code at the top of this page. 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.
<translate> A developer sharing their code in the MediaWiki code repository should expect:</translate>
Enhancing this templateIf you would like to improve on this template, thanks! This is a complicated template so here is some help along the way: Fixing documentationIf you would like to fix documentation, please be aware that documentation and code is split into two files:
The Create extension buttonTo improve the create extension button behavior:
Infobox parametersIn general:
Test caseSee if the following pages are still ok, after edited this template. |