Template:Smartlink
From OpenMedia
[edit]
Documentation
English<colon> For a given page, this template determines the appropriate language subpage to link to based on user settings.
Français<colon> Pour une page donné, ce modèle détermine la sous-page de langue vers laquelle lier en se basant sur les préférences utilisateur.
Usage
{{Smartlink|1=|2=}}
Parameters
Parameter name | Description | Default value | required or optional?
|
---|---|---|---|
parameter #1 (1) | The page to smartlink to | empty | required |
parameter #2 (2) | The language wanted for the smartlink | {{int:lang}} | 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
Relies on:
- {{SuperFallback}}
Example
{{Smartlink|Commons:Tropenmuseum}}
renders as:
Commons:Tropenmuseum