Template:Description/doc: Difference between revisions
Template page
More actions
No edit summary |
m Undo revision 1038811040 by 2600:1016:B104:A300:B421:2DFF:FE8D:B5C4 |
||
| Line 1: | Line 1: | ||
{{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. | ||
|1= | |1=text_lang | ||
|1aliases=1 | |||
|1label=language | |1label=language | ||
| | |1d=Wikicode for the language and name of the CSS formatting class. In majority of the cases the language code is supported by the wikimedia software and will be used to look up the the names of the language in that language (<code><nowiki>lang_name</nowiki></code>) and in the users language (<code><nowiki>hover</nowiki></code>) | ||
|1def= | |1def= | ||
|1stat=required | |1stat=required | ||
| | |2=text | ||
| | |2aliases=2 | ||
| | |2label=text | ||
|2d=description text to display | |||
|2def= | |||
|2stat=required | |||
|3=hover | |||
|3aliases=3/name | |||
|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. | |||
|3def= | |3def= | ||
|3stat=optional- | |3stat=optional- | ||
| Line 57: | Line 59: | ||
* {{Tl|Description missing}} | * {{Tl|Description missing}} | ||
* {{Tl|Multilingual link}} | * {{Tl|Multilingual link}} | ||
|i18n-method= | |i18n-method=TNT | ||
|i18n-data-file=I18n/DescriptionError.tab | |i18n-data-file=I18n/DescriptionError.tab | ||
|i18n-desc=Add translations to [[Data:I18n/DescriptionError.tab]] | |i18n-desc=Add translations to [[Data:I18n/DescriptionError.tab]] | ||