Template:ll/documentation

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 lua function in Module:links/templates and the lua function in Module:links. (ll is short for language link.)

Examples

 * &darr;
 * &darr;

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


 * 1
 * The language code (see Languages) for the language that the term is in. All Wiktionary language codes are supported, including those for constructed and reconstructed languages.


 * 2
 * The page name to be linked to. The template will automatically remove diacritics and punctuation from the page title, according to the  setting in Module:languages, but will keep them in the displayed text. To link to a reconstructed term, such as Proto-Germanic, add * in front of this parameter. Unsupported titles (see Special:PrefixIndex/Unsupported titles) can be linked to, by adding the displayed title, without the   prefix: for instance,  &rarr;  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
 * 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
 * The script code (see 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 ). In most cases, it will succeed. If it fails, the code  will be used.


 * id
 * A sense id for the term, which links to anchors on the page set by the template.