Difference between revisions of "Template:Latin script/diacritic with all letters"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 17: Line 17:
 
| diaeresis | umlaut={{Latin alphabet/row26col | title=Letters using [[Double dot (diacritic){{!}}umlaut or diaeresis]] sign| 2=◌̈}}
 
| diaeresis | umlaut={{Latin alphabet/row26col | title=Letters using [[Double dot (diacritic){{!}}umlaut or diaeresis]] sign| 2=◌̈}}
 
{{Latin alphabet/row26col | Ä{{!}}Ää |Ë{{!}}Ëë |Ḧ{{!}}Ḧḧ |Ï{{!}}Ï ï |N̈{{!}}N̈n̈ |Ö{{!}}Öö |ẗ{{!}}T̈ẗ |Ü{{!}}Üü |Ẅ{{!}}Ẅẅ |Ẍ{{!}}Ẍẍ |Ÿ{{!}}Ÿÿ| underlines=no}}
 
{{Latin alphabet/row26col | Ä{{!}}Ää |Ë{{!}}Ëë |Ḧ{{!}}Ḧḧ |Ï{{!}}Ï ï |N̈{{!}}N̈n̈ |Ö{{!}}Öö |ẗ{{!}}T̈ẗ |Ü{{!}}Üü |Ẅ{{!}}Ẅẅ |Ẍ{{!}}Ẍẍ |Ÿ{{!}}Ÿÿ| underlines=no}}
 +
| dot | dot above ={{Latin alphabet/row26col | title=Letters using [[Dot (diacritic){{!}}dot above]] sign | 2=◌̇}}
 +
{{Latin alphabet/row26col | Ȧ{{!}}Ȧȧ |Ḃ{{!}}Ḃḃ |Ċ{{!}}Ċċ |Ḋ{{!}}Ḋḋ |Ė{{!}}Ėė |Ḟ{{!}}Ḟḟ |Ġ{{!}}Ġġ |Ḣ{{!}}Ḣḣ |Turkish dotted and dotless I{{!}}İ ı |Ṁ{{!}}Ṁṁ |Ṅ{{!}}Ṅṅ |Ȯ{{!}}Ȯȯ |Ṗ{{!}}Ṗṗ |Ṙ{{!}}Ṙṙ |Ṡ{{!}}Ṡṡẛ |Ṫ{{!}}Ṫṫ |Ẇ{{!}}Ẇẇ |Ẋ{{!}}Ẋẋ |Ẏ{{!}}Ẏẏ |Ż{{!}}Żż| underlines=no}}
 +
| dot below = {{Latin alphabet/row26col | title=Letters using [[Dot (diacritic){{!}}dot below]] sign | 2=◌̣}}
 +
{{Latin alphabet/row26col | Ạ{{!}}Ạạ |Ḅ{{!}}Ḅḅ |Ḍ{{!}}Ḍḍ |Ẹ{{!}}Ẹẹ |Ḥ{{!}}Ḥḥ |Ị{{!}}Ị ị |Ḳ{{!}}Ḳḳ |Ḷ{{!}}Ḷḷ |Ṃ{{!}}Ṃṃ |Ṇ{{!}}Ṇṇ |Ọ{{!}}Ọọ |Ṛ{{!}}Ṛṛ |Ṣ{{!}}Ṣṣ |Ṭ{{!}}Ṭṭ |Ụ{{!}}Ụụ |Ṿ{{!}}Ṿṿ |Ẉ{{!}}Ẉẉ |Ỵ{{!}}Ỵỵ |Ẓ{{!}}Ẓẓ| underlines=no}}
 
| double acute={{Latin alphabet/row26col | title=Letters using [[Double acute accent{{!}}double acute]] sign | 2=◌̃}}
 
| double acute={{Latin alphabet/row26col | title=Letters using [[Double acute accent{{!}}double acute]] sign | 2=◌̃}}
 
