Template: TemplateBox
add {{{i18n-data-file|}}} used by the layout |
m 1 revision imported |
(No difference)
|
Latest revision as of 17:05, 28 February 2024
Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured;
Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Shared Template Warning.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''. | Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured;
Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Shared Template Warning.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''. |
Lua error in Module:Lua_banner at line 112: attempt to index field 'edit' (a nil value).Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.
See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Tracked.tab.
See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.
Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured;
Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Tracked.tab.
See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.
Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured;
Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Tracked.tab.
No description yet available.
Usage
{{TemplateBox
|1 =
|1d =
|1label =
|1aliases =
|1type =
|1set =
|1def =
|1av =
|1sv =
|1stat =
|useTemplateData =
|name =
|desc =
|namespace =
|usergroup =
|placement =
|usage-notes =
|type =
|example =
|example-value =
|i18n-method =
|i18n-desc =
|i18n-mediawiki-msg =
|i18n-subpage =
|i18n-data-file =
|seealso =
|setscats =
|print =
|shorthand =
|relieson =
|mustbesubst =
|docsub-page =
}}
Usage notes: For a copy-paste form with short parameter descriptions see section Usage – with short parameter descriptions
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
1 | empty | optional | ||
1d 1d-en 1description 1description-en | empty | optional | ||
1d-td 1d-td-en 1description-td 1description-td-en | empty | optional | ||
1label 1label-en 1label-td 1label-td-en | empty | optional | ||
1aliases | empty | optional | ||
1type | empty | optional | ||
1set | empty | optional | ||
1def 1def-td 1default | empty | optional | ||
1av | not specified | optional | ||
1sv | not specified | optional | ||
1stat 1stat-td 1deprecated 1required | Lua error in Module:LangSwitch at line 135: attempt to concatenate a nil value.:
| optional | optional | |
useTemplateData | empty | suggested | ||
name | {{BASEPAGENAME}} | required | ||
desc desc-en description description-en desc-td description-td | empty | required | ||
namespace | empty | required | ||
usergroup | empty | required | ||
placement | Lua error in Module:LangSwitch at line 135: attempt to concatenate a nil value.:
| empty | optional | |
usage-notes | empty | optional | ||
type | empty | optional | ||
example | empty | optional | ||
example-value | {{TEMPLATENAME|<example>}} | optional | ||
i18n-method | Lua error in Module:LangSwitch at line 135: attempt to concatenate a nil value.:
| empty | optional | |
i18n-desc | empty | optional | ||
i18n-mediawiki-msg | empty | optional | ||
i18n-subpage | i18n | optional | ||
i18n-data-file | I18n/{{{name}}}.tab | optional | ||
seealso | empty | optional | ||
setscats | empty | optional | ||
print | empty | optional | ||
lines | empty | deprecated | ||
shorthand | empty | optional | ||
relieson | empty | optional | ||
mustbesubst | empty | optional | ||
docsub-page | {{NAMESPACE}}:{{BASEPAGENAME}} | optional |
Template data | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Lua error in Module:Autotranslate at line 80: No fallback page found for autotranslate (base=Template:TemplateDataInfo/i18n, lang=⧼lang⧽).
The template provides a uniform way to provide basic information about the use of a template. See: [[Commons:Template documentation]] and [[Commons:TemplateData]].
|
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: all users
Placement:
Lua error in Module:LangSwitch at line 135: attempt to concatenate a nil value.
Relies on:
- Module:TemplateBox
- Module:TNTTools
- Module:Languages
{{Documentation subpage}}
⧼Seealso⧽
Localization
This template makes use of {{Autotranslate}} and the translate extension. The layout of the template can be found under Template:TemplateBox/layout.
Usage – with short parameter descriptions
- Standard form for copy & paste with comments explaining shortly each parameter
- Additional comments and space for categories is included so it can work as a complete copy paste form for new doc pages.
- The parameter names are without language code:
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{TemplateBox
<!-- TEMPLATE PARAMETERS SECTION (for 2nd parameter copy paste & change "1" → "2") -->
|1 = <!-- 1st parameter: name of the first parameter the template takes-->
|1label = <!-- 1st parameter: label, very brief name, preferably less than 20 characters -->
|1d = <!-- 1st parameter: description (+LANGUAGE CODE) -->
|1d-td = <!-- 1st parameter: description for TemplateData without any wiki markup (+LANGUAGE CODE) -->
|1aliases = <!-- 1st parameter: alternative names that may be used, separated by "/" -->
|1type = <!-- 1st parameter: type (values: number, string, line, boolean, date, url, wiki-page-name, unknown/…) -->
|1set = <!-- 1st parameter: set ID / Label (to group multiple parameters in a set) -->
|1def = <!-- 1st parameter: fixed default value (+LANGUAGE CODE) -->
|1av = <!-- 1st parameter: autovalue, dynamically-generated default value, e.g. current year -->
|1sv = <!-- 1st parameter: suggested values to help users select the desired value, separated by "/" -->
|1stat = <!-- 1st parameter: status (values: required, optional, optional- or deprecated) -->
<!-- TEMPLATE SECTION -->
|useTemplateData = <!-- expose TemplateData (values: true, export; default: false) -->
|name = <!-- template title -->
|desc = <!-- template description (+LANGUAGE CODE) -->
|namespace = <!-- namespaces, the template is intended to be used (values: all, File, Category,…) -->
|usergroup = <!-- usergroup that is meant to use the template (values: all, admin,…) -->
|placement = <!-- placement on the page (values: top, bottom, licence or source) -->
|usage-notes = <!-- notes about the correct usage of the template -->
|type = <!-- template type (values: infobox, formatting, licence tag,…) -->
|example = <!-- example value for one (unnamed) parameter -->
|example-value = <!-- example use of the template with the value of the example parameter -->
|i18n-method = <!-- translation method (values: mediawiki-msg, ext.translate, autotranslate,…) -->
|i18n-desc = <!-- translation info -->
|i18n-mediawiki-msg = <!-- name of the message when using “mediawiki-msg” as method -->
|i18n-subpage = <!-- translation subpage when using "ext.translate" as method -->
|i18n-data-file = <!-- tabular data file on Wikimedia Commons in the Data namespace -->
|seealso = <!-- relevant links (each of them on a new code line with * in the beginning) -->
|setscats = <!-- categories which are automatically set by the template -->
|print = <!-- template code layout in the Usage-section (values: one, multi, infobox) -->
|shorthand = <!-- redirects to the main template -->
|relieson = <!-- list of templates on which the template's basic functionality relies -->
|mustbesubst = <!-- set to yes (or any value) if the template must be substituted. -->
|docsub-page = <!-- page parameter from {{Documentation subpage}} -->
}}<includeonly>{{Sandbox other||
<!-- Categories below this line; interwikis at Wikidata -->
}}</includeonly>
About: TemplateData
{{Commons:TemplateData}}
Lua error in Module:LangSwitch at line 135: attempt to concatenate a nil value.
( NOTE : the {{sed|1}} template links appears HERE : >>> )Lua error in Module:LangSwitch at line 135: attempt to concatenate a nil value.