Cleachdaiche:Kibi78704/sandbox/DocBackground
Background
deasaichThis template is one of a set of language manipulating templates, all of which may be found in Roinn-seòrsa:Teamplaidean Cànain.
Uiclair needs a quick and easy way to correct grammatical and typological errors across its pages because there are so few native Gàidhlig speakers and because mistakes are so easy to make. It is easier to repair systemic typos and grammatical errors when there are fewer places to edit them. Another benefit of using templates is that they create isomorphic pages; that is, consistent formatting across definition pages makes for easier reading. Using templates to generate definition pages also makes it easy to automatically categorize the definitions by language, part of speech, or even by topic; this automatic categorization in turn makes it easy to gather statistics about the definitions, their languages, and the parts of speech that have been defined. Finally, automatically categorized pages, templates, and categories, themselves, make for easy access.
Naming Conventions
deasaichTemplate Names
deasaichUse abbreviations and language codes when naming templates for easier editing. See Roinn-seòrsa:Teamplaidean 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.
Category Names
deasaichSpell things out in category names for legibility and clarity. See Roinn-seòrsa:Bunasach (root category).