{{Latin alphabet/row26col | Ő{{!}}Őő |Ű{{!}}Űű| underlines=no}}
 
{{Latin alphabet/row26col | Ő{{!}}Őő |Ű{{!}}Űű| underlines=no}}
Line 39: Line 43:
 
| tilde={{Latin alphabet/row26col | title=Letters using [[tilde]] sign | 2=◌̃}}
 
| tilde={{Latin alphabet/row26col | title=Letters using [[tilde]] sign | 2=◌̃}}
 
{{Latin alphabet/row26col | Ã{{!}}Ãã |Ẽ{{!}}Ẽẽ |Ĩ{{!}}Ĩ ĩ |Ñ{{!}}Ññ |Õ{{!}}Õõ |P̃{{!}}P̃p̃ |Ũ{{!}}Ũũ |Ṽ{{!}}Ṽṽ |Ỹ{{!}}Ỹỹ| underlines=no}}
 
{{Latin alphabet/row26col | Ã{{!}}Ãã |Ẽ{{!}}Ẽẽ |Ĩ{{!}}Ĩ ĩ |Ñ{{!}}Ññ |Õ{{!}}Õõ |P̃{{!}}P̃p̃ |Ũ{{!}}Ũũ |Ṽ{{!}}Ṽṽ |Ỹ{{!}}Ỹỹ| underlines=no}}
| dot | dot above | dot below={{Latin alphabet/row26col | title=Letters using [[Dot (diacritic){{!}}dot-above]] sign | 2=◌̇}}
+
 
{{Latin alphabet/row26col | Ȧ{{!}}Ȧȧ |Ḃ{{!}}Ḃḃ |Ċ{{!}}Ċċ |Ḋ{{!}}Ḋḋ |Ė{{!}}Ėė |Ḟ{{!}}Ḟḟ |Ġ{{!}}Ġġ |Ḣ{{!}}Ḣḣ |Turkish dotted and dotless I{{!}}İ ı |Ṁ{{!}}Ṁṁ |Ṅ{{!}}Ṅṅ |Ȯ{{!}}Ȯȯ |Ṗ{{!}}Ṗṗ |Ṙ{{!}}Ṙṙ |Ṡ{{!}}Ṡṡẛ |Ṫ{{!}}Ṫṫ |Ẇ{{!}}Ẇẇ |Ẋ{{!}}Ẋẋ |Ẏ{{!}}Ẏẏ |Ż{{!}}Żż| underlines=no}}
 
<!-- {{!}}- --><!-- 2nd diacritic-->
 
{{Latin alphabet/row26col | title=Letters using [[Dot (diacritic){{!}}dot-below]] sign | 2=&#x25CC;&#x0323;}}
 
{{Latin alphabet/row26col | Ạ{{!}}Ạạ |Ḅ{{!}}Ḅḅ |Ḍ{{!}}Ḍḍ |Ẹ{{!}}Ẹẹ |Ḥ{{!}}Ḥḥ |Ị{{!}}Ị&thinsp;ị |Ḳ{{!}}Ḳḳ |Ḷ{{!}}Ḷḷ |Ṃ{{!}}Ṃṃ |Ṇ{{!}}Ṇṇ |Ọ{{!}}Ọọ |Ṛ{{!}}Ṛṛ |Ṣ{{!}}Ṣṣ |Ṭ{{!}}Ṭṭ |Ụ{{!}}Ụụ |Ṿ{{!}}Ṿṿ |Ẉ{{!}}Ẉẉ |Ỵ{{!}}Ỵỵ |Ẓ{{!}}Ẓẓ| underlines=no}}
 
 
| #default=<!--nothing, input diacritic name not in this switch list (possible error)-->
 
| #default=<!--nothing, input diacritic name not in this switch list (possible error)-->
 
}}<!---end of switch list--><!--
 
}}<!---end of switch list--><!--

Revision as of 13:24, 28 July 2011

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