Difference between revisions of "Template:Nornabr/switch"

From Nynorn
Jump to navigation Jump to search
(More terms)
(More terms)
 
(6 intermediate revisions by the same user not shown)
Line 136: Line 136:
 
-->|sup. = superlative<!--2
 
-->|sup. = superlative<!--2
 
-->|U{{sup|c}}. = Colvidale in Unst<!--2
 
-->|U{{sup|c}}. = Colvidale in Unst<!--2
-->|U{{sup|n. and w.}} = Unst north and west<!--2
+
-->|U{{sup|n. and w.}}|U{{sup|n., w}}. = Unst north and west<!--2
 
-->|W.Burr.|W. Burr|W.Bur.|W. Burr.|W. Burra|W.Burr = West Burra<!--2
 
-->|W.Burr.|W. Burr|W.Bur.|W. Burr.|W. Burra|W.Burr = West Burra<!--2
 
-->|Wd. = Weisdale<!--2
 
-->|Wd. = Weisdale<!--2
Line 159: Line 159:
 
-->|interr. int. = interrogative interjection<!--1
 
-->|interr. int. = interrogative interjection<!--1
 
-->|Lat. = Latin<!--1
 
-->|Lat. = Latin<!--1
-->|metaph. = metaphorical, -ly<!--1
+
-->|metaph.|Metaph. = metaphorical, -ly<!--1
 
-->|M{{sup|m}}. = the middle of Mainland<!--1
 
-->|M{{sup|m}}. = the middle of Mainland<!--1
 
-->|Mod. = modern<!--1
 
-->|Mod. = modern<!--1
Line 186: Line 186:
 
-->|2nd p. = second person<!--0
 
-->|2nd p. = second person<!--0
 
-->|3. pers. = third person<!--0
 
-->|3. pers. = third person<!--0
 +
-->|accuss. = accusative<!--0
 
-->|adjs. = adjectives<!--0
 
-->|adjs. = adjectives<!--0
 
-->|advs. = adverbs<!--0
 
-->|advs. = adverbs<!--0
Line 196: Line 197:
 
-->|coll. = collocation<!--0
 
-->|coll. = collocation<!--0
 
-->|De{{sup|n}}. = Delting (north)<!--0
 
-->|De{{sup|n}}. = Delting (north)<!--0
 +
-->|De{{sup|e}}. = Delting (east)<!--0
 
-->|def. art. = definite article<!--0
 
-->|def. art. = definite article<!--0
 
-->|dem. = demonstrative<!--0 - demonstrates?
 
-->|dem. = demonstrative<!--0 - demonstrates?
Line 256: Line 258:
 
-->|preps. = prepositions<!--0
 
-->|preps. = prepositions<!--0
 
-->|pres. ind. = present indicative<!--0
 
-->|pres. ind. = present indicative<!--0
 +
-->|pret. = preterite<!--0
 
-->|rad. = radical<!--0
 
-->|rad. = radical<!--0
 
-->|refl. = reflexive<!--0
 
-->|refl. = reflexive<!--0
 +
-->|rel. = relative<!--0
 
-->|sbs. = substantives (noun)<!--0
 
-->|sbs. = substantives (noun)<!--0
 
-->|subst. = substantive<!--0
 
-->|subst. = substantive<!--0
Line 267: Line 271:
 
-->|U{{sup|ba}} = the middle part of Unst (the district of Baltasound).<!--0
 
-->|U{{sup|ba}} = the middle part of Unst (the district of Baltasound).<!--0
 
-->|U{{sup|n., b}}. = Unst (north, Burrafirth)<!--0
 
-->|U{{sup|n., b}}. = Unst (north, Burrafirth)<!--0
 +
-->|U{{sup|n., bu}}. = Unst (north, Burrafirth)<!--0
 
-->|U{{sup|s. and w.}} = Unst (south and west)<!--0
 
-->|U{{sup|s. and w.}} = Unst (south and west)<!--0
 
-->|U{{sup|s. and wg}}. = Unst (south and Westing)
 
-->|U{{sup|s. and wg}}. = Unst (south and Westing)

Latest revision as of 00:19, 6 July 2021

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

  • {{nornabrn}} for Norwegian place-name abbreviations in the Introduction part VI
  • {{abbr}} for generic abbreviations in other works
Questa bordura na cumpara betg en l'artitgel.
Questa documentaziun vegn transcludida da(d) Template:Nornabr/doc.
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.