Template:Nornabr/switch

From Nynorn
< Template:Nornabr
Revision as of 14:46, 27 January 2021 by Griceylipper (talk | contribs) (More terms)
Jump to navigation Jump to search

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

<span title="{{#switch:adj.|sb. = substantive|v.|vb. = verb|O.N. = Old Northern|Cf.|cf. = confer (compare)|No.|Norw. = Norwegian|m. = masculine|adj. = adjective|Esp.|esp.|esp = especially|f. = feminine|n. = neuter or intransitive|Sh.|Shet.|Shetl. = Shetland, -ic|Fe. = Fetlar|Fær. = Færoese|Un|Un. = Unst (north)|L.Sc.|L. Sc.|L.Scottish|L. Scottish|L.S. = Lowland Scottish|Eng. = English|Prob.|prob. = probable, -ly|Icel. = Iceland, -ic|Comm.|comm. = common, -ly|Prop.|prop. = proper, -ly|Fo. = Foula|U. = Unst|N.I. = the Northern Isles|Sw. = Swedish|Nmw. = Northmavine (west)|Du. = Dunrossness|C.|Conn. = Conningsburgh|etc. = et cetera (and so forth)|Occas.|occas. = occasionally|Pl.|pl. = plural|e.g. = exempli gratia (for example)|Sa|Sa. = Sandness|Y. = Yell|Yn.|Yelln. = Yell (north)|Ai.|Ai = Aithsting|Sw. dial. = Swedish dialect|Yh. = the neighbourhood of “de Herra” in Yell|Wests. = the Westside|Da. = Danish|Deriv.|deriv. = derivative|Compd.|compd. = compound|Nm. = Northmavine|Poss.|poss. = possible, -ly|expr. = expression|De. = Delting.|N.Roe.|N.Roe = North Roe|Diff.|diff. = different|Orig.|orig. = original, -ly|adv. = adverb|id|id. = idem (the same)|Perf. part.|perf. part.|pf. pt. = perfect participle|foll. = following, followed|q.v. = quod vide (which see)|dial. = dialect|S.Sh. = South Shetland|Wh. = Whalsay|Ork. = Orkneyan|Fig.|fig. = figurative, -ly|abbr.|Abbr. = abbreviated|compds. = compounds|N. = Nesting|prep. = preposition|Acc.|acc. = either [in accordance (with)], or [according (to)]|L.|Lunn.|Lunn = Lunnasting.|P.|Papa|Papa St. = Papa Stour|St. = Sandsting|Umo|Umo. = Mooness (Muness) in Unst|Esh. = Eshaness|Sandw. = Sandwick|pronunc. = pronunciation|S.Shetl. = South Shetland|def. = definite|Us|Us. = Unst (south)|a. = active voice|Br. = Bressay|comb. = combination|Gen.|gen. = genitive|G.|Ger.|Germ. = German|N.Sh.|N.Shetl. = North Shetland|opp. = opposite|Da. dial. = Danish dialect|Eng. dial. = English dialect|Etym.|etym. = etymology|Obs.|obs. = obsolete|pres. part. = present participle|s. |sing. = singular|Uw. = the western part of Unst|A.S. = Anglo-Saxon|collect. = collective, -ly|Dim.|dim. = diminutive|pron. = pronoun|Mod. Icel.|Mod.Icel. = Modern Icelandic|Jut. = Jutlandic|Uwg|Uwg. = the village of Westing in Unst|viz. = videlicet (namely)|exprs. = expressions|Fee. = Fetlar (east)|i.e.|i. e. = id est (that is)|Nms. = Northmavine (south)|part. = participle|ref. = reference|syn. = synonym, -ous|Yb. = the neighbourhood of Bastavoe in Yell (itself the southern part of Yell (north))|compar. = comparative|Dew. = Delting (west)|Easts. = the Eastside of Shetland.|Freq.|freq. = frequent, -ly|infl. = influence|Irel. = Ireland|interj. = interjection|Lap.|Lapp. = Lapland|l-deriv. = l-derivative|L.G.|L.Germ. = Low German|M. = Mainland|M.Roe|M.Roe. = Muckle Roe|Mod.Eng.|Mod. Eng. = Modern English|Nmn. = Northmavine (north)|prec. = preceding|Ub|Ub. = Burrafirth in Unst|accus. = accusative|combs. = combinations|conj. = conjunction|dials. = dialects|Dut. = Dutch (vernacular)|Few. = Fetlar (west)|M.Eng. = Middle English|nom. = nominative|O.Eng. = Old English|O.Norw. = Old Norwegian|Ork. dial. = Orkney dialect|perf. = perfect|pres. = present|Sc. = Scottish|sup. = superlative|Uc. = Colvidale in Unst|Un. and w. = Unst north and west|W. Burr|W.Bur.|W. Burr. = West Burra|Wd. = Weisdale|Ye.|Ye = Yell (east)|Yh, n. = “de Herra” in Yell, and north Yell|Ym. = Mid Yell.|Ys. = Yell (south)|colloq. = colloquial, -ly|conn. = connection|cwts. = hundredweights|Cymr. = Cymric|dat. = dative|Dem. = the middle of Delting|Dus. = Dunrossness (south)|Dum. = the village Maywick in the parish of Sandwick in the north-western part of Dunrossness.|Fef. = Funzie in Fetlar|Finn. = Finnish|Goth. = Gothic|Greenl. = Greenland|impers. = impersonal|Impf.|impf. = imperfect|interr. int. = interrogative interjection|Lat. = Latin|metaph. = metaphorical, -ly|Mm. = the middle of Mainland|Mod. = modern|Mod. Shetl. = Modern Shetlandic|Mod. Sw. dials. = Modern Swedish dialects|Nn. = Nesting (north)|N.Eng. dial. = North English dialect|N.Eng. dials. = North English dialects|neut. = neuter|No. dial. = Norwegian dialect|No.-Lapp. = Norwegian-Lapland|O.H.G. = Old High German|O.Sax. = Old Saxon|reg. = regarding|Sw.-Lapp. = Swedish-Lapland|Ti. = Tingwall|Ue. = the eastern part of Unst|Um. = the middle part of Unst|uncomm. = uncommon|Vends. = Vendsyssel|W. = Walls|W.Sc. = West of Scotland|2. pers. sing. = second person singular|2nd p. = second person|3. pers. = third person|adjs. = adjectives|advs. = adverbs|appl. = applied|art. = article|c. = common gender|Celt. = Celtic|coll. = collocation|Den. = Delting (north)|def. art. = definite article|dem. = demonstrative|dict. = dictionary|Dus, e. = Dunrossness south and east|Duw. = Dunrossness (west)|Feh. = the neighbourhood of “de Herra” in Fetlar.|fem. = feminine|F.I. = Fair Isle|Flad.|Fladab. = the village of Fladabister in the northern part of Conningsburgh|Fr. = French|Fris. = Frisian|Gael. = Gaelic|Germ. dial. = German dialect|Gothl. = Gothland|gram. = grammar|Har. = Haroldswick|H.G. = High German|indef. = indefinite|inf. = infinitive|imp. = imperative|introd. = introduction|lang. = language|lit. = literal, -ly|Lw. = Lerwick|Me. = Mainland (east)|Ml. = Mainland (Lerwick)|Mw. = Mainland (west)|Mn. = Mainland (north)|masc. = masculine|M.H.G.|Mod. H.G. = Middle High German|M.L.G. = Middle Low German|mod. = modern|Ndl.|Nederl. = Nederlandish (standard Dutch)|N.Eng. = North English|N.Hl.|Nhl. = North Hordeland|Nmn., w. = Northmavine (north, west)|N.Uncompd.">adj.

Unknown abbreviation
{{Nornabr|not in known list}}

<span title="{{#switch:not in known list|sb. = substantive|v.|vb. = verb|O.N. = Old Northern|Cf.|cf. = confer (compare)|No.|Norw. = Norwegian|m. = masculine|adj. = adjective|Esp.|esp.|esp = especially|f. = feminine|n. = neuter or intransitive|Sh.|Shet.|Shetl. = Shetland, -ic|Fe. = Fetlar|Fær. = Færoese|Un|Un. = Unst (north)|L.Sc.|L. Sc.|L.Scottish|L. Scottish|L.S. = Lowland Scottish|Eng. = English|Prob.|prob. = probable, -ly|Icel. = Iceland, -ic|Comm.|comm. = common, -ly|Prop.|prop. = proper, -ly|Fo. = Foula|U. = Unst|N.I. = the Northern Isles|Sw. = Swedish|Nmw. = Northmavine (west)|Du. = Dunrossness|C.|Conn. = Conningsburgh|etc. = et cetera (and so forth)|Occas.|occas. = occasionally|Pl.|pl. = plural|e.g. = exempli gratia (for example)|Sa|Sa. = Sandness|Y. = Yell|Yn.|Yelln. = Yell (north)|Ai.|Ai = Aithsting|Sw. dial. = Swedish dialect|Yh. = the neighbourhood of “de Herra” in Yell|Wests. = the Westside|Da. = Danish|Deriv.|deriv. = derivative|Compd.|compd. = compound|Nm. = Northmavine|Poss.|poss. = possible, -ly|expr. = expression|De. = Delting.|N.Roe.|N.Roe = North Roe|Diff.|diff. = different|Orig.|orig. = original, -ly|adv. = adverb|id|id. = idem (the same)|Perf. part.|perf. part.|pf. pt. = perfect participle|foll. = following, followed|q.v. = quod vide (which see)|dial. = dialect|S.Sh. = South Shetland|Wh. = Whalsay|Ork. = Orkneyan|Fig.|fig. = figurative, -ly|abbr.|Abbr. = abbreviated|compds. = compounds|N. = Nesting|prep. = preposition|Acc.|acc. = either [in accordance (with)], or [according (to)]|L.|Lunn.|Lunn = Lunnasting.|P.|Papa|Papa St. = Papa Stour|St. = Sandsting|Umo|Umo. = Mooness (Muness) in Unst|Esh. = Eshaness|Sandw. = Sandwick|pronunc. = pronunciation|S.Shetl. = South Shetland|def. = definite|Us|Us. = Unst (south)|a. = active voice|Br. = Bressay|comb. = combination|Gen.|gen. = genitive|G.|Ger.|Germ. = German|N.Sh.|N.Shetl. = North Shetland|opp. = opposite|Da. dial. = Danish dialect|Eng. dial. = English dialect|Etym.|etym. = etymology|Obs.|obs. = obsolete|pres. part. = present participle|s. |sing. = singular|Uw. = the western part of Unst|A.S. = Anglo-Saxon|collect. = collective, -ly|Dim.|dim. = diminutive|pron. = pronoun|Mod. Icel.|Mod.Icel. = Modern Icelandic|Jut. = Jutlandic|Uwg|Uwg. = the village of Westing in Unst|viz. = videlicet (namely)|exprs. = expressions|Fee. = Fetlar (east)|i.e.|i. e. = id est (that is)|Nms. = Northmavine (south)|part. = participle|ref. = reference|syn. = synonym, -ous|Yb. = the neighbourhood of Bastavoe in Yell (itself the southern part of Yell (north))|compar. = comparative|Dew. = Delting (west)|Easts. = the Eastside of Shetland.|Freq.|freq. = frequent, -ly|infl. = influence|Irel. = Ireland|interj. = interjection|Lap.|Lapp. = Lapland|l-deriv. = l-derivative|L.G.|L.Germ. = Low German|M. = Mainland|M.Roe|M.Roe. = Muckle Roe|Mod.Eng.|Mod. Eng. = Modern English|Nmn. = Northmavine (north)|prec. = preceding|Ub|Ub. = Burrafirth in Unst|accus. = accusative|combs. = combinations|conj. = conjunction|dials. = dialects|Dut. = Dutch (vernacular)|Few. = Fetlar (west)|M.Eng. = Middle English|nom. = nominative|O.Eng. = Old English|O.Norw. = Old Norwegian|Ork. dial. = Orkney dialect|perf. = perfect|pres. = present|Sc. = Scottish|sup. = superlative|Uc. = Colvidale in Unst|Un. and w. = Unst north and west|W. Burr|W.Bur.|W. Burr. = West Burra|Wd. = Weisdale|Ye.|Ye = Yell (east)|Yh, n. = “de Herra” in Yell, and north Yell|Ym. = Mid Yell.|Ys. = Yell (south)|colloq. = colloquial, -ly|conn. = connection|cwts. = hundredweights|Cymr. = Cymric|dat. = dative|Dem. = the middle of Delting|Dus. = Dunrossness (south)|Dum. = the village Maywick in the parish of Sandwick in the north-western part of Dunrossness.|Fef. = Funzie in Fetlar|Finn. = Finnish|Goth. = Gothic|Greenl. = Greenland|impers. = impersonal|Impf.|impf. = imperfect|interr. int. = interrogative interjection|Lat. = Latin|metaph. = metaphorical, -ly|Mm. = the middle of Mainland|Mod. = modern|Mod. Shetl. = Modern Shetlandic|Mod. Sw. dials. = Modern Swedish dialects|Nn. = Nesting (north)|N.Eng. dial. = North English dialect|N.Eng. dials. = North English dialects|neut. = neuter|No. dial. = Norwegian dialect|No.-Lapp. = Norwegian-Lapland|O.H.G. = Old High German|O.Sax. = Old Saxon|reg. = regarding|Sw.-Lapp. = Swedish-Lapland|Ti. = Tingwall|Ue. = the eastern part of Unst|Um. = the middle part of Unst|uncomm. = uncommon|Vends. = Vendsyssel|W. = Walls|W.Sc. = West of Scotland|2. pers. sing. = second person singular|2nd p. = second person|3. pers. = third person|adjs. = adjectives|advs. = adverbs|appl. = applied|art. = article|c. = common gender|Celt. = Celtic|coll. = collocation|Den. = Delting (north)|def. art. = definite article|dem. = demonstrative|dict. = dictionary|Dus, e. = Dunrossness south and east|Duw. = Dunrossness (west)|Feh. = the neighbourhood of “de Herra” in Fetlar.|fem. = feminine|F.I. = Fair Isle|Flad.|Fladab. = the village of Fladabister in the northern part of Conningsburgh|Fr. = French|Fris. = Frisian|Gael. = Gaelic|Germ. dial. = German dialect|Gothl. = Gothland|gram. = grammar|Har. = Haroldswick|H.G. = High German|indef. = indefinite|inf. = infinitive|imp. = imperative|introd. = introduction|lang. = language|lit. = literal, -ly|Lw. = Lerwick|Me. = Mainland (east)|Ml. = Mainland (Lerwick)|Mw. = Mainland (west)|Mn. = Mainland (north)|masc. = masculine|M.H.G.|Mod. H.G. = Middle High German|M.L.G. = Middle Low German|mod. = modern|Ndl.|Nederl. = Nederlandish (standard Dutch)|N.Eng. = North English|N.Hl.|Nhl. = North Hordeland|Nmn., w. = Northmavine (north, west)|N.Uncompd.">not in known list

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.