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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
(letter X (lc first))
Line 1: Line 1:
 
{{#switch:{{{1|{{PAGENAME}}}}}
 
{{#switch:{{{1|{{PAGENAME}}}}}
|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=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=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=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
 
|#default=<!-- letter not found in switch list (possible error)-->
 
|#default=<!-- letter not found in switch list (possible error)-->
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation|template:Latin alphabet/doc}}
 
{{documentation|template:Latin alphabet/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 18:28, 26 July 2011

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