ထႅမ်းပလဵတ်ႉ:link

(လုၵ်ႉတီး ထႅမ်းပလဵတ်ႉ:l ၼႆႈသေ ၶိုၼ်းပိၼ်ႇဝၢႆႇမႃး)

Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).


This template generates a link to an entry in a given language. It links to a specific language-section on the target page, and applies language-specific formatting. It can also show a number of annotations after the linked term.

There are several linking templates:

  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). (shortcut Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).). Use this template outside running text, in sections that list entries, such as “Synonyms”, “Related terms”, and “Descendants”.
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). (shortcut Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).). Use this template when a particular term is mentioned (as in the use–mention distinction) within running English text, like in definitions or in “Etymology” and “Usage notes” sections.
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).. Use this template in inflection tables and other templates that list multiple terms. It works the same as Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., but when it links to the same page it is placed on, the link turns bold rather than becoming a link. This mimics the MediaWiki software's behaviour when linking to the same page, but has the full language support of Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)..
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).. Use this template in templates that mention multiple terms in running text. It displays like Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., but works the same as Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). when linked to the current page.
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).. This template creates a link, but does not add any additional formatting or annotations. There is at the moment no consensus on whether it should be used in entries or not.

All of these templates create a link to a language's section of an entry, or to a language-specific sense id created by the template Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). if the |id= parameter is used.

If the second parameter of Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., or Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). contains a wikilink ([[entryname|text]] or [[entryname]]), then this link will be transformed into a link to the language's section of the entry. For instance, the [[word]] will be transformed into the [[word#English|word]] and these [[word|words]] will be transformed into these [[word#English|words]], if the language code supplied to the template is en.

The annotations – transliteration, translation, literal translation, and part of speech – are displayed by Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., or Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). in parentheses after the link. Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). does not support any of these annotations.

See also Wiktionary:Style guide#Styling templates for a list of all the various styling templates with examples.

This template uses Module:links as a back-end, so it supports all the features and bugs of that module. Please see its documentation for more details.

The template takes one required positional parameter and several optional parameters. Note that either the second or third positional parameter should be given, although technically neither is required.

|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 Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., 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, Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). 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)
Alternate 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.
|t= or |4= (optional)
A gloss or short translation of the word. The parameter |gloss= is deprecated for this purpose.
|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:scripts § findBestScript). In most cases, it will succeed. If it fails, the code None will be used.
|tr= (optional)
Transliteration for non-Latin-script words. When no transliteration is given, the template will try to add a default transliteration when possible. For certain languages, automated transliteration will override the value of this parameter. Use tr=- if you don't want a transliteration to be automatically generated (you shouldn't really ever do this in an entry).
|ts= (optional)
Transcription for non-Latin-script words whose transliteration is markedly different from the actual pronunciation. Should not be used for IPA pronunciations.
|pos= (optional)
(optional) A part of speech indication for the term.
|g=, |g2=, |g3= and so on (optional)
Gender and number; see Module:gender and number for details.
|lit= (optional)
A literal translation for the term.
|id= (optional)
A sense id for the term, which links to anchors on the page set by the Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). template.
|accel-form= (optional)
Specifies an accelerated creation tag to be used by the WT:ACCEL gadget, to automatically generate an entry for a non-lemma form when the link is clicked. For information about acceleration tags, see WT:ACCEL#Acceleration tags. You should only provide this parameter when using the linking template as part of a headword-line or inflection-table template. Don't use it directly in entries. If the acceleration tag contains a vertical bar |, use Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). instead.
|accel-translit= (optional)
Specifies a manual transliteration of the non-lemma form for use with accelerated creation of entries; see WT:ACCEL and |accel-form= above. The value of this parameter goes into param |tr= of the call to Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). in the accelerated entry. You only need to specify this for languages that use a non-Latin script, and only when the auto-generated transliteration is insufficient, incorrect or nonexistent.
|accel-lemma= (optional)
Specifies the lemma corresponding to the non-lemma form for use with accelerated creation of entries; see WT:ACCEL and |accel-form= above. The value of this parameter goes into param |2= of the call to Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). in the accelerated entry. It defaults to the name of the current page, and only needs to be specified when the lemma contains additional diacritics that are stripped in order to generate the pagename (as in Latin, Russian, Ancient Greek, Old English, etc.).
|accel-lemma-translit= (optional)
Specifies a manual transliteration of the lemma corresponding to the non-lemma form for use with accelerated creation of entries; see WT:ACCEL and |accel-form= above. The value of this parameter goes into param |tr= of the call to Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). in the accelerated entry. You only need to specify this for languages that use a non-Latin script, and only when the auto-generated transliteration is insufficient, incorrect or nonexistent.
|accel-gender= (optional)
Specifies the gender of the non-lemma form for use with accelerated creation of entries; see WT:ACCEL and |accel-form= above. The value of this parameter goes into param |g= of the call to Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). in the accelerated entry. You should only rarely specify this.
|accel-nostore=1
For use with accelerated creation of entries. Place this on links that appear in the collapsed state of collapsible tables; see WT:ACCEL.

