Difference between revisions of "Template:Latin script/determine letter"

From blackwiki
Jump to navigation Jump to search
imported>Drmccreedy
(Unicode 11.0 updates)
imported>Drmccreedy
(Unicode 12.0 release)
Line 1: Line 1:
 
{{#switch:{{{1}}}
 
{{#switch:{{{1}}}
|A|ᴬ|Á|À|Ă|Ắ|Ằ|Ẵ|Ẳ|Â|Ấ|Ầ|Ẫ|Ẩ|Ǎ|Å|Å|Ǻ|Ä|Ǟ|Ã|Ȧ|Ǡ|Ą|Ą́|Ą̃|Ā|Ā̀|Ả|Ȁ|Ȃ|Ạ|Ặ|Ậ|Ḁ|Ⱥ|ᴀ|Ɐ|A|ᶏ|ẚ|ᵃ|ᵄ|ª|ₐ|ᵅ|ᶐ|ᶛ|Ɑ|Ɒ|ꬰ|ꭤ|a=letter A
+
|A|ᴬ|Á|À|Ă|Ắ|Ằ|Ẵ|Ẳ|Â|Ấ|Ầ|Ẫ|Ẩ|Ǎ|Å|Å|Ǻ|Ä|Ǟ|Ã|Ȧ|Ǡ|Ą|Ą́|Ą̃|Ā|Ā̀|Ả|Ȁ|Ȃ|Ạ|Ặ|Ậ|Ḁ|Ⱥ|ᴀ|Ɐ|Ꞻ|A|ᶏ|ẚ|ᵃ|ᵄ|ª|ₐ|ᵅ|ᶐ|ᶛ|Ɑ|Ɒ|ꬰ|ꭤ|a=letter A
 
|B|ᴮ|Ḃ|Ḅ|Ḇ|Ƀ|Ɓ|Ƃ|ᵬ|ʙ|ᴃ|ᴯ|ᶀ|Ꞗ|ꞗ|B|ᵇ|b=letter B
 
|B|ᴮ|Ḃ|Ḅ|Ḇ|Ƀ|Ɓ|Ƃ|ᵬ|ʙ|ᴃ|ᴯ|ᶀ|Ꞗ|ꞗ|B|ᵇ|b=letter B
|C|Ć|Ĉ|Č|Ċ|Ç|Ḉ|Ȼ|Ƈ|Ꞓ|Ꜿ|Ↄ|C|ᴄ|ᶜ|ʗ|ꞔ|ɕ|ᶝ|c=letter C
+
|C|Ć|Ĉ|Č|Ċ|Ç|Ḉ|Ȼ|Ƈ|Ꞓ|Ꜿ|Ↄ|C|ᴄ|ᶜ|ʗ|ꞔ|ɕ|Ꞔ|ᶝ|c=letter C
 
|D|ᴰ|Ď|Ḋ|Ḑ|D̦|Ḍ|Ḓ|Ḏ|Đ|Ɖ|Ɗ|Ƌ|Ꝺ|D|ᴅ|ᵭ|ᶁ|ᶑ|ȡ|ᵈ|d=letter D
 
|D|ᴰ|Ď|Ḋ|Ḑ|D̦|Ḍ|Ḓ|Ḏ|Đ|Ɖ|Ɗ|Ƌ|Ꝺ|D|ᴅ|ᵭ|ᶁ|ᶑ|ȡ|ᵈ|d=letter D
 
|E|ᴱ|É|È|Ĕ|Ê|Ế|Ề|Ễ|Ê̄|Ê̌|Ể|Ě|Ë|Ẽ|Ė|Ė́|Ė̃|Ȩ|Ḝ|Ę|Ę́|Ę̃|Ē|Ḗ|Ḕ|Ẻ|Ȅ|Ȇ|Ẹ|Ệ|Ḙ|Ḛ|Ɇ|Ǝ|ᴲ|E̩|È̩|É̩|E|ᴇ|ⱻ|ꬳ|ꬲ|ɘ|ꬴ|ᶒ|ⱸ|Ɛ|ᵋ|Ɜ|ᶟ|ᵌ|ᶓ|ɝ|ᶔ|ᴈ|ʚ|ɞ|ᵉ|ₑ|e=letter E
 
|E|ᴱ|É|È|Ĕ|Ê|Ế|Ề|Ễ|Ê̄|Ê̌|Ể|Ě|Ë|Ẽ|Ė|Ė́|Ė̃|Ȩ|Ḝ|Ę|Ę́|Ę̃|Ē|Ḗ|Ḕ|Ẻ|Ȅ|Ȇ|Ẹ|Ệ|Ḙ|Ḛ|Ɇ|Ǝ|ᴲ|E̩|È̩|É̩|E|ᴇ|ⱻ|ꬳ|ꬲ|ɘ|ꬴ|ᶒ|ⱸ|Ɛ|ᵋ|Ɜ|ᶟ|ᵌ|ᶓ|ɝ|ᶔ|ᴈ|ʚ|ɞ|ᵉ|ₑ|e=letter E
Line 8: Line 8:
 
|G|ᴳ|Ǵ|Ğ|Ĝ|Ǧ|Ġ|Ģ|Ḡ|G̃|Ǥ|Ɠ|Ꞡ|Ᵹ|Ɡ|Ꝿ|G|ɢ|ʛ|ꬶ|ᶃ|ᵷ|ᵍ|ᶢ|g=letter G
 
|G|ᴳ|Ǵ|Ğ|Ĝ|Ǧ|Ġ|Ģ|Ḡ|G̃|Ǥ|Ɠ|Ꞡ|Ᵹ|Ɡ|Ꝿ|G|ɢ|ʛ|ꬶ|ᶃ|ᵷ|ᵍ|ᶢ|g=letter G
 
|H|ᴴ|Ĥ|Ȟ|Ḧ|Ḣ|Ḩ|Ḥ|Ɦ|Ⱶ|H̱|ʜ|Ḫ|ẖ|Ħ|ꟸ|Ⱨ|Ɥ|H|ꞕ|ʮ|ʯ|ʰ|ʱ|ᶣ|ₕ|h=letter H
 
|H|ᴴ|Ĥ|Ȟ|Ḧ|Ḣ|Ḩ|Ḥ|Ɦ|Ⱶ|H̱|ʜ|Ḫ|ẖ|Ħ|ꟸ|Ⱨ|Ɥ|H|ꞕ|ʮ|ʯ|ʰ|ʱ|ᶣ|ₕ|h=letter H
|I|ᴵ|Í|Ì|Ĭ|Î|Ǐ|Ï|Ḯ|Ĩ|Į|Ī|Ỉ|Ȉ|Ȋ|Ị|Ḭ|Ɪ|ꟾ|ꟷ|Ɨ|ᵻ|I|ᶦ|ᶧ|ᶖ|Dotted and dotless I|İ|ı|ᴉ|ᵎ|ᶤ|i̇̀|i̇́|i̇̃|Ī̀|Į́|Į̃|į̇́|į̇̃|ⁱ|ᵢ|i=letter I
+
|I|ᴵ|Í|Ì|Ĭ|Î|Ǐ|Ï|Ḯ|Ĩ|Į|Ī|Ỉ|Ȉ|Ȋ|Ị|Ḭ|Ɪ|ꟾ|ꟷ|Ɨ|ᵻ|I|ᶦ|ᶧ|ᶖ|Dotted and dotless I|İ|ı|ᴉ|ᵎ|ᶤ|i̇̀|i̇́|i̇̃|Ī̀|Į́|Į̃|į̇́|į̇̃|ⁱ|ᵢ|Ꞽ|i=letter I
 
|J|ᴶ|Ĵ|ǰ|ȷ|Ɉ|ᴊ|Ʝ|J̃|j̇̃|J̌|J|ʝ|ᶨ|ɟ|ᶡ|ʄ|ʲ|ⱼ|j=letter J
 
|J|ᴶ|Ĵ|ǰ|ȷ|Ɉ|ᴊ|Ʝ|J̃|j̇̃|J̌|J|ʝ|ᶨ|ɟ|ᶡ|ʄ|ʲ|ⱼ|j=letter J
 
|K|K|ᴷ|Ḱ|Ǩ|Ķ|Ḳ|Ḵ|Ƙ|Ⱪ|ᶄ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|Ʞ|K|ᴋ|ᵏ|ₖ|k=letter K
 
|K|K|ᴷ|Ḱ|Ǩ|Ķ|Ḳ|Ḵ|Ƙ|Ⱪ|ᶄ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|Ʞ|K|ᴋ|ᵏ|ₖ|k=letter K
Line 18: Line 18:
 
|Q|Ꝙ|Ꝗ|Ɋ|Ƣ|Q|ꞯ|ʠ|q=letter Q
 
|Q|Ꝙ|Ꝗ|Ɋ|Ƣ|Q|ꞯ|ʠ|q=letter Q
 
|R|ᴿ|Ŕ|Ř|Ṙ|Ŗ|Ȑ|Ȓ|Ṛ|Ṝ|Ṟ|Ɍ|Ɽ|R̃|Ꞃ|Ꝛ|Ʀ|Ꞧ|R|ʁ|ʶ|ꭆ|ᴙ|ᴚ|ꭉ|ᵲ|ᶉ|ɼ|ɽ|ɾ|ᵳ|ꭇ|ɿ|ꭋ|ꭌ|ꭅ|ꭈ|ꭊ|ɹ|ʴ|ɺ|ⱹ|ɻ|ʵ|ʳ|ᵣ|r=letter R
 
|R|ᴿ|Ŕ|Ř|Ṙ|Ŗ|Ȑ|Ȓ|Ṛ|Ṝ|Ṟ|Ɍ|Ɽ|R̃|Ꞃ|Ꝛ|Ʀ|Ꞧ|R|ʁ|ʶ|ꭆ|ᴙ|ᴚ|ꭉ|ᵲ|ᶉ|ɼ|ɽ|ɾ|ᵳ|ꭇ|ɿ|ꭋ|ꭌ|ꭅ|ꭈ|ꭊ|ɹ|ʴ|ɺ|ⱹ|ɻ|ʵ|ʳ|ᵣ|r=letter R
|S|Ś|Ṥ|Ŝ|Š|Ṧ|Ṡ|Ş|Ṣ|Ṩ|Ș|S̩|Ꞅ|Ꞩ|Ȿ|S|ẞ|ß|ꜱ|ẜ|ẝ|ſ|ᵴ|ᶊ|ʂ|ᶳ|ȿ|ˢ|ₛ|s=letter S
+
|S|Ś|Ṥ|Ŝ|Š|Ṧ|Ṡ|Ş|Ṣ|Ṩ|Ș|S̩|Ꞅ|Ꞩ|Ȿ|S|ẞ|ß|ꜱ|ẜ|ẝ|ſ|ᵴ|ᶊ|ʂ|Ʂ|ᶳ|ȿ|ˢ|ₛ|s=letter S
 
|T|ᵀ|Ť|Ṫ|Ţ|Ṭ|Ț|Ṱ|Ṯ|Ŧ|Ⱦ|Ƭ|Ʈ|T̈|Ꞇ|Ʇ|T|ᴛ|ẗ|ᵵ|ƫ|ᶵ|ȶ|ᵗ|ₜ|t=letter T
 
|T|ᵀ|Ť|Ṫ|Ţ|Ṭ|Ț|Ṱ|Ṯ|Ŧ|Ⱦ|Ƭ|Ʈ|T̈|Ꞇ|Ʇ|T|ᴛ|ẗ|ᵵ|ƫ|ᶵ|ȶ|ᵗ|ₜ|t=letter T
|U|ᵁ|Ú|Ù|Ŭ|Û|Ǔ|Ů|Ü|Ǘ|Ǜ|Ǚ|Ǖ|Ű|Ũ|Ṹ|Ų|Ū|Ṻ|Ủ|Ȕ|Ȗ|Ư|Ứ|Ừ|Ữ|Ử|Ự|Ụ|Ṳ|Ṷ|Ṵ|Ū̀|Ū́|Ū̃|Ų́|Ų̃|Ʉ|Ꞹ|U|ᶸ|ᵾ|ᶶ|ꭟ|ᶙ|ᴜ|ᴞ|ᴝ|ᵙ|ꭏ|ꭒ|ꭎ|ᵘ|ᵤ|u=letter U
+
|U|ᵁ|Ú|Ù|Ŭ|Û|Ǔ|Ů|Ü|Ǘ|Ǜ|Ǚ|Ǖ|Ű|Ũ|Ṹ|Ų|Ū|Ṻ|Ủ|Ȕ|Ȗ|Ư|Ứ|Ừ|Ữ|Ử|Ự|Ụ|Ṳ|Ṷ|Ṵ|Ū̀|Ū́|Ū̃|Ų́|Ų̃|Ʉ|Ꞹ|U|Ꞿ|ᶸ|ᵾ|ᶶ|ꭟ|ᶙ|ᴜ|ᴞ|ᴝ|ᵙ|ꭏ|ꭒ|ꭎ|ᵘ|ᵤ|u=letter U
 
|V|ⱽ|Ṽ|Ṿ|Ʋ|ᶹ|Ỽ|Ꝟ|V|ᶌ|ⱱ|ⱴ|Ʌ|ᴠ|ʌ̀|ʌ́|ᶺ|ᵛ|ᵥ|v=letter V
 
|V|ⱽ|Ṽ|Ṿ|Ʋ|ᶹ|Ỽ|Ꝟ|V|ᶌ|ⱱ|ⱴ|Ʌ|ᴠ|ʌ̀|ʌ́|ᶺ|ᵛ|ᵥ|v=letter V
|W|ᵂ|Ẃ|Ẁ|Ŵ|Ẅ|Ẇ|Ẉ|W̊|ẘ|Ⱳ|W|ᴡ|ʍ|ʷ|w=letter W
+
|W|ᵂ|Ẃ|Ẁ|Ŵ|Ẅ|Ẇ|Ẉ|W̊|ẘ|Ⱳ|W|Ꟃ|ᴡ|ʍ|ʷ|w=letter W
 
|X|Ẍ|Ẋ|X́|X̂|X̌|X̣|X̧|X̱|X|ꭗ|ꭘ|ꭙ|ꭖ|ᶍ|ˣ|ₓ|x=letter X
 
|X|Ẍ|Ẋ|X́|X̂|X̌|X̣|X̧|X̱|X|ꭗ|ꭘ|ꭙ|ꭖ|ᶍ|ˣ|ₓ|x=letter X
 
|Y|Ý|Ỳ|Ŷ|Ÿ|Ỹ|Ẏ|Ȳ|Ỷ|Ỵ|Ɏ|Ƴ|Ỿ|Y̊|ẙ|Y|ʏ|ꭚ|ʎ|ʸ|y=letter Y
 
|Y|Ý|Ỳ|Ŷ|Ÿ|Ỹ|Ẏ|Ȳ|Ỷ|Ỵ|Ɏ|Ƴ|Ỿ|Y̊|ẙ|Y|ʏ|ꭚ|ʎ|ʸ|y=letter Y
|Z|Ź|Ẑ|Ž|Ż|Ẓ|Ẕ|Ƶ|Ȥ|Ⱬ|Ɀ|ɀ|Ꝣ|Z|ᵶ|ᶎ|ʐ|ᶼ|ʑ|ᶽ|ᴢ|ᶻ|z=letter Z
+
|Z|Ź|Ẑ|Ž|Ż|Ẓ|Ẕ|Ƶ|Ȥ|Ⱬ|Ɀ|ɀ|Ꝣ|Z|ᵶ|ᶎ|Ᶎ|ʐ|ᶼ|ʑ|ᶽ|ᴢ|ᶻ|z=letter Z
 
|Æ|ᴭ|ᴁ|æ|ᵆ|ᴂ|Ǣ|ǣ|Ǽ|ǽ|æ̀=letter Æ
 
|Æ|ᴭ|ᴁ|æ|ᵆ|ᴂ|Ǣ|ǣ|Ǽ|ǽ|æ̀=letter Æ
 
|#default=<!-- letter not found in switch list -->
 
|#default=<!-- letter not found in switch list -->

Revision as of 05:27, 7 March 2019

50px Template documentation[view] [edit] [history] [purge]

Usage

Basic examples

  • Input parameter #1: À, single letter: {{Latin script|À}}

Adding the block "Letter X with diacritics"

  • When the parameter is "A" (or À: with or without diacritics), the block is added "Letter A with diacritics"
  • {{Latin script|A}}

Adding the block "Letters with diacritic ^"

  • When the parameter has a diacritic e.g. Â, the block "All letters with diacritic ^ (circumflex)" is shown.
  • When the parameter "show diacritic=" is set, that block will show: {{Latin script|A|show diacritic=grave}}
  • {{Latin script|A|show diacritic=circumflex}}

Adding the block "Pairs with Letter X"

  • When the parameter is a straight letter A-Z, the block with letter pairs is shown.
  • When the parameter show pairs=yes/no is set, the pairs will show/hide accordingly:

{{Latin script|À|show pairs=yes}}

More options

  • When the parameter show diacritic 2= is used, a second block of diacritics will be shown:
  • {{Latin script|A|show diacritic=grave|show diacritic 2=circumflex}}

Parameter list

The full parameter list:

{{Latin script
|
| show diacritic =
| show diacritic 2 =
| show letter = 
| show pairs = 
}}

Input options are:

First, unnamed parameter: (default: the PAGENAME). The input where information is derived from: which basic A-Z letter, which diacritic is used?
show diacritic: (default: derived from first parameter). Which diacritic is shown: acute, hook, ... Also: if set to show diacritic=no the diacritic blok will not be shown at all.
show diacritic 2: Allows for the block of a second diacritic being shown.
show letter: (default: determined from input 1). Sets which block "Letter X with diacritics" is shown. Also: if set to show letter=no the diacritic blok will not be shown at all.
show pairs: (default:yes if input 1 = A-Z). If set to "yes", all pairs with basic input 1-letter are shown.

Editing the template

Technical background

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Latin script

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Letter/Diacritic1

The input where information is derived from: which basic A-Z letter, which diacritic is used?

Default
Defaults to ((PAGENAME))
Auto value
Stringsuggested
Diactriticshow diacritic

Which diacritic is shown: acute, hook, ... Also: if set to show diacritic=no the diacritic block will not be shown at all.

Default
This parameter defaults to the first parameter.
Stringoptional
2nd Diacriticshow diacritic 2

Allows for the block of a second diacritic being shown.

Stringoptional
Lettershow letter

Sets which block "Letter X with diacritics" is shown. Also: if set to show letter=no the diacritic block will not be shown at all.

Default
This parameter defaults to the first parameter.
Stringoptional
Pairsshow pairs

If set to "yes", all pairs with basic input 1-letter are shown.

Default
This parameter defaults to "yes" if input 1 = A-Z
Booleanoptional

See also