Difference between revisions of "Template:Latin script/determine diacritic"
Jump to navigation
Jump to search
imported>Drmccreedy (Unicode 12.0 release) |
imported>Drmccreedy (Unicode 13.0 additions) |
||
| Line 20: | Line 20: | ||
|ᶏ|ᶐ|ᶒ|ᶓ|ᶔ|ᶖ|ɭ|ᶩ|ɳ|ᶯ|ᶗ|Ʈ|ᶙ|ʐ|ᶼ|ᶕ|ᶘ|ᶚ|retroflex hook=retroflex hook | |ᶏ|ᶐ|ᶒ|ᶓ|ᶔ|ᶖ|ɭ|ᶩ|ɳ|ᶯ|ᶗ|Ʈ|ᶙ|ʐ|ᶼ|ᶕ|ᶘ|ᶚ|retroflex hook=retroflex hook | ||
|Å|Ḁ|ẚ|ꬹ|ⱺ|Ů|W̊|ẘ|ꭖ|ꭘ|Y̊|ẙ|ꭔ|ring=ring | |Å|Ḁ|ẚ|ꬹ|ⱺ|Ů|W̊|ẘ|ꭖ|ꭘ|Y̊|ẙ|ꭔ|ring=ring | ||
| − | |Ⱥ|ꬰ|Ƀ|ᴃ|ᴯ|Ƃ|Ȼ|Ꞓ|Đ|Ƌ|Ɇ|ꬳ|Ꞙ|Ǥ|Ꞡ|Ħ|ꟸ|Ɨ|ᵻ|ᶤ|ᶧ|Ɉ|ɟ|ʄ|ᶡ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|Ł|Ƚ|ᴌ|Ⱡ|Ꝉ|Ꞥ|Ø|Ɵ|ᴓ|ᶱ|Ꝋ|ꬾ|ꬿ|Ᵽ|Ꝑ|Ꝗ|Ꝙ|Ɍ|Ꞧ|ẜ|ẝ|Ꞩ|Ŧ|Ⱦ|Ꞹ|Ʉ|ᵾ|ᶶ|ꭏ|Ꝟ|Ɏ|Ƶ|ƛ|ƻ|ƾ|ʡ|ʢ|ᵺ|ᵼ|ᵿ|Ꜻ|Ꝥ|Ꝧ|ꭁ|ꭂ|ꭄ|bar|stroke=stroke | + | |Ⱥ|ꬰ|Ƀ|ᴃ|ᴯ|Ƃ|Ȼ|Ꞓ|Đ|Ꟈ|Ƌ|Ɇ|ꬳ|Ꞙ|Ǥ|Ꞡ|Ħ|ꟸ|Ɨ|ᵻ|ᶤ|ᶧ|Ɉ|ɟ|ʄ|ᶡ|Ꝁ|Ꝃ|Ꝅ|Ꞣ|Ł|Ƚ|ᴌ|Ⱡ|Ꝉ|Ꞥ|Ø|Ɵ|ᴓ|ᶱ|Ꝋ|ꬾ|ꬿ|Ᵽ|Ꝑ|Ꝗ|Ꝙ|Ɍ|Ꞧ|ẜ|ẝ|Ꞩ|Ꟊ|Ŧ|Ⱦ|Ꞹ|Ʉ|ᵾ|ᶶ|ꭏ|Ꝟ|Ɏ|Ƶ|ƛ|ƻ|ƾ|ʡ|ʢ|ᵺ|ᵼ|ᵿ|Ꜻ|Ꝥ|Ꝧ|ꭁ|ꭂ|ꭄ|bar|stroke=stroke |
| − | |Ã|ᵬ|ᵭ|Ḛ|Ẽ|ᵮ|G̃|i̇̃|Ĩ|Ḭ|J̃|j̇̃|L̃|Ɫ|ꬸ|ꭞ|M̃|ᵯ|Ñ|ᵰ|Õ|P̃|ᵱ|R̃|ᵲ|ᵳ|ᵴ|ᵵ|Ũ|Ṵ|Ṽ|Ỹ|ᵶ|tilde=tilde | + | |Ã|ᵬ|ᵭ|Ḛ|Ẽ|ᵮ|G̃|i̇̃|Ĩ|Ḭ|J̃|j̇̃|L̃|Ɫ|ꬸ|ꭞ|M̃|ᵯ|Ñ|ᵰ|Õ|P̃|ᵱ|R̃|ᵲ|ᵳ|ꭨ|ᵴ|ᵵ|Ũ|Ṵ|Ṽ|Ỹ|ᵶ|tilde=tilde |
|#default=<!-- blank: no diacritic detected --> | |#default=<!-- blank: no diacritic detected --> | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation|Template:Latin script/doc}} | {{documentation|Template:Latin script/doc}} | ||
</noinclude> | </noinclude> | ||
Revision as of 20:34, 17 March 2020
Contents
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/nois 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=nothe 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=nothe 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
- Technical: all /subpages
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Letter/Diacritic | 1 | The input where information is derived from: which basic A-Z letter, which diacritic is used?
| String | suggested |
| Diactritic | show diacritic | Which diacritic is shown: acute, hook, ... Also: if set to show diacritic=no the diacritic block will not be shown at all.
| String | optional |
| 2nd Diacritic | show diacritic 2 | Allows for the block of a second diacritic being shown. | String | optional |
| Letter | show 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.
| String | optional |
| Pairs | show pairs | If set to "yes", all pairs with basic input 1-letter are shown.
| Boolean | optional |
See also
- Template:Latin script(edit talk links history)
- Template:Latin alphabet sidebar(edit talk links history)
| The above documentation is transcluded from Template:Latin script/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |