Difference between revisions of "Template:Extension/doc"

Jump to navigation Jump to search
>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.


== Example ==  
== 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"/>