Difference between revisions of "Template:Extension/doc"

>Egfrank~mediawikiwiki
(→‎Usage: added templatemode parameter)
>Egfrank~mediawikiwiki
(→‎Control parameters: added section)
Line 126: Line 126:
|-
|-
| example    || example, website or screenshot of working extension
| example    || example, website or screenshot of working extension
|}
== Control parameters ==
{| border="1"
|+ '''Control parameters'''
|-
| '''templatemode''' || '''Controls auto-categorization of host page.'''
Normally left blank.  Alternate values are:
* ''nocats'' - suppresses categorization. Use this value if you are adding this template to [[Help:Subpage|subpages]] of an extension or to how-to documentation of extensions. For example, the usage image above sets <code>templatemode=nocats</code>).
If this is left blank, this template will add the host page to [[:Category:All extensions]] and to one or more additional pages.
|}
|}