Difference between revisions of "Template:Nornabr/switch"
Griceylipper (talk | contribs) m (missing start comments) |
Griceylipper (talk | contribs) m (Further optimisation) |
||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{1}}}<!-- | <includeonly>{{#switch:{{{1}}}<!-- | ||
− | -->|sb. = substantive (noun)<!-- | + | Optimised for rate of occurrence (as based on the letter A): |
− | -->|vb. = verb<!-- | + | -->|sb. = substantive (noun)<!-- 191 |
− | -->|O.N. = Old Northern<!-- | + | -->|vb. = verb<!--149 |
− | -->| | + | -->|O.N. = Old Northern<!--108 |
− | -->| | + | -->|Cf.|cf. = confer (compare)<!--94 |
− | -->| | + | -->|adj. = adjective<!--61 |
− | -->| | + | -->|No.|Norw. = Norwegian<!--57 |
− | -->| | + | -->|m. = masculine<!--48 |
− | -->| | + | -->|Esp.|esp.|esp = especially<!--41 |
− | -->| | + | -->|f. = feminine<!--37 |
− | -->| | + | -->|Fe. = Fetlar<!--35 |
− | -->|Ai.|Ai = Aithsting<!-- | + | -->|Fær. = Færoese<!--33 |
− | -->| | + | -->|n. = neuter or intransitive<!--31 |
− | -->| | + | -->|Sh.|Shet.|Shetl. = Shetland, -ic<!--29 |
− | -->| | + | -->|Icel. = Iceland, -ic<!--26 |
− | -->| | + | -->|pl. = plural<!--24 |
− | -->| | + | -->|U{{sup|n}}|U{{sup|n}}. = Unst (north)<!--24 |
− | -->| | + | -->|Comm.|comm. = common, -ly<!--23 |
− | -->| | + | -->|etc. = et cetera (and so forth)<!--22 |
− | -->| | + | -->|Prop.|prop. = proper, -ly<!--21 |
− | -->| | + | -->|Eng. = English<!--20 |
− | -->| | + | -->|L.Sc. = Lowland Scottish<!--19 |
− | -->| | + | -->|Fo. = Foula<!--18 |
− | -->| | + | -->|Prob.|prob. = probable, -ly<!--17 |
− | -->| | + | -->|Y{{sup|h}}. = the neighbourhood of “de Herra” in Yell<!--17 |
− | -->|compar. = comparative<!-- | + | -->|Du. = Dunrossness<!--16 |
− | -->|compd. = compound<!-- | + | -->|Sw. = Swedish<!--16 |
− | -->|compds. = compounds<!-- | + | -->|Da. = Danish<!--15 |
− | -->|conj. = conjunction<!-- | + | -->|Wests. = the Westside<!--15 |
− | -->|conn. = connection<!-- | + | -->|dial. = dialect<!--14 |
− | -->|Cymr. = Cymric<!-- | + | -->|Occas.|occas. = occasionally<!--14 |
− | + | -->|Sa|Sa. = Sandness<!--14 | |
− | -->|Da. dial. = Danish dialect<!-- | + | -->|e.g. = exempli gratia (for example)<!--13 |
− | -->|dat. = dative<!-- | + | -->|N.I. = the Northern Isles<!--13 |
− | -->|De. = Delting.<!-- | + | -->|Y{{sup|n}}. = Yell (north)<!--13 |
+ | -->|adv. = adverb<!--12 | ||
+ | -->|Ai.|Ai = Aithsting<!--12 | ||
+ | -->|C.|Conn. = Conningsburgh<!--12 | ||
+ | -->|Nm{{sup|w}}. = Northmavine (west)<!--12 | ||
+ | -->|U. = Unst<!--12 | ||
+ | -->|foll. = following, followed<!--11 | ||
+ | -->|Ork. = Orkneyan<!--11 | ||
+ | -->|S.Sh. = South Shetland<!--11 | ||
+ | -->|Sw. dial. = Swedish dialect<!--10 | ||
+ | |||
+ | Not optimised: | ||
+ | -->|a. = active voice<!--3 | ||
+ | -->|A.S. = Anglo-Saxon<!--2 | ||
+ | -->|abbr. = abbreviated<!--6 | ||
+ | -->|Acc.|acc. = either [in accordance (with)], or [according (to)]<!--9 | ||
+ | -->|accus. = accusative<!--0 | ||
+ | -->|advs. = adverbs<!--0 | ||
+ | -->|appl. = applied<!--0 | ||
+ | -->|art. = article<!--0 | ||
+ | -->|Br. = Bressay<!--0 | ||
+ | -->|c. = common gender<!--0 | ||
+ | -->|Celt. = Celtic<!--0 | ||
+ | -->|coll. = collocation<!--0 | ||
+ | -->|collect. = collective, -ly<!--1 | ||
+ | -->|colloq. = colloquial, -ly<!--1 | ||
+ | -->|comb. = combination<!--3 | ||
+ | -->|combs. = combinations<!--1 | ||
+ | -->|compar. = comparative<!--1 | ||
+ | -->|compd. = compound<!--9 | ||
+ | -->|compds. = compounds<!--4 | ||
+ | -->|conj. = conjunction<!--2 | ||
+ | -->|conn. = connection<!--0 | ||
+ | -->|Cymr. = Cymric<!--0 | ||
+ | -->|Da. dial. = Danish dialect<!--1 | ||
+ | -->|dat. = dative<!--0 | ||
+ | -->|De. = Delting.<!--9 | ||
-->|De{{sup|n}}. = Delting (north)<!-- | -->|De{{sup|n}}. = Delting (north)<!-- | ||
-->|De{{sup|w}}. = Delting (west)<!-- | -->|De{{sup|w}}. = Delting (west)<!-- | ||
− | -->|def. = definite<!-- | + | -->|def. = definite<!--3 |
− | -->|def. art. = definite article<!-- | + | -->|def. art. = definite article<!--0 |
− | -->|dem. = demonstrative<!-- | + | -->|dem. = demonstrative<!--0 |
− | -->|Deriv.|deriv. = derivative<!-- | + | -->|Deriv.|deriv. = derivative<!--7 |
− | + | -->|dials. = dialects<!--2 | |
− | -->|dials. = dialects<!-- | + | -->|dict. = dictionary<!--0 |
− | -->|dict. = dictionary<!-- | + | -->|Diff.|diff. = different<!--8 |
− | -->|Diff.|diff. = different<!-- | + | -->|dim. = diminutive<!--0 |
− | -->|dim. = diminutive<!-- | + | -->|Dut. = Dutch (vernacular)<!--1 |
− | -->| | + | -->|Easts. = the Eastside of Shetland.<!--1 |
− | -->| | + | -->|Eng. dial. = English dialect<!--2 |
− | -->| | + | -->|Esh. = Eshaness<!--3 |
− | -->| | + | -->|Etym.|etym. = etymology<!--1 |
− | -->| | + | -->|expr. = expression<!--8 |
− | -->| | + | -->|exprs. = expressions<!--0 |
− | -->| | + | -->|fem. = feminine<!--0 |
− | -->| | + | -->|Fe{{sup|e}}. = Fetlar (east)<!--0 |
− | -->| | + | -->|Fe{{sup|f}}. = Funzie in Fetlar<!--1 |
− | -->| | + | -->|fig. = figurative, -ly<!--4 |
− | -->| | + | -->|Fr. = French<!--0 |
− | -->| | + | -->|Freq.|freq. = frequent, -ly<!--1 |
− | -->| | + | -->|Fris. = Frisian<!--0 |
− | -->| | + | -->|Gael. = Gaelic<!--0 |
− | -->| | + | -->|gen. = genitive<!-2- |
− | -->| | + | -->|Germ. = German<!--0 |
− | -->| | + | -->|Goth. = Gothic<!--0 |
− | -->| | + | -->|Gothl. = Gothland<!--0 |
− | -->| | + | -->|gram. = grammar<!--0 |
− | -->| | + | -->|Greenl. = Greenland<!--1 |
− | -->| | + | -->|H.G. = High German<!--0 |
− | -->| | + | -->|id|id. = idem (the same)<!--9 |
− | -->| | + | -->|i.e.|i. e. = id est (that is)<!--2 |
− | -->| | + | -->|imp. = imperative<!--0 |
− | -->| | + | -->|impers. = impersonal<!--0 |
− | -->| | + | -->|impf. = imperfect<!--0 |
− | -->| | + | -->|infl. = influence<!--0 |
− | -->| | + | -->|interj. = interjection<!--0 |
− | -->| | + | -->|interr. int. = interrogative interjection<!--1 |
− | -->| | + | -->|introd. = introduction<!--0 |
− | -->| | + | -->|Irel. = Ireland<!--3 |
− | -->| | + | -->|Jut. = Jutlandic<!--2 |
− | -->| | + | -->|L.|Lunn. = Lunnasting.<!--4 |
− | -->| | + | -->|L.G.|L.Germ. = Low German<!--2 |
− | -->| | + | -->|lang. = language<!--0 |
− | -->| | + | -->|Lap.|Lapp. = Lapland<!--0 |
− | -->| | + | -->|Lat. = Latin<!--0 |
− | -->| | + | -->|lit. = literal, -ly<!--0 |
− | -->| | + | -->|M. = Mainland<!--1 |
− | -->| | + | -->|M{{sup|w}}. = Mainland (west)<!--0 |
− | -->| | + | -->|masc. = masculine<!--0 |
− | -->| | + | -->|M.Eng. = Middle English<!--0 |
− | -->| | + | -->|M.H.G. = Middle High German<!--0 |
− | -->| | + | -->|M.L.G. = Middle Low German<!--0 |
− | -->|L. | + | -->|M.Roe|M.Roe. = Muckle Roe<!--1 |
− | -->| | + | -->|metaph. = metaphorical, -ly<!--0 |
− | -->| | + | -->|Mod. = modern<!--1 |
− | -->| | + | -->|Mod.Eng.|Mod. Eng. = Modern English<!--1 |
− | -->| | + | -->|Mod. Icel. = Modern Icelandic<!--4 |
− | -->| | + | -->|Mod. Shetl. = Modern Shetlandic<!--0 |
− | -->| | + | -->|Mod. Sw. dials. = Modern Swedish dialects<!--0 |
− | -->| | + | -->|N. = Nesting<!--3 |
− | -->| | + | -->|N.Roe.|N.Roe = North Roe<!--7 |
− | -->| | + | -->|Ndl. = Nederlandish (standard Dutch)<!--0 |
− | -->| | + | -->|neut. = neuter<!--1 |
− | -->| | + | -->|Nm. = Northmavine<!--4 |
− | -->| | + | -->|Nm{{sup|n}}. = Northmavine (north)<!--0 |
− | -->| | + | -->|Nm{{sup|s}}. = Northmavine (south)<!--0 |
− | -->| | + | -->|No. dial. = Norwegian dialect<!--0 |
− | -->| | + | -->|nom. = nominative<!--0 |
− | -->| | + | -->|N.Eng. = North English<!--0 |
− | -->| | + | -->|N.Eng. dials. = North English dialects<!--0 |
− | -->| | + | -->|N.Hl. = North Hordeland<!--0 |
− | -->| | + | -->|N.Sh.|N.Shetl. = North Shetland<!--4 |
− | -->| | + | -->|num. = numeral<!--0 |
− | -->| | + | -->|Obs.|obs. = obsolete<!--1 |
− | -->| | + | -->|O.Da. = Old Danish<!--0 |
− | -->| | + | -->|O.Eng. = Old English<!--2 |
− | -->| | + | -->|O.Sax. = Old Saxon<!--0 |
− | -->| | + | -->|opp. = opposite<!--2 |
− | -->| | + | -->|Orig.|orig. = original, -ly<!--4 |
− | -->| | + | -->|Papa|Papa St. = Papa Stour<!--3 |
− | -->| | + | -->|part. = participle<!--3 |
− | -->| | + | -->|perf. = perfect<!--1 |
− | -->| | + | -->|perf. part. = perfect participle<!--7 |
− | -->| | + | -->|pers. = person, personal, -ly<!--0 |
− | -->| | + | -->|phr. = phrase<!--0 |
− | -->| | + | -->|poet. = poetic<!--0 |
− | -->| | + | -->|Poss.|poss. = possible, -ly<!--10 |
− | -->| | + | -->|prec. = preceding<!--0 |
− | -->| | + | -->|prep. = preposition<!--10 |
− | -->| | + | -->|preps. = prepositions<!--0 |
− | -->| | + | -->|pres. = present<!--2 |
− | -->| | + | -->|pres. part. = present participle<!--4 |
− | -->| | + | -->|pron. = pronoun<!--5 |
− | -->| | + | -->|pronunc. = pronunciation<!--0 |
− | -->| | + | -->|q.v. = quod vide (which see)<!--7 |
− | -->| | + | -->|rad. = radical<!--0 |
− | -->| | + | -->|ref. = reference<!--2 |
− | -->| | + | -->|refl. = reflexive<!--0 |
− | -->| | + | -->|reg. = regarding<!--0 |
− | -->| | + | -->|s. = singular<!--3 |
− | -->| | + | -->|Sandw. = Sandwick<!--1 |
− | -->| | + | -->|sbs. = substantives (noun)<!--0 |
− | -->| | + | -->|Sc. = Scottish<!--0 |
− | -->| | + | -->|sing. = singular<!3 |
− | -->| | + | -->|St. = Sandsting<!--0 |
− | -->| | + | -->|sup. = superlative<!--0 |
− | -->| | + | -->|syn. = synonym, -ous<!--1 |
− | -->| | + | -->|U{{sup|b}}|U{{sup|b}}. = Burrafirth in Unst<!--1 |
− | + | -->|U{{sup|mo}}|U{{sup|mo}}. = Mooness (Muness) in Unst<!--2 | |
− | + | -->|U{{sup|s}}|U{{sup|s}}. = Unst (south)<!--2 | |
− | + | -->|U{{sup|wg}}|U{{sup|wg}}. = the village of Westing in Unst<!--1 | |
− | + | -->|uncomm. = uncommon<!--0 | |
− | + | -->|Vends. = Vendsyssel<!--1 | |
− | + | -->|viz. = videlicet (namely)<!--0 | |
− | + | -->|W.Sc. = West of Scotland<!--1 | |
− | + | -->|W. Burr = West Burra<!--1 | |
− | + | -->|Wd. = Weisdale<!--1 | |
− | + | -->|Wh. = Whalsay<!--4 | |
− | + | -->|Y. = Yell<!--3 | |
− | + | -->|Y{{sup|b}}. = the neighbourhood of Bastavoe in Yell (itself the southern part of Yell (north))<!--1 | |
− | + | -->|Y{{sup|e}}. = Yell (east)<!--1 | |
− | + | -->|Y{{sup|h, n}}. = “de Herra” in Yell, and north Yell<!--1 | |
− | + | -->|Y{{sup|m}}. = Mid Yell.<!--1 | |
− | + | -->|Y{{sup|s}}. = Yell (south)<!--1 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | -->|U{{sup|b}}|U{{sup|b}}. = Burrafirth in Unst<!-- | ||
− | -->|U{{sup|mo}}|U{{sup|mo}}. = Mooness (Muness) in Unst<!-- | ||
− | |||
− | -->|U{{sup|s}}|U{{sup|s}}. = Unst (south)<!-- | ||
− | -->|U{{sup|wg}}|U{{sup|wg}}. = the village of Westing in Unst<!-- | ||
− | -->|uncomm. = uncommon<!-- | ||
− | -->|Vends. = Vendsyssel<!-- | ||
− | -->|viz. = videlicet (namely)<!-- | ||
− | -->|W.Sc. = West of Scotland<!-- | ||
− | -->|W. Burr = West Burra<!-- | ||
− | -->|Wd. = Weisdale<!-- | ||
− | |||
− | -->|Wh. = Whalsay<!-- | ||
− | -->|Y. = Yell<!-- | ||
− | -->|Y{{sup|b}}. = the neighbourhood of Bastavoe in Yell (itself the southern part of Yell (north))<!-- | ||
− | -->|Y{{sup|e}}. = Yell (east)<!-- | ||
− | |||
− | -->|Y{{sup|h, n}}. = “de Herra” in Yell, and north Yell<!-- | ||
− | -->|Y{{sup|m}}. = Mid Yell.<!-- | ||
− | |||
− | -->|Y{{sup|s}}. = Yell (south)<!-- | ||
-->|#default = Error}}</includeonly><noinclude> | -->|#default = Error}}</includeonly><noinclude> | ||
{{documentation|Template:Nornabr/doc}} | {{documentation|Template:Nornabr/doc}} | ||
</noinclude> | </noinclude> |
Revision as of 16:55, 20 June 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.