Template:l/documentation: Difference between revisions

From Laenkea
Jump to navigation Jump to search
No edit summary
(Replaced content with "{{link-temp-documentation}}")
Tag: Replaced
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Used to link to a Laenktionary entry.
{{link-temp-documentation}}
 
There are two 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.
 
==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|d}} or {{para|display}}
: Specifies the display text to show up instead of the basic word lemma, e.g. {{temp|l|ryn|bhepuíc|d=BHEPUÍC}} for {{l|ryn|bhepuíc|d=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|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}}.

Latest revision as of 20:48, 1 June 2024

Edit-copy green.svg Documentation for Template:l. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

Used to link to a Laenktionary entry.

There are three similar templates for this function, and their different usage should be noted:

  • {{l}} should be used for wikilinks in a list. For example, this might be a list of synonyms or derived terms.
  • {{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.
  • {{m+}} should be used in the same environment as {{m}} (i.e. free-form text) but where the name of the language is desired.

Usage

{{l|rad|sjelt|t=to know}} produces: sjelt (“to know”).

Parameters

|1= (required)
Specifies the language code, e.g ryn or lnk-pro.
|2= (required)
Specifies the word that is being linked to, e.g. {{l|ryn|ŗeine}} for ŗeine.
|3= or |alt=
Specifies the display text to show up instead of the basic word lemma, e.g. {{l|ryn|ŗeine|alt=ŖEINE}} for ŖEINE.
|4= or |t= or |text=
Specifies an optional gloss to be shown alongisde the word, e.g. {{l|rad|háșers|t=December}} for háșers (“December”).
|anchor= or |a=
Specifies an anchor to jump to. This will override the language name; see {{anchor}} for more information.
|hypo=1, |hypothetical=1
Places a double asterisk before the form.
N.B. does not remove the link. To remove the link, use |nolink=.
|nobold=1
Generally, if a link is on the page it is linked to, it will display as unlinked bold text. This is automatically disabled in certain etymology templates, however. In the case of linking to a homograph in another language's entry on the same page, this parameter is used to re-activate the link.
e.g. {{l|ryn|la}} under the Radestrian entry on la will not link to the Riyan entry on the same page. {{l|ryn|la|nobold=1}}, however, will override this.
|nolink=1
Creates plain text instead of a link. This is useful in etymology templates.
|nostar=1
Proto-languages automatically acquire the asterisk when cited. This parameter disables this if you would like to link to a proto-word without the asterisk.
|pos=
Specifies an optional part of speech to be shown alongside the word, e.g. {{l|rad|háșers|pos=noun}} for háșers (noun). This is typically extended to any side note that does not appear in quotation marks.
When combined with |t(ext)=, these show up together in the brackets, e.g. {{l|rad|háșers|pos=Laenkean|t=December}}háșers (“December”, Laenkean).

Notes

  • This template can be used with proto-languages, as it automatically handles the insertion of an asterisk (*) to mark reconstruction and linking to the appendix for the language.
    For example, {{l|lnk-pro|cel-|céltʰes}} produces *céltʰes.