Teamplaid:=af=/documentation
Paramadairean - Parameters
deasaich- Parameter 1 ((optional): the constant "toc" (minus the double quotes). If the TOC parameter is present, this template will build a Table of Contents (TOC).
Ùsaid - Usage
deasaichUse this template to create an Entry Heading on a Definition Page.
Create an Entry Heading along with a Table of Contents on a Head Word Page
Use this mode for the first entry on a page: {{=af|toc=}}
Create an Entry Heading without a Table of Contents on a Head Word Page
Use this mode for a subsequent entry on a page: {{=af=}}
Tuairisgeul - Description
deasaichThe 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:
- Optionally creates a Table of Contents.
- Draws a box around the text for the current language entry. See bean for an example of multiple language entries on a single page.
- Creates the specified language heading.
- Adds the entry page to the "Roinn-seòrsa:Faclan Afraganaise", i.e., "Category:Afrikaans lemmas". See for a list of existing word categories by language.
- Adds itself to .
Gnàthasan Ainmeachaidh - Naming Conventions
deasaichAinmean teamplaid - Template Names
deasaichUse 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
deasaichSpell things out in category names for legibility and clarity. See (root category).