Difference between revisions of "Template:Latin script/testcases letters"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(add nowiki)
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
(testing show pairs=no or missing)
 
(testing show pairs=no or missing)
 
===A-M===
 
===A-M===
*{{Latin script/sandbox|A|A}}
+
{{Latin script/sandbox|A|A}}
*{{Latin script|A|A}}
+
{{Latin script|A|A}}
*{{Latin script/sandbox|B|}}
+
{{Latin script/sandbox|B|}}
*{{Latin script|B|}}
+
{{Latin script|B|}}
*{{Latin script/sandbox|C|}}
+
{{Latin script/sandbox|C|}}
*{{Latin script|C|}}
+
{{Latin script|C|}}
  
 
==nowiki==
 
==nowiki==
 
<nowiki>
 
<nowiki>
*{{Latin script/sandbox|D|}}
+
{{Latin script/sandbox|D|}}
*{{Latin script|D|}}
+
{{Latin script|D|}}
*{{Latin script/sandbox|E|}}
+
{{Latin script/sandbox|E|}}
*{{Latin script|E|}}
+
{{Latin script|E|}}
*{{Latin script/sandbox|F|}}
+
{{Latin script/sandbox|F|}}
*{{Latin script|F|}}
+
{{Latin script|F|}}
*{{Latin script/sandbox|G|}}
+
{{Latin script/sandbox|G|}}
*{{Latin script|G|}}
+
{{Latin script|G|}}
*{{Latin script/sandbox|H|}}
+
{{Latin script/sandbox|H|}}
*{{Latin script|H|}}
+
{{Latin script|H|}}
*{{Latin script/sandbox|I|}}
+
{{Latin script/sandbox|I|}}
*{{Latin script|I|}}
+
{{Latin script|I|}}
*{{Latin script/sandbox|J|}}
+
{{Latin script/sandbox|J|}}
*{{Latin script|J|}}
+
{{Latin script|J|}}
*{{Latin script/sandbox|K|}}
+
{{Latin script/sandbox|K|}}
*{{Latin script|K|}}
+
{{Latin script|K|}}
*{{Latin script/sandbox|L|}}
+
{{Latin script/sandbox|L|}}
*{{Latin script|L|}}
+
{{Latin script|L|}}
*{{Latin script/sandbox|M|}}
+
{{Latin script/sandbox|M|}}
*{{Latin script|M|}}
+
{{Latin script|M|}}
  
 
===N-Z===
 
===N-Z===
*{{Latin script/sandbox|N|}}
+
{{Latin script/sandbox|N|}}
*{{Latin script|N|}}
+
{{Latin script|N|}}
*{{Latin script/sandbox|O|}}
+
{{Latin script/sandbox|O|}}
*{{Latin script|O|}}
+
{{Latin script|O|}}
*{{Latin script/sandbox|P|}}
+
{{Latin script/sandbox|P|}}
*{{Latin script|P|}}
+
{{Latin script|P|}}
*{{Latin script/sandbox|Q|}}
+
{{Latin script/sandbox|Q|}}
*{{Latin script|Q|}}
+
{{Latin script|Q|}}
*{{Latin script/sandbox|R|}}
+
{{Latin script/sandbox|R|}}
*{{Latin script|R|}}
+
{{Latin script|R|}}
*{{Latin script/sandbox|S|}}
+
{{Latin script/sandbox|S|}}
*{{Latin script|S|}}
+
{{Latin script|S|}}
*{{Latin script/sandbox|T|}}
+
{{Latin script/sandbox|T|}}
*{{Latin script|T|}}
+
{{Latin script|T|}}
*{{Latin script/sandbox|U|}}
+
{{Latin script/sandbox|U|}}
*{{Latin script|U|}}
+
{{Latin script|U|}}
*{{Latin script/sandbox|V|}}
+
{{Latin script/sandbox|V|}}
*{{Latin script|V|}}
+
{{Latin script|V|}}
*{{Latin script/sandbox|W|}}
+
{{Latin script/sandbox|W|}}
*{{Latin script|W|}}
+
{{Latin script|W|}}
*{{Latin script/sandbox|X|}}
+
{{Latin script/sandbox|X|}}
*{{Latin script|X|}}
+
{{Latin script|X|}}
*{{Latin script/sandbox|Y|}}
+
{{Latin script/sandbox|Y|}}
*{{Latin script|Y|}}
+
{{Latin script|Y|}}
*{{Latin script/sandbox|Z|}}
+
{{Latin script/sandbox|Z|}}
*{{Latin script|Z|}}
+
{{Latin script|Z|}}
  
 
===botching===
 
===botching===
*{{Latin script/sandbox|x|}}
+
{{Latin script/sandbox|x|}}
*{{Latin script|x|}}
+
{{Latin script|x|}}
*{{Latin script/sandbox|@|}}
+
{{Latin script/sandbox|@|}}
*{{Latin script|@|}}
+
{{Latin script|@|}}
*{{Latin script/sandbox||}}
+
{{Latin script/sandbox||}}
*{{Latin script||}}
+
{{Latin script||}}
 +
</nowiki>
 
<noinclude>
 
<noinclude>
 
{{documentation|Template:Latin script/doc}}
 
{{documentation|Template:Latin script/doc}}
 
</noinclude>
 
</noinclude>

Latest revision as of 02:41, 24 February 2021

Letters

(testing show pairs=no or missing)

A-M

nowiki

{{Latin script/sandbox|D|}} {{Latin script|D|}} {{Latin script/sandbox|E|}} {{Latin script|E|}} {{Latin script/sandbox|F|}} {{Latin script|F|}} {{Latin script/sandbox|G|}} {{Latin script|G|}} {{Latin script/sandbox|H|}} {{Latin script|H|}} {{Latin script/sandbox|I|}} {{Latin script|I|}} {{Latin script/sandbox|J|}} {{Latin script|J|}} {{Latin script/sandbox|K|}} {{Latin script|K|}} {{Latin script/sandbox|L|}} {{Latin script|L|}} {{Latin script/sandbox|M|}} {{Latin script|M|}} ===N-Z=== {{Latin script/sandbox|N|}} {{Latin script|N|}} {{Latin script/sandbox|O|}} {{Latin script|O|}} {{Latin script/sandbox|P|}} {{Latin script|P|}} {{Latin script/sandbox|Q|}} {{Latin script|Q|}} {{Latin script/sandbox|R|}} {{Latin script|R|}} {{Latin script/sandbox|S|}} {{Latin script|S|}} {{Latin script/sandbox|T|}} {{Latin script|T|}} {{Latin script/sandbox|U|}} {{Latin script|U|}} {{Latin script/sandbox|V|}} {{Latin script|V|}} {{Latin script/sandbox|W|}} {{Latin script|W|}} {{Latin script/sandbox|X|}} {{Latin script|X|}} {{Latin script/sandbox|Y|}} {{Latin script|Y|}} {{Latin script/sandbox|Z|}} {{Latin script|Z|}} ===botching=== {{Latin script/sandbox|x|}} {{Latin script|x|}} {{Latin script/sandbox|@|}} {{Latin script|@|}} {{Latin script/sandbox||}} {{Latin script||}}

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