Template:Latin script/testcases
| File:Gnome-applications-science.svg | This is the template test cases page for the sandbox of Template:Latin script. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
- See also
Contents
Basics
-
-
-
-
-
-
-
-
==Letters== ===A-M=== *{{Latin alphabet/sandbox|A|}} *{{Latin alphabet|A|#no#}} *{{Latin alphabet/sandbox|B|}} *{{Latin alphabet|B|#no#}} *{{Latin alphabet/sandbox|C|}} *{{Latin alphabet|C|#no#}} *{{Latin alphabet/sandbox|D|}} *{{Latin alphabet|D|#no#}} *{{Latin alphabet/sandbox|E|}} *{{Latin alphabet|E|#no#}} *{{Latin alphabet/sandbox|F|}} *{{Latin alphabet|F|#no#}} *{{Latin alphabet/sandbox|G|}} *{{Latin alphabet|G|#no#}} *{{Latin alphabet/sandbox|H|}} *{{Latin alphabet|H|#no#}} *{{Latin alphabet/sandbox|I|}} *{{Latin alphabet|I|#no#}} *{{Latin alphabet/sandbox|J|}} *{{Latin alphabet|J|#no#}} *{{Latin alphabet/sandbox|K|}} *{{Latin alphabet|K|#no#}} *{{Latin alphabet/sandbox|L|}} *{{Latin alphabet|L|#no#}} *{{Latin alphabet/sandbox|M|}} *{{Latin alphabet|M|#no#}} ===N-Z=== *{{Latin alphabet/sandbox|N|}} *{{Latin alphabet|N|#no#}} *{{Latin alphabet/sandbox|O|}} *{{Latin alphabet|O|#no#}} *{{Latin alphabet/sandbox|P|}} *{{Latin alphabet|P|#no#}} *{{Latin alphabet/sandbox|Q|}} *{{Latin alphabet|Q|#no#}} *{{Latin alphabet/sandbox|R|}} *{{Latin alphabet|R|#no#}} *{{Latin alphabet/sandbox|S|}} *{{Latin alphabet|S|#no#}} *{{Latin alphabet/sandbox|T|}} *{{Latin alphabet|T|#no#}} *{{Latin alphabet/sandbox|U|}} *{{Latin alphabet|U|#no#}} *{{Latin alphabet/sandbox|V|}} *{{Latin alphabet|V|#no#}} *{{Latin alphabet/sandbox|W|}} *{{Latin alphabet|W|#no#}} *{{Latin alphabet/sandbox|X|}} *{{Latin alphabet|X|#no#}} *{{Latin alphabet/sandbox|Y|}} *{{Latin alphabet|Y|#no#}} *{{Latin alphabet/sandbox|Z|}} *{{Latin alphabet|Z|#no#}} ===botching=== *{{Latin alphabet/sandbox|x|}} *{{Latin alphabet|x|#no#}} *{{Latin alphabet/sandbox|@|}} *{{Latin alphabet|@|#no#}} *{{Latin alphabet/sandbox||}} *{{Latin alphabet||#no#}} ==Input none (use PAGENAME)== *{{Latin alphabet}} *{{Latin alphabet/sandbox}}
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/nois 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=nothe 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=nothe 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
- Technical: all /subpages
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.
Parameter Description Type Status Letter/Diacritic 1The input where information is derived from: which basic A-Z letter, which diacritic is used?
- Default
- Defaults to ((PAGENAME))
- Auto value
String suggested Diactritic show diacriticWhich 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.
String optional 2nd Diacritic show diacritic 2Allows for the block of a second diacritic being shown.
String optional Letter show letterSets 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.
String optional Pairs show pairsIf set to "yes", all pairs with basic input 1-letter are shown.
- Default
- This parameter defaults to "yes" if input 1 = A-Z
Boolean optional See also
- Template:Latin script(edit talk links history)
- Template:Latin alphabet sidebar(edit talk links history)
The above documentation is transcluded from Template:Latin script/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Please add categories to the /doc subpage. Subpages of this template. - Input parameter #1: À, single letter:
-
-
-
-
-
-
-