Simple usage:

{{l|cs|háček}}
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).

Showing alternative text:

{{l|en|go|went}}
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).

With wikilinks in input:

{{l|en|[[God]] be [[with]] [[you]]}}
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).

Removal of diacritics:

{{l|la|exemplī grātiā}}
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).

Reconstructed words:

{{l|ine-pro|*bʰréh₂tēr}}
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).

Translation:

{{l|la|similis|t=like}} or {{l|la|similis||like}}
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).

Miscellaneous / with many options:

{{l|ru|ру́сский||Russian|g=m}}
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).

Use of accelerators (in an inflection-table entry):

{{l-self|ang|{{{dat_pl_f}}}|accel-form=dat{{!}}f{{!}}p|accel-lemma={{{nom_sg_m}}}}}
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).
Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).

Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., or Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). all add HTML tags in addition to creating a link. Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). outputs the wikicode Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)., and Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). outputs Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).. Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). and Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). do the same, except they don't create a link if the page being linked to is the same as the current page. This HTML is applied by Module:script utilities; for more, see Module:script utilities/documentation#tag text.

The outcome of Wiktionary:Votes/2007-10/style for mentioned terms determined the default style for terms mentioned with the Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value)./Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). template. The preliminary default for Latin-script (i.e. Roman script, not just Latin-language) terms and phrases is italics. Readers can easily toggle the output from italics to bold by selecting “Show other Latin (Roman) script mentions in bold” from WT:PREFS. Alternatively, or for more advanced customization, readers can add styles to their style sheets as described in WT:CUSTOM:

  • For plain format (e.g.: From mot + ...):
    .mention-Latn { font-style: normal }
  • For bold format (e.g.: From mot + ...):
    .mention-Latn { font-weight: bold; font-style: normal }
  • For italicized format (e.g.: From mot + ...):
    .mention-Latn { font-style: italic }

Further, the default style of the subsequent English translation glosses is in double quotes (pending a vote to approve this template). Readers can easily change the output to single quotes by selecting “Show English glosses for mentioned terms in single quotes” from WT:PREFS.

  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). – a similar template specialized for Chinese
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). – a similar template specialized for Middle Chinese
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). – a similar template specialized for Japanese
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). – a similar template specialized for Korean
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). – a similar template specialized for Thai
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). – a similar template specialized for Vietnamese
  • Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). – to create quotation marks (for glosses or translations) that are formatted with the same HTML code as used by Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). or Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value).

Language-specific subtemplates

မႄးထတ်း

There are high performance versions of this template for several languages. All of them take two parameters: the word and the alternate text. Some may support transliteration also, but they should not support any other parameters for speed reasons. Using any of these subtemplates is sometimes necessary for pages that have many links, since they are faster. For normal use, there is no need for this, and the regular Lua error in မေႃႇၵျူး:parameters at line 600: attempt to index local 'param' (a boolean value). should be used instead.

This is the TemplateData documentation for this template used by VisualEditor and other tools.

TemplateData for link

This template generates a link to an entry in a given language. It links to a specific language-section on the target page, and applies language-specific formatting. It can also show a number of annotations after the linked term.

Template parameters[ၸတ်းၵၢၼ် ၶေႃႈမုၼ်းထႅမ်းပလဵၵ်ႉ]

This template prefers inline formatting of parameters.

Parameterၶေႃႈသပ်းလႅင်းTypeStatus
language code1

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

Example
en
Stringrequired
entry to link2

The page name to be linked to

Example
house
Page namerequired
displayed text3

Alternate text to display as the link title, if different from the page name

Stringsuggested
gloss4 t gloss

A gloss or short translation of the term

Stringsuggested
literal translationlit

A literal translation of the term

Stringoptional
sense IDid

A sense ID for the term, which links to anchors on the page set by the {{senseid}} template.

Example
Q20502
Stringoptional
script codesc

(optional) The script code (see [[Wiktionary:Scripts]]) for the script that the term is written in. The template can usually figure this out itself, so this is rarely needed. When no code is given, the template will try to detect the script based on the characters of the word, and if it fails to detect the script, the code <code>None</code> will be used.

Example
Latn
Stringoptional
part of speechpos

A part of speech indication for the term

Example
noun
Stringsuggested
transliterationtr

Transliteration for non-Latin-script words. When no transliteration is given, the template will try to add a default transliteration when possible. For certain languages, automated transliteration will override the value of this parameter. Use <code>tr=-</code> if you don't want a transliteration to be automatically generated (you shouldn't really ever do this in an entry).

Stringsuggested
gender and numberg

Gender and number; see [[Module:gender and number]] for details.

Stringoptional