Template:l/documentation: Difference between revisions

Jump to navigation Jump to search
Replaced content with "{{link-temp-documentation}}"
(Replaced content with "{{link-temp-documentation}}")
Tag: Replaced
 
Line 1: Line 1:
Used to link to a Laenktionary entry.
{{link-temp-documentation}}
 
There are three similar templates for this function, and their different usage should be noted:
* {{temp|l}} should be used for wikilinks in a list. For example, this might be a list of synonyms or derived terms.
* {{temp|m}} should be used within free-form text. For example this might be in the middle of a paragraph on usage or as part of an etymology.
* {{temp|m+}} should be used in the same environment as {{temp|m}} (i.e. free-form text) but where the name of the language is desired.
 
==Usage==
{{temp|l|kil|šeḻē|t=to know}} produces: {{l|kil|šeḻē|t=to know}}.
 
===Parameters===
; {{para|1|req=1}}
: Specifies the language code, e.g <code>kil</code> or <code>lnk-pro</code>.
 
; {{para|2|req=1}}
: Specifies the word that is being linked to, e.g. {{temp|l|ryn|bhepuíc}} for {{l|ryn|bhepuíc}}.
 
; {{para|3}} or {{para|alt}}
: Specifies the display text to show up instead of the basic word lemma, e.g. {{temp|l|ryn|bhepuíc|alt=BHEPUÍC}} for {{l|ryn|bhepuíc|alt=BHEPUÍC}}.
 
; {{para|4}} or {{para|t}} or {{para|text}}
: Specifies an optional gloss to be shown alongisde the word, e.g. {{temp|l|ryn|bhepuíc|t=december}} for {{l|ryn|bhepuíc|t=december}}.
 
; {{para|anchor}} or {{para|a}}
: Specifies an anchor to jump to. This will override the language name; see {{temp|anchor}} for more information.
 
; {{para|pos}}
: Specifies an optional part of speech to be shown alongside the word, e.g. {{temp|l|ryn|bhepuíc|pos=noun}} for {{l|ryn|bhepuíc|pos=noun}}.
: When combined with {{para|text}}/{{para|t}}, these show up together in the brackets, e.g. {{l|ryn|bhepuíc|t=december|pos=noun}}.
 
==Notes==
* This template can be used with proto-languages, as it automatically handles the insertion of an asterisk (<code>*</code>) to mark reconstruction and linking to the appendix for the language.
*: For example, {{temp|l|lnk-pro|cel-|céltʰes}} produces {{l|lnk-pro|cel-|céltʰes}}.

Navigation menu