Difference between revisions of "Template:Latin script/AZ09 pairs"

From blackwiki
Jump to navigation Jump to search
imported>Anthony Appleyard
m (Anthony Appleyard moved page Template:Latin alphabet/AZ09 pairs to Template:Latin script/AZ09 pairs: Requested by 77.180.141.186 at WP:RM/TR: related to Latin script, not just Latin alphabet)
Line 3: Line 3:
 
-->|yes=<!--
 
-->|yes=<!--
 
show 2 blocks: two-letter combinations (title + 4 rows) and letter-digit pair (title + 1 row)-->
 
show 2 blocks: two-letter combinations (title + 4 rows) and letter-digit pair (title + 1 row)-->
{{Latin alphabet/row26col | title=[[Wikipedia:List of all two-letter combinations|Two-letter combinations]]}}
+
{{Latin script/row26col | title=[[Wikipedia:List of all two-letter combinations|Two-letter combinations]]}}
<!-- Xa-Xz (1/5) -->{{Latin alphabet/row26col<!--
+
<!-- Xa-Xz (1/5) -->{{Latin script/row26col<!--
 
-->|{{{1}}}a|{{{1}}}b|{{{1}}}c|{{{1}}}d|{{{1}}}e|{{{1}}}f|{{{1}}}g|{{{1}}}h|{{{1}}}i|{{{1}}}j<!--
 
-->|{{{1}}}a|{{{1}}}b|{{{1}}}c|{{{1}}}d|{{{1}}}e|{{{1}}}f|{{{1}}}g|{{{1}}}h|{{{1}}}i|{{{1}}}j<!--
 
-->|{{{1}}}k|{{{1}}}l|{{{1}}}m|{{{1}}}n|{{{1}}}o|{{{1}}}p|{{{1}}}q|{{{1}}}r|{{{1}}}s|{{{1}}}t<!--
 
-->|{{{1}}}k|{{{1}}}l|{{{1}}}m|{{{1}}}n|{{{1}}}o|{{{1}}}p|{{{1}}}q|{{{1}}}r|{{{1}}}s|{{{1}}}t<!--
 
-->|{{{1}}}u|{{{1}}}v|{{{1}}}w|{{{1}}}x|{{{1}}}y|{{{1}}}z}}
 
-->|{{{1}}}u|{{{1}}}v|{{{1}}}w|{{{1}}}x|{{{1}}}y|{{{1}}}z}}
<!-- XA-XZ (2/5) -->{{Latin alphabet/row26col<!--
+
<!-- XA-XZ (2/5) -->{{Latin script/row26col<!--
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}}|z{{{1}}}}}
 
-->|u{{{1}}}|v{{{1}}}|w{{{1}}}|x{{{1}}}|y{{{1}}}|z{{{1}}}}}
<!-- AX-ZX (4/5) -->{{Latin alphabet/row26col<!--
+
<!-- AX-ZX (4/5) -->{{Latin script/row26col<!--
 
-->|A{{{1}}}|B{{{1}}}|C{{{1}}}|D{{{1}}}|E{{{1}}}|F{{{1}}}|G{{{1}}}|H{{{1}}}|I{{{1}}}|J{{{1}}}<!--
 
-->|A{{{1}}}|B{{{1}}}|C{{{1}}}|D{{{1}}}|E{{{1}}}|F{{{1}}}|G{{{1}}}|H{{{1}}}|I{{{1}}}|J{{{1}}}<!--
 
-->|K{{{1}}}|L{{{1}}}|M{{{1}}}|N{{{1}}}|O{{{1}}}|P{{{1}}}|Q{{{1}}}|R{{{1}}}|S{{{1}}}|T{{{1}}}<!--
 
-->|K{{{1}}}|L{{{1}}}|M{{{1}}}|N{{{1}}}|O{{{1}}}|P{{{1}}}|Q{{{1}}}|R{{{1}}}|S{{{1}}}|T{{{1}}}<!--
 
-->|U{{{1}}}|V{{{1}}}|W{{{1}}}|X{{{1}}}|Y{{{1}}}|Z{{{1}}}}}
 
-->|U{{{1}}}|V{{{1}}}|W{{{1}}}|X{{{1}}}|Y{{{1}}}|Z{{{1}}}}}
{{Latin alphabet/row26col | title=[[Wikipedia:List of all single-letter-single-digit combinations|{{ucfirst:{{{show letter|Letter}}}}}-digit]] and [[Wikipedia:List of all single-digit-single-letter combinations|digit-{{lcfirst:{{{show letter|letter}}}}}]] combinations}}
+
{{Latin script/row26col | title=[[Wikipedia:List of all single-letter-single-digit combinations|{{ucfirst:{{{show letter|Letter}}}}}-digit]] and [[Wikipedia:List of all single-digit-single-letter combinations|digit-{{lcfirst:{{{show letter|letter}}}}}]] combinations}}
<!-- X0-X9 and 0X-9X (5/5) -->{{Latin alphabet/row26col<!--
+
<!-- X0-X9 and 0X-9X (5/5) -->{{Latin script/row26col<!--
 
-->||<!--
 
-->||<!--
 
-->|{{{1}}}0|{{{1}}}1|{{{1}}}2|{{{1}}}3|{{{1}}}4|{{{1}}}5|{{{1}}}6|{{{1}}}7|{{{1}}}8|{{{1}}}9<!--
 
-->|{{{1}}}0|{{{1}}}1|{{{1}}}2|{{{1}}}3|{{{1}}}4|{{{1}}}5|{{{1}}}6|{{{1}}}7|{{{1}}}8|{{{1}}}9<!--

Revision as of 15:00, 16 June 2017

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