Difference between revisions of "Template:Extension"

145 bytes added ,  22:04, 17 November 2019
adding < translate > sections
>Wladek92
(Marked this version for translation)
>Wladek92
(adding < translate > sections)
Line 749: Line 749:
</tr>
</tr>
<tr>
<tr>
<td>'''templatemode'''</td><td>'''Controls auto-categorization of host page.'''
<td>'''templatemode'''</td><td><translate>'''Controls auto-categorization of host page.'''


Normally left blank. Alternate values are:
Normally left blank. Alternate values are:
* ''nocats'' - suppresses categorization and the 'check usage' link. 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> because this isn't an actual extension page and we don't want to add this page to any categories on account of it.
* <tvar|nocats>''nocats''</> - suppresses categorization and the 'check usage' link. Use this value if you are adding this template to {{ll|<tvar|url>Help:Subpage</>|subpages}} of an extension or to how-to documentation of extensions. For example, the usage image above sets <tvar|nocats><code>templatemode=nocats</code></> because this isn't an actual extension page and we don't want to add this page to any categories on account of it.
* ''nousage'' - suppresses the 'check usage' link. Link is also suppressed if the page is a subpage; it is not in the Extension: namespace; or if suppressed by 'templatemode=nocats'
* <tvar|nousage>''nousage''</> - suppresses the 'check usage' link. Link is also suppressed if the page is a subpage; it is not in the Extension: namespace; or if suppressed by '<tvar|templatemode>templatemode=nocats</>'




If this is left blank, this template will add the host page to [[:Category:All extensions{{#translation:}}]] and to one or more additional categories, depending on the values assigned to the [[#Content parameters|Content parameters]].</td>
If this is left blank, this template will add the host page to <tvar|allextcat>[[:Category:All extensions{{#translation:}}]]</> and to one or more additional categories, depending on the values assigned to the [[<tvar|anchor>#Content parameters</>|Content parameters]].</translate></td>
</tr>
</tr>
</table>
</table>
Anonymous user