Jump to content

Template:Tdoc

From Meta, a Wikimedia project coordination wiki
Documentation

The template provides a uniform way to provide information about a template.

Parameters

[edit]
Parameter name Description Default value
1 parameter name (similarly 2, 3, .., up to 20) empty
1d description of the parameter (similarly 2d, 3d, .., up to 20d) empty
1def default value of the parameter (similarly 2def, 3def, .., up to 20def) empty
name name of the template (needed e.g. for viewing the documentation on another page than the template page, in particular for viewing the documentation page separately) empty
i18n-method method the localization is achieved by; possible values:
autotranslate
      using {{autotranslate}} or applying a similar method
switch
      branching to translations in the template itself
mediawiki-msg
      using MediaWiki namespace messages from translatewiki.net
custommediawiki-msg
      using local MediaWiki namespace messages
ext.translate
      using the Translate extension
-
      no localization for the template itself
empty
i18n-desc additional info about the localization empty
i18n-mediawiki-msg When using "mediawiki-msg" as method, optionally put the name of the message here. empty
seealso relevant links empty
relieson templates directly or indirectly called by the template empty

Localization

This template calls Template:Tdoc/en. The following language versions are available:

Other languages:

Each calls Template:Tdoc/layout.

See also

commons:Template:TemplateBox