Difference between revisions of "Template:Nornabr/switch"

From Nynorn
Jump to navigation Jump to search
(More terms)
(More terms)
Line 198: Line 198:
 
-->|Du{{sup|s, e}}. = Dunrossness south and east<!--0
 
-->|Du{{sup|s, e}}. = Dunrossness south and east<!--0
 
-->|Du{{sup|w}}. = Dunrossness (west)<!--0
 
-->|Du{{sup|w}}. = Dunrossness (west)<!--0
 +
-->|E. Norw. = East Norway<!--0
 
-->|Fe{{sup|h}}. = the neighbourhood of “de Herra” in Fetlar.<!--0
 
-->|Fe{{sup|h}}. = the neighbourhood of “de Herra” in Fetlar.<!--0
 
-->|fem. = feminine<!--0
 
-->|fem. = feminine<!--0
Line 225: Line 226:
 
-->|M.L.G. = Middle Low German<!--0
 
-->|M.L.G. = Middle Low German<!--0
 
-->|mod. = modern<!--0
 
-->|mod. = modern<!--0
 +
-->|N Berg. = North Bergen<!--0
 
-->|Ndl. = Nederlandish (standard Dutch)<!--0
 
-->|Ndl. = Nederlandish (standard Dutch)<!--0
 
-->|N.Eng. = North English<!--0
 
-->|N.Eng. = North English<!--0
Line 239: Line 241:
 
-->|preps. = prepositions<!--0
 
-->|preps. = prepositions<!--0
 
-->|rad. = radical<!--0
 
-->|rad. = radical<!--0
 +
-->|Rbg. = Raabyggelaget<!--0
 
-->|refl. = reflexive<!--0
 
-->|refl. = reflexive<!--0
 
-->|Ryf. = Ryfylke<!--0
 
-->|Ryf. = Ryfylke<!--0
Line 246: Line 249:
 
-->|Shl. = Søndhordland<!--0
 
-->|Shl. = Søndhordland<!--0
 
-->|subst. = substantive<!--0
 
-->|subst. = substantive<!--0
 +
-->|S.Norw. = South Norway<!--0
 
-->|S.W.Norw.|S.W. Norw. = South-West Norway<!--0
 
-->|S.W.Norw.|S.W. Norw. = South-West Norway<!--0
 
-->|Sw. dials. = Swedish dialects<!--0
 
-->|Sw. dials. = Swedish dialects<!--0
Line 252: Line 256:
 
-->|uncompd. = uncompounded<!--0
 
-->|uncompd. = uncompounded<!--0
 
-->|vbs. = verbs<!--0
 
-->|vbs. = verbs<!--0
 +
-->|W. Agder = West Agder<!--0
 
-->|Wests.{{sup|w}}. = Westside (west)<!--0
 
-->|Wests.{{sup|w}}. = Westside (west)<!--0
 
-->|W.Sw. = the village West Sandwick in Yell<!--0
 
-->|W.Sw. = the village West Sandwick in Yell<!--0

Revision as of 16:38, 27 December 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

  • {{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.