Template:Latin script/testcases diacritics
Appearance
(Redirected from Template:Latin alphabet/testcases diacritics)
This is the template test cases page for the sandbox of Template:Latin script. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
/diactritic determination
[edit]- (as of 2011-07-26))
|Á|Ǽ|Ć|É|Ǵ|Í|Ḱ|Ĺ|Ḿ|Ń|Ó|Ǿ|Ṕ|Ŕ|Ś|Ú|Ẃ|Ý|Ź|acute=acute |Ă|Ĕ|Ğ|Ĭ|Ŏ|Ŭ|breve=breve |Ǎ|Č|Ď|Ě|Ǧ|Ȟ|Ǐ|J̌|ǰ|Ǩ|Ľ|Ň|Ǒ|Ř|Š|Ť|Ǔ|Ž|Ǯ|caron=caron |Ç|Ḑ|Ȩ|Ģ|Ḩ|Ķ|Ļ|Ņ|Ŗ|Ş|Ţ|cedilla=cedilla |Â|Ĉ|Ê|Ĝ|Ĥ|Î|Ĵ|Ô|Ŝ|Û|Ŵ|Ŷ|Ẑ|circumflex=circumflex |Ș|Ț|comma=comma |Ä|Ë|Ḧ|Ï|Ö|T̈|ẗ|Ü|Ẅ|Ẍ|Ÿ|umlaut|diaeresis=diaeresis |dot=dot |Ȧ|Ḃ|Ċ|Ḋ|Ė|Ḟ|Ġ|Ḣ|İ|Ṁ|Ṅ|Ȯ|Ṗ|Ṙ|Ṡ|Ṫ|Ẇ|Ẋ|Ẏ|Ż|Dotted and dotless I|dot above=dot above |Ạ|Ḅ|Ḍ|Ẹ|Ḥ (disambiguation){{!}}Ḥ|Ị|Ḳ|Ḷ|Ṃ|Ṇ|Ọ|Ṛ|Ṣ|Ṭ|Ụ|Ṿ|Ẉ|Ỵ|Ẓ|dot below=dot below |Ő|Ű|double acute=double acute |À|È|Ì|Ǹ|Ò|Ù|Ẁ|Ỳ|grave=grave |Ɓ|Ƈ|Ɗ|Ƒ|Ɠ|ɦ|Ƙ|Ɱ|Ƥ|ʠ|ʂ|Ƭ|Ʋ|Ⱳ|Ƴ|hook=hook |Ơ|Ư|horn=horn |Ā|Ē|Ḡ|Ī|Ō|Ū|Ȳ|Ǣ|macron=macron |Ą|Ą̈|Ę|Į|Ǫ|Ǫ̈|Ų|ogonek=ogonek |ᶏ|ᶒ|ᶖ|ɭ|ɳ|Ʈ|ᶙ|ʐ|ᶚ|retroflex hook=retroflex hook |Å|Ů|W̊|ẘ|Y̊|ẙ|ring=ring |Ⱥ|Ƀ|Ȼ|Đ|Ɇ|Ǥ|Ħ|Ɨ|Ɉ|Ꝁ|Ł|Ø|Ᵽ|Ɍ|Ŧ|Ʉ|Ɏ|Ƶ|Ꝥ|bar|stroke=stroke |Ã|Ẽ|Ĩ|Ñ|Õ|P̃|Ũ|Ṽ|Ỹ|tilde=tilde |#default=<!--blank: no diacritic name found-->
Diacritics
[edit]Usage
[edit]Basic examples
[edit]- Input parameter #1: À, single letter:
{{Latin script|À}}
→
Adding the block "Letter X with diacritics"
[edit]- 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 ^"
[edit]- 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"
[edit]- 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
[edit]- 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
[edit]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
[edit]- Technical background
- Technical: all /subpages
Template data
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Latin script in articles based on its TemplateData.
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 |