Jump to content

Teamplaid:-alt-

O Wiktionary

Alt

Template documentation[view] [edit] [history] [purge]

Alt - Article

[deasaich]

Paramadairean - Parameters

[deasaich]
  1. Language code. (required)
    This parameter links the invoking page to a language-specific category. E.g., Roinn-seòrsa:Altan [genitive of language name].

Ùsaid - Usage

[deasaich]

Use this template to create subsection on a Definition Page.

Eisimpleirean - Examples

[deasaich]

{{-alt-|pap}}
creates heading Alt ("Article") on the invoking page, and links the invoking page to Roinn-seòrsa:Altan Papiamentua ("Category:Papiamentu Articles").


For live examples, see:


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:

  • Creates a non-editable, Wiki page level 2 (HTML level 3) section heading entitled Alt ("Article")
  • adds this template to (aka Category:Grammar Templates) and to (aka Category:Heading Templates).
    • It may also link the invoking page to a category page, the name of which is based on the part of speech and the language code provided.

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).