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

From blackwiki
Jump to navigation Jump to search
imported>Drmccreedy
(Add missing characters)
imported>Drmccreedy
(add a few letters, move v with hook from u to v)
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
Line 10: Line 10:
 
|I|ᴵ|Í|Ì|Ĭ|Î|Ǐ|Ï|Ḯ|Ĩ|Į|Ī|Ỉ|Ȉ|Ȋ|Ị|Ḭ|Ɪ|ꟾ|ꟷ|Ɨ|ᵻ|I|ᶦ|ᶧ|ᶖ|Turkish dotted and dotless I|İ|ı|ᴉ|ᵎ|ᶤ|i̇̀|i̇́|i̇̃|Ī̀|Į́|Į̃|į̇́|į̇̃|ⁱ|ᵢ|i=letter I
 
|I|ᴵ|Í|Ì|Ĭ|Î|Ǐ|Ï|Ḯ|Ĩ|Į|Ī|Ỉ|Ȉ|Ȋ|Ị|Ḭ|Ɪ|ꟾ|ꟷ|Ɨ|ᵻ|I|ᶦ|ᶧ|ᶖ|Turkish 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
 
|L|ᴸ|Ĺ|Ľ|Ļ|Ḷ|Ḹ|Ḽ|Ḻ|Ł|Ŀ|Ƚ|Ⱡ|L̃|Ɫ|Ꝇ|Ɬ|Ꝉ|Ꞁ|L|ʟ|ᶫ|ᴌ|ꬸ|ꬷ|ꬹ|ꞎ|ɬ|ꬹ|ᶅ|ᶪ|ɭ|ᶩ|ȴ|ꭝ|ꭞ|ˡ|ₗ|l=letter L
 
|L|ᴸ|Ĺ|Ľ|Ļ|Ḷ|Ḹ|Ḽ|Ḻ|Ł|Ŀ|Ƚ|Ⱡ|L̃|Ɫ|Ꝇ|Ɬ|Ꝉ|Ꞁ|L|ʟ|ᶫ|ᴌ|ꬸ|ꬷ|ꬹ|ꞎ|ɬ|ꬹ|ᶅ|ᶪ|ɭ|ᶩ|ȴ|ꭝ|ꭞ|ˡ|ₗ|l=letter L
 
|M|ᴹ|Ḿ|Ṁ|Ṃ|M̃|ꟿ|ꟽ|Ɯ|Ɱ|M|ᴍ|ꟺ|ᵚ|ᶭ|ᴟ|ꬺ|ᵯ|ᶆ|ɰ|ᶬ|ᵐ|ₘ|m=letter M
 
|M|ᴹ|Ḿ|Ṁ|Ṃ|M̃|ꟿ|ꟽ|Ɯ|Ɱ|M|ᴍ|ꟺ|ᵚ|ᶭ|ᴟ|ꬺ|ᵯ|ᶆ|ɰ|ᶬ|ᵐ|ₘ|m=letter M
Line 19: Line 19:
 
|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

Revision as of 06:29, 1 February 2017

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