Template:LanguageSelector/link/doc: Difference between revisions
Template page
More actions
m ←Created page with '{{TemplateBox |1=1 |1d=language code, required to display any actual link |1def= |1stat= |2=2 |2d=what to display within the link: * '''code''' : display only the ...' |
mNo edit summary |
||
| Line 28: | Line 28: | ||
|type= | |type= | ||
|example=fr | |example=fr | ||
|example2=fr{{!}}icon | |||
|i18n-method= | |i18n-method= | ||
|i18n-desc= | |i18n-desc= | ||
Revision as of 04:46, 17 July 2010
No description yet available.
Usage
{{LanguageSelector/link/doc |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}}
Examples
{{LanguageSelector/link/doc|fr}}
renders as:
Template loop detected: Template:TemplateBox
{{LanguageSelector/link/doc|fr|icon}}
renders as:
Template loop detected: Template:TemplateBox