Template:LanguageSelector/link/doc: Difference between revisions
Template page
More actions
mNo edit summary |
mNo edit summary |
||
| Line 20: | Line 20: | ||
|4def= | |4def= | ||
|4stat=optionnal | |4stat=optionnal | ||
|name= | |name=LanguageSelector/link | ||
|desc= | |desc=Displays a link to the current page in displayed in another specified language. | ||
|namespace= | |namespace= | ||
|usergroup= | |usergroup= | ||
Revision as of 05:01, 17 July 2010
Displays a link to the current page in displayed in another specified language.
Usage
{{LanguageSelector/link |1= |2= |3= |action= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | language code, required to display any actual link | empty | optional | |
2 | what to display within the link:
| empty | optional | |
3 | icon file name (required when parameter 2 is yes or only) | empty | optional | |
action | optional action (such as "edit") to include in the target URL. Passed through to {{UselangLink}} | 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
Relies on:
{{UselangLink}}
Example
{{LanguageSelector/link|fr}}
renders as: