Template:Description/doc: Difference between revisions
Template page
More actions
zoo们快看起来茶蕊你 |
m Reverted edits by 2806:103E:6:20F9:9D2E:4FA9:2FB9:F70C (talk) to last revision by Gamliel Fishkin |
||
| Line 1: | Line 1: | ||
{{Lua|Module:Description}} | {{Lua|Module:Description}} | ||
{{TemplateBox | {{TemplateBox | ||
|name=Description | |name=Description | ||
|desc=Adds language name, in native language (autonym), and colon in front of the text in that language. Also adds machine-readable tags identifying the text as being in that language. | |desc=Adds language name, in native language (autonym), and colon in front of the text in that language. Also adds machine-readable tags identifying the text as being in that language. | ||
| Line 14: | Line 14: | ||
|2aliases=2 | |2aliases=2 | ||
|2label=text | |2label=text | ||
|2d=description text to display | |2d=description text to display | ||
|2def= | |2def= | ||
|2stat=required | |2stat=required | ||
| Line 21: | Line 21: | ||
|3aliases=3/name | |3aliases=3/name | ||
|3label=hover text | |3label=hover text | ||
|3d=Name of the language in English used as text for tooltip aka hover text or mouse-over text. This parameter is used when language code in the parameter 1 is not supported by wikimedia software, other wise name of the language in users language will be supplied. | |3d=Name of the language in English used as text for tooltip aka hover text or mouse-over text. This parameter is used when language code in the parameter 1 is not supported by wikimedia software, other wise name of the language in users language will be supplied. | ||
|3def= | |3def= | ||
|3stat=optional- | |3stat=optional- | ||
| Line 51: | Line 51: | ||
|setscats= | |setscats= | ||
* [[:Category:Language templates with no text displayed]] (if parameter #2 is empty) | * [[:Category:Language templates with no text displayed]] (if parameter #2 is empty) | ||
|lines= | |lines= | ||
|shorthand= | |shorthand= | ||
|relieson= | |relieson= | ||
|example= | |example= | ||
|seealso= | |seealso= | ||
| Line 61: | Line 61: | ||
|i18n-method=TNT | |i18n-method=TNT | ||
|i18n-data-file=I18n/DescriptionError.tab | |i18n-data-file=I18n/DescriptionError.tab | ||
|i18n-desc=Add translations to [[Data:I18n/ | |i18n-desc=Add translations to [[Data:I18n/DescriptionError.tab]] | ||
}}<includeonly> | }}<includeonly> | ||
[[Category:Internationalization templates]] | [[Category:Internationalization templates]] | ||
</includeonly> | </includeonly> | ||