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

From blackwiki
Jump to navigation Jump to search
imported>MerlIwBot
m (Robot: Removing ar (strongly connected to en:Template:Latin alphabet navbox),it (deleted),sv (strong connection between (2) en:Template:Latin alphabet and sv:Mall:Latinska alfabetet))
imported>OwenBlacker
m (→‎Usage: Fixed Template:Tlx calls; formatting: 5× HTML entity, whitespace (using Advisor.js))
Line 4: Line 4:
  
 
===Basic examples===
 
===Basic examples===
* Input parameter #1: À, single letter: {{tlx|Latin alphabet|<nowiki>À</nowiki>}} &rarr;
+
* Input parameter #1: À, single letter: {{tlx|Latin alphabet|<nowiki>À</nowiki>}}
 
{{Latin alphabet|À}}
 
{{Latin alphabet|À}}
  
 
====Adding the block "Letter X with diacritics"====
 
====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"
 
* When the parameter is "A" (or À: with or without diacritics), the block is added "Letter A with diacritics"
* {{tlx|Latin alphabet|<nowiki>A</nowiki>}} &rarr; {{Latin alphabet|A|show pairs=no}}
+
* {{tlx|Latin alphabet|<nowiki>A</nowiki>}} {{Latin alphabet|A|show pairs=no}}
  
 
====Adding the block "Letters with diacritic ^"====
 
====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 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: {{tlx|Latin alphabet|<nowiki>A|show diacritic=grave</nowiki>}}
 
* When the parameter "show diacritic=" is set, that block will show: {{tlx|Latin alphabet|<nowiki>A|show diacritic=grave</nowiki>}}
* {{tlx|Latin alphabet|<nowiki>A|show diacritic=circumflex</nowiki>}} &rarr; {{Latin alphabet|A|show diacritic=circumflex|show pairs=no}}
+
* {{tlx|Latin alphabet|<nowiki>A|show diacritic=circumflex</nowiki>}} {{Latin alphabet|A|show diacritic=circumflex|show pairs=no}}
  
 
====Adding the block "Pairs with Letter X"====
 
====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 is a straight letter A-Z, the block with letter pairs is shown.
 
* When the parameter <code>show pairs=yes/no</code> is set, the pairs will show/hide accordingly:
 
* When the parameter <code>show pairs=yes/no</code> is set, the pairs will show/hide accordingly:
{{tlx|Latin alphabet|À|show pairs=yes}} &rarr; {{Latin alphabet|À|show pairs=yes}}  
+
{{tlx|Latin alphabet|<nowiki>À|show pairs=yes</nowiki>}} {{Latin alphabet|À|show pairs=yes}}
  
 
====More options====
 
====More options====
 
* When the parameter <code>show diacritic 2=</code> is used, a second block of diacritics will be shown:
 
* When the parameter <code>show diacritic 2=</code> is used, a second block of diacritics will be shown:
* {{tlx|Latin alphabet|A|show diacritic=grave|show diacritic 2=circumflex}} &rarr; {{Latin alphabet|A|show diacritic=grave|show diacritic 2=circumflex|show pairs=no}}
+
* {{tlx|Latin alphabet|<nowiki>A|show diacritic=grave|show diacritic 2=circumflex</nowiki>}} {{Latin alphabet|A|show diacritic=grave|show diacritic 2=circumflex|show pairs=no}}
  
 
===Parameter list===
 
===Parameter list===

Revision as of 00:45, 3 March 2013

Usage

Basic examples

Adding the block "Letter X with diacritics"