Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

term


This template generates a link to an entry in a given language without adding any formatting or annotations. This template is generally useful in combination with other templates that are already providing the formatting. It uses the ll function in Module:links/templates and the language_link function in Module:links. (ll is short for language link.)

Examples

{{ll|en|word}}
[[word#English|word]]

Parameters

The template takes two required positional parameters, and several optional parameters.

|1= (required)
The language code (see Wiktionary:Languages) for the language that the term is in. All Wiktionary language codes are supported, including those for constructed and reconstructed languages.
|2= (optional)
The page name to be linked to. The template will automatically remove diacritics and punctuation from the page title, according to the entry_name setting in Module:languages, but will keep them in the displayed text. To link to a reconstructed term, such as Proto-Germanic *dagaz, add * in front of this parameter.
Unsupported titles (see Special:PrefixIndex/Unsupported titles) can be linked to, by adding the displayed title, without the Unsupported titles/ prefix: for instance, {{m|mul|:}}: links to Unsupported titles/Colon. This feature is made possible by the list found at Module:links/data. To add new unsupported titles, follow the directions in the module.
|3= (optional)
Alternative text to display as the link title, if different from the page name. Please do not use this only for adding diacritics or punctuation to the word, as the template can automatically remove these. See above.
|sc= (optional)
The script code (see Wiktionary:Scripts) for the script that the term is written in. When no code is given, the template will try to detect the script based on the characters in the term and the scripts in the language's data table (see Module:languages § Language:findBestScript). In most cases, it will succeed. If it fails, the code None will be used.
|id= (optional)
A sense id for the term, which links to anchors on the page set by the {{senseid}} template.

See also