Difference between revisions of "Template:Extension/doc"
>Egfrank~mediawikiwiki (→Usage: clarified meaning of type=database) |
>Egfrank~mediawikiwiki |
||
Line 2: | Line 2: | ||
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 [[:Category:Extensions by status|status]] and [[:Category:Extensions by type|type]] categories. | 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 [[:Category:Extensions by status|status]] and [[:Category:Extensions by type|type]] categories. | ||
== | == Usage == | ||
{{Extension|templatemode=nocats | {| width="100%" | ||
|- | |||
! width=40% | | |||
! width=60% | | |||
|- valign="top" | |||
| align="left" | | |||
Cut and paste: | |||
<pre>{{Extension | |||
|name = | |||
|status = | |||
|type = | |||
|author = | |||
|username = | |||
|image = | |||
|version = | |||
|update = | |||
|mediawiki = | |||
|download = | |||
|readme = | |||
|changelog = | |||
|description = | |||
|parameters = | |||
|rights = | |||
|example = | |||
}}</pre> | |||
| align="right"|{{Extension|templatemode=nocats | |||
|name = Extension | |name = Extension | ||
|status = {{{status}}} | |status = {{{status}}} | ||
Line 22: | Line 47: | ||
|example = {{{example}}} | |example = {{{example}}} | ||
}} | }} | ||
|} | |||
<br style="clear:both"/> | <br style="clear:both"/> | ||
Revision as of 08:29, 12 September 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.
Usage
Cut and paste: {{Extension |name = |status = |type = |author = |username = |image = |version = |update = |mediawiki = |download = |readme = |changelog = |description = |parameters = |rights = |example = }} |
Lua error: callParserFunction: function "#translation" was not found.
|
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. |