Difference between revisions of "Template:Latin script/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(update into new structure)
Line 3: Line 3:
 
==Usage==
 
==Usage==
  
===Basic examples===
+
{{Latin alphabet|B|show diacritic=grave|show pairs=yes}}
* Input: A, single letter: {{tlx|Latin alphabet|<nowiki>A|</nowiki>}} &rarr;
 
{{Latin alphabet|A|}}
 
* Input: A, show pairs, and a diacritic: {{tlx|Latin alphabet|<nowiki>A|show diacritic=grave|show pairs=yes</nowiki>}} &rarr;
 
{{Latin alphabet|A|show diacritic=grave|show pairs=yes}}
 
* Input: À, and a diacritic: {{tlx|Latin alphabet|<nowiki>À</nowiki>}} &rarr;
 
{{Latin alphabet|À}}
 
  
 
===Parameter list===
 
===Parameter list===

Revision as of 22:14, 11 August 2011

Usage

Parameter list

The full parameter list:

{{Latin alphabet
|
| 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. Currently automatically for "dot" (shows dot above and dot below).
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

See also