Teamplaid:en-GB

O Wiktionary
Jump to navigation Jump to search

Beurla Bhreatannach (RA) Beurla Bhreatannach (RA)

Paramadairean - Parameters[deasaich]

The language templates store several values in ISO 639 codes, Scottish Gaelic, and English. These values are stored with neither formatting nor delimiters; that is, the returned text is completely plain and bare. To access one of these named values, specify the name of the parameter after a bar character ('|'), as in the examples below.

  • Luach cuir a-steach paramadair - Parameter Input Value = NULL/NialasBeurla Bhreatannach (RA)
{{en-GB}} When no parameter is specified, the default value is returned.
Toradh: Bunasach; paramadair bunaiteach. Ainmear no tuiseal ainmneach cànain na Gàidhlig.
Returns: Default value. Scottish Gaelic substantive, or nominative singular of the language name.
  • Luach cuir a-steach paramadair - Parameter Input Value = gBeurla Bhreatannaiche
{{en-GB|g}}
Toradh: Tuiseal ginideach na Gàidhlig.
Returns: The Scottish Gaelic genitive case of the language name.
  • Luach cuir a-steach paramadair - Parameter Input Value = 3British English
{{en-GB|3}}
Toradh: Ainmear cànain na Beurla.
Returns: The English nominative singular of the language name.
  • Luach cuir a-steach paramadair - Parameter Input Value = 4of British English
{{en-GB|4}}
Toradh: Tuiseal ginideach na Beurla.
Returns: The English genitive noun phrase.
  • Luach cuir a-steach paramadair - Parameter Input Value = 1Gearmanach an Iar
{{en-GB|1}}
Toradh: Ainmear teaghlach-cànain na Gàidhlig.
Returns: The Scottish Gaelic language family name.
  • Luach cuir a-steach paramadair - Parameter Input Value = 5West Germanic
{{en-GB|5}}
Toradh: An ainmear teaghlaich-chànain na Beurla.
Returns: The English language family name.
  • Luach cuir a-steach paramadair - Parameter Input Value = 2ine:gem:gmw
{{en-GB|2}}
Toradh: Còd(an) ISO 639-5 a ’mìneachadh loidhne cànain phàrant.
Returns: The ISO 639-5 code(s) outlining the parent language lineage.
  • Luach cuir a-steach paramadair - Parameter Input Value = 7ine (Innd-Eòrpach):gem (Gearmanach):gmw (Gearmanach an Iar)
{{en-GB|7}}
Toradh: An loidhne cànain phàrant ann an Gàidhlig agus còd(an) ISO 639-5.
Returns: The parent language lineage in Scottish Gaelic and ISO 639-5 code(s).
  • Luach cuir a-steach paramadair - Parameter Input Value = 6ine (Indo-European):gem (Germanic):gmw (West Germanic)
{{en-GB|6}}
Toradh: An loidhne cànain phàrant ann an Beurla agus còd(an) ISO 639-5.
Returns: The parent language lineage in English and ISO 639-5 code(s).
  • Luach cuir a-steach paramadair - Parameter Input Value = tf
{{en-GB|t}}
Toradh: A bheil teaghlach? (t no f)
Returns: A boolean value (t or f) indicating whether this language is a family, i.e., a branch node in a family tree.
  • Luach cuir a-steach paramadair - Parameter Input Value = c-tf
{{en-GB|c-t}}
Toradh: A bheil ceann-teaghlaich? (t no f)
Returns: A boolean value (t or f) indicating whether this language is the head, or source node, of a family tree.

Ùsaid - Usage[deasaich]

  • Use this template where you need the Gaelic version of the language name.
{{en-GB}}
Toradh/Returns: Beurla Bhreatannach (RA)
  • Frequently invoked to form category names, or anywhere the Gaelic genitive noun phrase of the language name is needed. For example:
[[Roinn-seòrsa:Iarrtasan airson bunachas {{en-GB|g}}]]
Toradh/Returns:
  • Use to discuss the language family tree.
    • Use where you need the language family name.
{{en-GB|1}}
Toradh/Returns: Gearmanach an Iar
  • Use to discuss the language lineage.
{{en-GB|2}}
Toradh/Returns: ine:gem:gmw
  • Use for documentation
  • Parameter values 3-6 are currently used for documentation purposes.
  • Use for conditional processing.
  • Parameters t and c-t may be used in conditional statements.
{{en-GB|c-t}}
E.g., {{#ifeq:{{en-GB|c-t}}|t|do x|do y}}
Toradh/Returns: do y
E.g., {{#ifeq:{{en-GB|c-t}}|f|do x|do y}}
Toradh/Returns: do x


  • Most often used in a Fuaimneachadh (Pronunciation) section of an English head word definition.
{{en-GB}}

Gnàthasan Ainmeachaidh - Naming Conventions[deasaich]

Ainmean teamplaid - Template Names[deasaich]

Use abbreviations and language codes when naming templates for easier editing. See for the existing templates.

  • Template names delimited by equal signs indicate that they affect the highest order headings. E.g., {{=x=}}.
  • Template names delimited by dashes indicate that they affect a subheading. E.g., {{-x-}}.
  • Template names consisting only of a language code are called language templates. I.e., {{language code}} is the format of a language template name. These templates overload the language code function to return data and metadata in Scottish Gaelic, ISO 639-5 codes, and English about the language in question. The language template names may be ISO 639-2, -3, or -5 language codes.

Ainmean Roinn-seòrsa - Category Names[deasaich]

Spell things out in category names for legibility and clarity. See (root category).


Tuairisgeul - Description[deasaich]

The family of templates to which this one belongs, the language templates, store data and metadata about the languages used in definitions. This information can be useful for many applications beyond generating definitions.
These templates are handy for non-native Gaelic speakers: if it turns out that the wording is wrong in this particular template, all the pages and page names that employ it may be changed immediately simply by editing this one specific template.

This template: