Difference between revisions of "Template:Nornabr/switch"
Griceylipper (talk | contribs) (More terms) |
Griceylipper (talk | contribs) (More terms) |
||
Line 153: | Line 153: | ||
-->|Fris. = Frisian<!--0 | -->|Fris. = Frisian<!--0 | ||
-->|Gael. = Gaelic<!--0 | -->|Gael. = Gaelic<!--0 | ||
− | -->|Ger.|Germ. = German<!--0 | + | -->|G.|Ger.|Germ. = German<!--0 |
-->|Goth. = Gothic<!--0 | -->|Goth. = Gothic<!--0 | ||
-->|Gothl. = Gothland<!--0 | -->|Gothl. = Gothland<!--0 |
Revision as of 12:49, 6 July 2020
Co dovran ins quest model?
La chascha alva cuntegna infurmaziuns davart il scopo ed il diever da quest model.
Usage
Template for assisting formatting of abbreviations in An Etymological Dictionary of the Norn Language in Shetland.
There is one required parameter, the abbreviation. If this is the only parameter provided, it will be looked up and formatted with a tooltip, or, if it is not known, an error displayed.
- Known abbreviation
{{Nornabr|adj.}}
adj.
- Unknown abbreviation
{{Nornabr|not in known list}}
Script error: No such module "Error".
With the size of some of the chapters in the dictionary, and the frequency of abbreviations throughout the text, having to look the abbreviations up every time from a list runs the risk of blowing the expansion limit once all the pages are transcluded. So, to make this template more efficient, a second optional parameter can be supplied that skips the abbreviation being looked up, and will fill out the tooltip with whatever text you provide. Note that if you do this, while the dictionary specifies specific meanings for each abbreviation, liberties are occasionally taken where the expansions really ought to be slightly different to the defined definition. For example, No. mostly means Norwegian, but it may occasionally be used to mean Norway. Other abbreviations have two listed meanings, where it would be beneficial to hard-code the one correct version. If you are hard-coding a replacement definition, be sure what you are supplying in is precise and accurate.
- Known abbreviation with known tooltip text
{{Nornabr|adj.|adjectivally}}
adj.
Implementation
Internally, this template uses {{Nornabr/switch}} to map abbreviations to meanings.
See also
Questa bordura na cumpara betg en l'artitgel.Ils editurs pon experimentar sin la pagina da provas.
Per plaschair agiunscha las categorias sin la sutpagina da documentaziun ed ils interwikis sin Wikidata. Sutpaginas da quest model.