Template:m/documentation: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
TheNightAvl (talk | contribs) (→Usage) |
||
Line 21: | Line 21: | ||
; {{para|4}} or {{para|t}} or {{para|text}} | ; {{para|4}} or {{para|t}} or {{para|text}} | ||
: Specifies an optional gloss to be shown alongisde the word, e.g. {{temp|m|ryn|bhepuíc|t=december}} for {{m|ryn|bhepuíc|t=december}}. | : Specifies an optional gloss to be shown alongisde the word, e.g. {{temp|m|ryn|bhepuíc|t=december}} for {{m|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}} | ; {{para|pos}} |
Revision as of 20:13, 4 April 2024
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
{{m|kil|šeḻē|t=to know}}
produces: šeḻē (“to know”).
Parameters
|1=
(required)- Specifies the language code, e.g
kil
orlnk-pro
.
|3=
or|alt=
- Specifies the display text to show up instead of the basic word lemma, e.g.
{{m|ryn|bhepuíc|alt=BHEPUÍC}}
for BHEPUÍC.
|4=
or|t=
or|text=
- Specifies an optional gloss to be shown alongisde the word, e.g.
{{m|ryn|bhepuíc|t=december}}
for bhepuíc (“december”).
|anchor=
or|a=
- Specifies an anchor to jump to. This will override the language name; see
{{anchor}}
for more information.
|pos=
- Specifies an optional part of speech to be shown alongside the word, e.g.
{{m|ryn|bhepuíc|pos=noun}}
for bhepuíc (noun). - When combined with
|text=
/|t=
, these show up together in the brackets, e.g. bhepuíc (“december”, noun).