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

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
imported>Drmccreedy
(Add missing letters)
Line 1: Line 1:
 
{{#switch:{{{1}}}
 
{{#switch:{{{1}}}
|A|Á|À|Ă|Ắ|Ằ|Ẵ|Ẳ|Â|Ấ|Ầ|Ẫ|Ẩ|Ǎ|Å|Ǻ|Ä|Ǟ|Ã|Ȧ|Ǡ|Ą|Ā|Ả|Ȁ|Ȃ|Ạ|Ặ|Ậ|Ḁ|Ⱥ|ᶏ|a=letter A
+
|A|Á|À|Ă|Ắ|Ằ|Ẵ|Ẳ|Â|Ấ|Ầ|Ẫ|Ẩ|Ǎ|Å|Ǻ|Ä|Ǟ|Ã|Ȧ|Ǡ|Ą|Ā|Ả|Ȁ|Ȃ|Ạ|Ặ|Ậ|Ḁ|Ⱥ|ᴀ|ᶏ|ẚ|a=letter A
|B|Ḃ|Ḅ|Ḇ|Ƀ|Ɓ|Ƃ|ᵬ|ᶀ|Ꞗ|ꞗ|b=letter B
+
|B|Ḃ|Ḅ|Ḇ|Ƀ|Ɓ|Ƃ|ᵬ|ʙ|ᴃ|ᶀ|Ꞗ|ꞗ|b=letter B
|C|Ć|Ĉ|Č|Ċ|Ç|Ḉ|Ȼ|Ƈ|ɕ|c=letter C
+
|C|Ć|Ĉ|Č|Ċ|Ç|Ḉ|Ȼ|Ƈ|Ꞓ|Ꜿ|Ↄ|ᴄ|ʗ|ꞔ|ɕ|c=letter C
|D|Ď|Ḋ|Ḑ|Ḍ|Ḓ|Ḏ|Đ|Ɖ|Ɗ|Ƌ|ᵭ|ᶁ|ᶑ|ȡ|d=letter D
+
|D|Ď|Ḋ|Ḑ|Ḍ|Ḓ|Ḏ|Đ|Ɖ|Ɗ|Ƌ|Ꝺ|ᴅ|ᵭ|ᶁ|ᶑ|ȡ|d=letter D
|E|É|È|Ĕ|Ê|Ế|Ề|Ễ|Ể|Ě|Ë|Ẽ|Ė|Ȩ|Ḝ|Ę|Ē|Ḗ|Ḕ|Ẻ|Ȅ|Ȇ|Ẹ|Ệ|Ḙ|Ḛ|Ɇ|ᶒ|ⱸ|e=letter E
+
|E|É|È|Ĕ|Ê|Ế|Ề|Ễ|Ể|Ě|Ë|Ẽ|Ė|Ȩ|Ḝ|Ę|Ē|Ḗ|Ḕ|Ẻ|Ȅ|Ȇ|Ẹ|Ệ|Ḙ|Ḛ|Ɇ|Ǝ|ᴇ|ⱻ|ꬳ|ꬲ|ɘ|ꬴ|ᶒ|ⱸ|e=letter E
|F|Ḟ|Ƒ|ᵮ|ᶂ|f=letter F
+
|F|Ḟ|Ƒ|Ꞙ|Ꝼ|ꟻ|Ⅎ|ꜰ|ꬵ|ᵮ|ᶂ|f=letter F
|G|Ǵ|Ğ|Ĝ|Ǧ|Ġ|Ģ|Ḡ|Ǥ|Ɠ|ᶃ|g=letter G
+
|G|Ǵ|Ğ|Ĝ|Ǧ|Ġ|Ģ|Ḡ|Ǥ|Ɠ|Ꞡ|Ᵹ|Ɡ|Ꝿ|ɢ|ʛ|ꬶ|ᶃ|g=letter G
|H|Ĥ|Ȟ|Ḧ|Ḣ|Ḩ|Ḥ|Ḫ|ẖ|Ħ|Ⱨ|h=letter H
+
|H|Ĥ|Ȟ|Ḧ|Ḣ|Ḩ|Ḥ|Ɦ|Ⱶ|H̱|ʜ|Ḫ|ẖ|Ħ|Ⱨ|ꞕ|h=letter H
|I|Í|Ì|Ĭ|Î|Ǐ|Ï|Ḯ|Ĩ|Į|Ī|Ỉ|Ȉ|Ȋ|Ị|Ḭ|Ɨ|ᵻ|ᶖ|Turkish dotted and dotless I|İ|ı|i|ꟾ=letter I
+
|I|Í|Ì|Ĭ|Î|Ǐ|Ï|Ḯ|Ĩ|Į|Ī|Ỉ|Ȉ|Ȋ|Ị|Ḭ|Ɪ|ꟾ|ꟷ|Ɨ|ᵻ|ᶖ|Turkish dotted and dotless I|İ|ı|i=letter I
|J|Ĵ|ǰ|ȷ|Ɉ|ʝ|ɟ|ʄ|j=letter J
+
|J|Ĵ|ǰ|ȷ|Ɉ|ᴊ|Ʝ|J̌|ʝ|ɟ|ʄ|j=letter J
|K|Ḱ|Ǩ|Ķ|Ḳ|Ḵ|Ƙ|Ⱪ|ᶄ|Ꝁ|k=letter K
+
|K|Ḱ|Ǩ|Ķ|Ḳ|Ḵ|Ƙ|Ⱪ|ᶄ|Ꝁ|Ꝃ|Ꝅ|ᴋ|k=letter K
|L|Ĺ|Ľ|Ļ|Ḷ|Ḹ|Ḽ|Ḻ|Ł|Ŀ|Ƚ|Ⱡ|Ɫ|ɬ|ᶅ|ɭ|ȴ|l=letter L
+
|L|Ĺ|Ľ|Ļ|Ḷ|Ḹ|Ḽ|Ḻ|Ł|Ŀ|Ƚ|Ⱡ|Ɫ|Ꝇ|Ɬ|Ꝉ|ʟ|ᴌ|ꬸ|ꬷ|ꬹ|ꞎ|ɬ|ᶅ|ɭ|ȴ|l=letter L
|M|Ḿ|Ṁ|Ṃ|ᵯ|ᶆ|Ɱ|m=letter M
+
|M|Ḿ|Ṁ|Ṃ|ꟿ|ꟽ|ᴍ|ꟺ|ᴟ|ꬺ|ᵯ|ᶆ|Ɱ|m=letter M
|N|Ń|Ǹ|Ň|Ñ|Ṅ|Ņ|Ṇ|Ṋ|Ṉ|N̈|Ɲ|Ƞ|Eng (letter)|ᵰ|ᶇ|ɳ|ȵ|n=letter N
+
|N|Ń|Ǹ|Ň|Ñ|Ṅ|Ņ|Ṇ|Ṋ|Ṉ|N̈|Ɲ|Ꞑ|Eng (letter)|ɴ|ᴎ|ꬼ|ʼn|ꬻ|ᵰ|ᶇ|ɳ|ȵ|n=letter N
|O|Ó|Ò|Ŏ|Ô|Ố|Ồ|Ỗ|Ổ|Ǒ|Ö|Ȫ|Ő|Õ|Ṍ|Ṏ|Ȭ|Ȯ|O͘|Ȱ|Ø|Ǿ|Ǫ|Ǭ|Ō|Ṓ|Ṑ|Ỏ|Ȍ|Ȏ|Ơ|Ớ|Ờ|Ỡ|Ở|Ợ|Ọ|Ộ|Ɵ|Ɔ|ⱺ|o=letter O
+
|O|Ó|Ò|Ŏ|Ô|Ố|Ồ|Ỗ|Ổ|Ǒ|Ö|Ȫ|Ő|Õ|Ṍ|Ṏ|Ȭ|Ȯ|O͘|Ȱ|Ø|Ǿ|Ǫ|Ǭ|Ō|Ṓ|Ṑ|Ỏ|Ȍ|Ȏ|Ơ|Ớ|Ờ|Ỡ|Ở|Ợ|Ọ|Ộ|Ɵ|Ꝍ|ᴏ|ꬽ|ꬾ|ᴗ|ᴖ|ᴑ|ᴓ|ᴐ|ᶗ|ꬿ|ᴒ|ⱺ|o=letter O
|P|Ṕ|Ṗ|Ᵽ|Ƥ|P̃|ᵱ|ᶈ|p=letter P
+
|P|Ṕ|Ṗ|Ᵽ|Ƥ|Ꝓ|Ꝕ|Ꝑ|ꟼ|ᴘ|P̃|ᵱ|ᶈ|p=letter P
|Q|Ɋ|ʠ|q=letter Q
+
|Q|Ꝙ|Ꝗ|Ɋ|ʠ|q=letter Q
|R|Ŕ|Ř|Ṙ|Ŗ|Ȑ|Ȓ|Ṛ|Ṝ|Ṟ|Ɍ|Ɽ|ᵲ|ᶉ|ɼ|ɽ|ɾ|ᵳ|r=letter R
+
|R|Ŕ|Ř|Ṙ|Ŗ|Ȑ|Ȓ|Ṛ|Ṝ|Ṟ|Ɍ|Ɽ|Ꞃ|Ꝛ|ʁ|ꭆ|ᴙ|ᴚ|ꭉ|ᵲ|ᶉ|ɼ|ɽ|ɾ|ᵳ|ꭇ|ɿ|ꭋ|ꭌ|ꭅ|r=letter R
|S|Ś|Ṥ|Ŝ|Š|Ṧ|Ṡ|Ş|Ṣ|Ṩ|Ș|S̩|ᵴ|ᶊ|ʂ|ȿ|s=letter S
+
|S|Ś|Ṥ|Ŝ|Š|Ṧ|Ṡ|Ş|Ṣ|Ṩ|Ș|S̩|Ꞅ|Ꞩ|Ȿ|ꜱ|ẜ|ẝ|ſ|ᵴ|ᶊ|ʂ|ȿ|s=letter S
|T|Ť|Ṫ|Ţ|Ṭ|Ț|Ṱ|Ṯ|Ŧ|Ⱦ|Ƭ|Ʈ|T̈|ẗ|ᵵ|ƫ|ȶ|t=letter T
+
|T|Ť|Ṫ|Ţ|Ṭ|Ț|Ṱ|Ṯ|Ŧ|Ⱦ|Ƭ|Ʈ|T̈|Ꞇ|ᴛ|ẗ|ᵵ|ƫ|ȶ|t=letter T
|U|Ú|Ù|Ŭ|Û|Ǔ|Ů|Ü|Ǘ|Ǜ|Ǚ|Ǖ|Ű|Ũ|Ṹ|Ų|Ū|Ṻ|Ủ|Ȕ|Ȗ|Ư|Ứ|Ừ|Ữ|Ử|Ự|Ụ|Ṳ|Ṷ|Ṵ|Ʉ|ᵾ|ᶙ|u=letter U
+
|U|Ú|Ù|Ŭ|Û|Ǔ|Ů|Ü|Ǘ|Ǜ|Ǚ|Ǖ|Ű|Ũ|Ṹ|Ų|Ū|Ṻ|Ủ|Ȕ|Ȗ|Ư|Ứ|Ừ|Ữ|Ử|Ự|Ụ|Ṳ|Ṷ|Ṵ|Ʉ|ᵾ|ᶙ|ᴜ|ᴞ|ᴝ|ꭏ|ꭒ|ꭎ|u=letter U
|V|Ṽ|Ṿ|Ʋ|ᶌ|ⱱ|ⱴ|v=letter V
+
|V|Ṽ|Ṿ|Ʋ|Ỽ|Ꝟ|ᶌ|ⱱ|ⱴ|ᴠ|v=letter V
|W|Ẃ|Ẁ|Ŵ|Ẅ|Ẇ|Ẉ|W̊|ẘ|Ⱳ|w=letter W
+
|W|Ẃ|Ẁ|Ŵ|Ẅ|Ẇ|Ẉ|W̊|ẘ|Ⱳ|ᴡ|w=letter W
|X|Ẍ|Ẋ|ᶍ|x=letter X
+
|X|Ẍ|Ẋ|ꭗ|ꭘ|ꭙ|ꭖ|ᶍ|x=letter X
|Y|Ý|Ỳ|Ŷ|Ÿ|Ỹ|Ẏ|Ȳ|Ỷ|Ỵ|Ɏ|Ƴ|Y̊|ẙ|ʏ|y=letter Y
+
|Y|Ý|Ỳ|Ŷ|Ÿ|Ỹ|Ẏ|Ȳ|Ỷ|Ỵ|Ɏ|Ƴ|Ỿ|Y̊|ẙ|ʏ|ꭚ|y=letter Y
|Z|Ź|Ẑ|Ž|Ż|Ẓ|Ẕ|Ƶ|Ȥ|Ⱬ|ᵶ|ᶎ|ʐ|ʑ|ɀ|z=letter Z
+
|Z|Ź|Ẑ|Ž|Ż|Ẓ|Ẕ|Ƶ|Ȥ|Ⱬ|Ꝣ|ᵶ|ᶎ|ʐ|ʑ|Ɀ|ᴢ|z=letter Z
|Æ|æ|Ǣ|ǣ|Ǽ|ǽ=letter Æ
+
|ᴁ|ᴂ|Ǣ|ǣ|Ǽ|ǽ=letter Æ
 
|#default=<!-- letter not found in switch list -->
 
|#default=<!-- letter not found in switch list -->
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation|template:Latin alphabet/doc}}
 
{{documentation|template:Latin alphabet/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 21:29, 22 October 2016

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