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

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 4: Line 4:
 
==Usage==
 
==Usage==
  
===Typical Usage===
+
===Basic example===
 
+
* Input: A, Single letter:
<code><nowiki>{{Latin alphabet}}</nowiki></code> on a letter/digit page gives the combinations associated with that letter, digit, and/or diacritic.
+
{{Latin alphabet|A|}}
 +
* Input: À, all up:
 +
{{Latin alphabet|À|show pairs=yes}}
  
 +
===Parameter list===
 +
The full parameter list:
 +
<pre>
 +
{{Latin alphabet
 +
|
 +
| show diacritic =
 +
| show diacritic 2 =
 +
| show letter =
 +
| show pairs =
 +
}}
 +
</pre>
 +
Input options are:
 +
:'''''First, unnamed parameter''''': (default: the <small>PAGENAME</small>). 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 <code>show diacritic=no</code> 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 <code>show letter=no</code> 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.
 
===Custom Usage===
 
===Custom Usage===
  
Line 23: Line 42:
  
 
It also includes:
 
It also includes:
* {{tl|Latin alphabet inclusion}}, which produces alternate letters, digits, and diacritics, which includes:
+
* Alternate letters, digits, and diacritics
:* {{tl|AZsubnav}}, which produces two-letter and letter/digit combinations  
+
* Two-letter and letter/digit combinations  
  
 
== See also ==
 
== See also ==
The included templates:
 
* {{lts|Latin alphabet inclusion}}
 
* {{lts|AZsubnav}}
 
 
 
* {{lts|Latin alphabet}}
 
* {{lts|Latin alphabet}}
 
* {{lts|Latin alphabet navbox}}
 
* {{lts|Latin alphabet navbox}}
  
 
* Technical: [http://en.wikipedia.org/wiki/Special:PrefixIndex/Template:Latin_alphabet/ all /subpages]
 
* Technical: [http://en.wikipedia.org/wiki/Special:PrefixIndex/Template:Latin_alphabet/ all /subpages]
 +
  
 
<includeonly><!--
 
<includeonly><!--

Revision as of 16:49, 28 July 2011

Usage

Basic example

  • Input: A, Single letter:
  • Input: À, all up:

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.

Custom Usage

{{Latin alphabet||}} gives the basic Latin alphabet:

{{Latin alphabet|D}} gives the basic alphabet plus the combinations associated with D:

{{Latin alphabet|C|cedilla}} gives the basic alphabet plus the combinations associated with C or with cedilla:

Construction

This template produces the basic latin alphabet from Aa to Zz, and a latin alphabet links footer.

It also includes:

  • Alternate letters, digits, and diacritics
  • Two-letter and letter/digit combinations

See also