Template:By/doc: Difference between revisions
More actions
m +link |
m +parm |
||
| Line 12: | Line 12: | ||
|shorthand = | |shorthand = | ||
|setscats = | |setscats = | ||
|seealso ={{ | |seealso =Template:{{T|I18n/by}} | ||
|type = | |type = | ||
|i18n-desc = | |i18n-desc = | ||
| Line 23: | Line 23: | ||
|1d = <big>This optional parameter can be used to specify a user</big>.<br> | |1d = <big>This optional parameter can be used to specify a user</big>.<br> | ||
The value of that parameter is used as an argument for the template {{T0|U}}<br> | The value of that parameter is used as an argument for the template {{T0|U}}<br> | ||
''except'' when it starts with either " | ''except'' when it starts with either "&", "<", "[" or "{" — it will be used as-it-is<br> | ||
e.g. wikilinks; or {{t|Ut}}, {{T|Uw}} or other user name templates; or &nbsp; | e.g. wikilinks; or {{t|Ut}}, {{T|Uw}} or other user name templates; or &nbsp; | ||
---- | ---- | ||
| Line 40: | Line 40: | ||
|1def = | |1def = | ||
|1stat=optional- | |1stat=optional- | ||
|2 = nl</code> ''or'' <code>br | |||
|2d =to perform a final line feed; otherwise same line continuation ''may'' follow | |||
|2stat=optional- | |||
}} | }} | ||
Revision as of 08:15, 19 February 2018
Returns the word "by" in the language setting of the user's interface.
Usage
{{By}}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | This optional parameter can be used to specify a user. The value of that parameter is used as an argument for the template U This option is useful for other templates who display file names, e.g.
| empty | optional | |
nl or br | to perform a final line feed; otherwise same line continuation may follow | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
See also
Template:{{I18n/by}}
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)