Templat:Latin alphabet/doc: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
dari en
k Robot: Perubahan kosmetika
 
Baris 1:
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. -->
== Usage ==
 
=== Basic examples ===
* Input parameter #1: À, single letter: {{tlx|Latin alphabet|<nowiki>À</nowiki>}} →
{{Latin alphabet|À}}
 
==== 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"
* {{tlx|Latin alphabet|<nowiki>A</nowiki>}} → {{Latin alphabet|A|show pairs=no}}
 
==== 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: {{tlx|Latin alphabet|<nowiki>A|show diacritic=grave</nowiki>}}
* {{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" ====
* 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:
{{tlx|Latin alphabet|<nowiki>À|show pairs=yes</nowiki>}} → {{Latin alphabet|À|show pairs=yes}}
 
==== More options ====
* When the parameter <code>show diacritic 2=</code> is used, a second block of diacritics will be shown:
* {{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 ===
The full parameter list:
 
Baris 44:
:'''''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:
* Technical: [[SpecialIstimewa:PrefixIndex/Template:Latin alphabet|all /subpages]]
 
== See also ==
Baris 55:
<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, INSIDE INCLUDEONLY TAGS, THANK YOU. -->
[[CategoryKategori:Writing system templates|{{PAGENAME}}]]
[[CategoryKategori:Exclude in print]]
</includeonly>