Template:Description/doc: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
|1d=wikicode for the language and name of the CSS formating class (mandatory) | |1d=wikicode for the language and name of the CSS formating class (mandatory) | ||
|1def= | |1def= | ||
|1stat= | |1stat=required | ||
|2=2 | |2=2 | ||
|2d=description text | |2d=description text | ||
|2def= | |2def= | ||
|2stat= | |2stat=required | ||
|3=3 | |3=3 | ||
| Line 14: | Line 14: | ||
*name=alternative parameter name for parameter 3 | *name=alternative parameter name for parameter 3 | ||
|3def= | |3def= | ||
|3stat= | |3stat=optional | ||
|4=4 | |4=4 | ||
|4d=standard code for lang tag in HTML (optional, default is same as parameter 1) | |4d=standard code for lang tag in HTML (optional, default is same as parameter 1) | ||
|4def= | |4def= | ||
|4stat= | |4stat=optional | ||
|5=5 | |5=5 | ||
|5d=extension text shown after the language name before colon (optional, default is empty) | |5d=extension text shown after the language name before colon (optional, default is empty) | ||
|5def= | |5def= | ||
|5stat= | |5stat=optional | ||
|6=inline | |6=inline | ||
|6d=optional, default is empty string. When set to any value different from an empty string, forces the template to be displayed inline, so that it does not break the current paragraph (i.e. that makes possible to put several descriptions side by side on a single line) | |6d=optional, default is empty string. When set to any value different from an empty string, forces the template to be displayed inline, so that it does not break the current paragraph (i.e. that makes possible to put several descriptions side by side on a single line) | ||
|6def= | |6def= | ||
|6stat= | |6stat=optional | ||
|name=Description | |name=Description | ||
| Line 43: | Line 42: | ||
|i18n-desc= | |i18n-desc= | ||
|seealso=*{{tl|Description missing}} | |seealso=*{{tl|Description missing}} | ||
|setscats= | |setscats=[[:Category:Language templates with no text displayed]] (if parameter #2 is empty) | ||
|lines= | |lines= | ||
|shorthand= | |shorthand= | ||
Revision as of 12:48, 3 April 2013
No description yet available.
The template automatically sets the following categories: Category:Language templates with no text displayed (if parameter #2 is empty)
Usage
{{Description |1= |2= |3= |4= |5= |inline= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | wikicode for the language and name of the CSS formating class (mandatory) | empty | required | |
2 | description text | empty | required | |
3 | title for tooltip (optional, default is empty)
| empty | optional | |
4 | standard code for lang tag in HTML (optional, default is same as parameter 1) | empty | optional | |
5 | extension text shown after the language name before colon (optional, default is empty) | empty | optional | |
inline | optional, default is empty string. When set to any value different from an empty string, forces the template to be displayed inline, so that it does not break the current paragraph (i.e. that makes possible to put several descriptions side by side on a single line) | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
See also