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

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(WP:HLIST)
imported>PK2
m (PK2 moved page Template:Latin alphabet/main to Template:Latin script/main over redirect)
 
(59 intermediate revisions by 35 users not shown)
Line 1: Line 1:
{| class="unicode" style="width:{{{width|90%}}}; margin:0.2em auto; border:1px solid #ccc; background:#f7f7f7;"
+
{{navbox
<!-- new line here -->
+
|name = Latin alphabet/main
{{Latin alphabet/row26col | title={{Tnavbar-header|The [[ISO basic Latin alphabet]]|Latin alphabet}}| background=#ccc}}
+
|state = {{{state|<noinclude>uncollapsed</noinclude>}}}
{{Latin alphabet/row26col <!--
+
 
-->|A{{!}}Aa|B{{!}}Bb|C{{!}}Cc|D{{!}}Dd|E{{!}}Ee|F{{!}}Ff|G{{!}}Gg|H{{!}}Hh|I{{!}}Ii|J{{!}}Jj|K{{!}}Kk|L{{!}}Ll|M{{!}}Mm<!--
+
| title = [[Latin script]]
-->|N{{!}}Nn|O{{!}}Oo|P{{!}}Pp|Q{{!}}Qq|R{{!}}Rr|S{{!}}Ss|T{{!}}Tt|U{{!}}Uu|V{{!}}Vv|W{{!}}Ww|X{{!}}Xx|Y{{!}}Yy|Z{{!}}Zz}}
+
| bodyclass = hlist
|-
+
 
{{Latin alphabet/letter with all diacritics| show letter={{{show letter|no}}} }}
+
|above=
|-
+
* [[History of the Latin script|History]]
{{Latin alphabet/diacritic with all letters| show diacritic={{{show diacritic|no}}} }}
+
* [[Spread of the Latin script|Spread]]
|- <!-- if needed or requested: show second block of diacritics -->
+
* [[Romanization]]
{{#switch: {{{show diacritic|no}}}
+
* [[Roman numerals]]
| dot = {{Latin alphabet/diacritic with all letters| show diacritic=dot below}}  
+
 
| #default = {{Latin alphabet/diacritic with all letters| show diacritic={{{show diacritic 2|no}}} }}
+
|group1=[[Latin-script alphabet|Alphabets]] ([[List of Latin-script alphabets|list]])
  }}
+
|list1=
|-
+
*[[Classical Latin alphabet]]
  {{Latin alphabet/AZ09 pairs| 1={{{1|}}} | show pairs={{{show pairs|no}}}| show letter={{{show letter|}}}}}
+
*[[ISO basic Latin alphabet]]
|-
+
*Phonetic alphabets
{{Latin alphabet/row26col | title=Related}}
+
**[[International Phonetic Alphabet]]
|-
+
**[[X-SAMPA]]
| colspan="27" style="text-align: center; font-size:90%" | {{Flatlist|
+
*[[Spelling alphabet]]
* [[History of the Latin alphabet|History]]
+
 
 +
|group2=Letters ([[List of Latin-script letters|list]])
 +
|list2  = {{(!}} style="margin: 0 -0.25em; width: 100%;"
 +
{{!}}-
 +
{{Latin script/row26col | title=Letters of the [[ISO basic Latin alphabet]]}}
 +
{{Latin script/row26col  
 +
|A{{!}}Aa|B{{!}}Bb|C{{!}}Cc|D{{!}}Dd|E{{!}}Ee|F{{!}}Ff|G{{!}}Gg|H{{!}}Hh|I{{!}}Ii|J{{!}}Jj|K{{!}}Kk|L{{!}}Ll|M{{!}}Mm
 +
|N{{!}}Nn|O{{!}}Oo|P{{!}}Pp|Q{{!}}Qq|R{{!}}Rr|S{{!}}Ss|T{{!}}Tt|U{{!}}Uu|V{{!}}Vv|W{{!}}Ww|X{{!}}Xx|Y{{!}}Yy|Z{{!}}Zz
 +
}}
 +
{{!}}-
 +
{{Latin script/letter with all diacritics| show letter={{{show letter|no}}} }}
 +
{{!}}-
 +
{{Latin script/diacritic with all letters| show diacritic={{{show diacritic|no}}} }}
 +
{{!}}- <!-- if needed or requested: show second block of diacritics -->
 +
{{#switch: {{{show diacritic|no}}}
 +
|dot     = {{Latin script/diacritic with all letters| show diacritic=dot below}}  
 +
|#default = {{Latin script/diacritic with all letters| show diacritic={{{show diacritic 2|no}}} }}
 +
}}
 +
  {{!}}-
 +
{{Latin script/AZ09 pairs| 1={{{1|}}} | show pairs={{{show pairs|no}}}| show letter={{{show letter|}}}}}
 +
{{!)}}
 +
 
 +
|group3=[[Latin-script multigraph|Multigraphs]]
 +
|list3={{Navbox|subgroup
 +
| groupstyle =
 +
| liststyle  =
 +
| listclass = hlist
 +
|group1 = [[List of Latin-script digraphs|Digraphs]]
 +
|list1 =
 +
*[[Ch (digraph)|ch]]
 +
*[[dž]]
 +
*[[Dz (digraph)|dz]]
 +
*[[Gh (digraph)|gh]]
 +
*[[IJ (digraph)|ij]]
 +
*[[ll]]
 +
*[[Hungarian ly|ly]]
 +
*[[Nh (digraph)|nh]]
 +
*[[Ny (digraph)|ny]]
 +
*[[Sh (digraph)|sh]]
 +
*[[Sz (digraph)|sz]]
 +
*[[Th (digraph)|th]]
 +
|group2 = [[List of Latin-script trigraphs|Trigraphs]]
 +
|list2 =
 +
* [[Hungarian dzs|dzs]]
 +
* [[Eau (trigraph)|eau]]
 +
|group3 = [[List of Latin-script tetragraphs|Tetragraphs]]
 +
|list3 =
 +
*[[Ough (orthography)|ough]]
 +
* [[tsch]]
 +
|group4 = [[List of Latin-script pentagraphs|Pentagraphs]]
 +
|list4 = [[tzsch]]
 +
 
 +
}}
 +
|group4=Keyboard layouts ([[List of Latin-script keyboard layouts|list]])
 +
|list4=
 +
* [[QWERTY]]
 +
* [[QWERTZ]]
 +
* [[AZERTY]]
 +
* [[Dvorak keyboard layout|Dvorak]]
 +
* [[Colemak]]
 +
* [[BÉPO]]
 +
* [[Neo (keyboard layout)|Neo]]
 +
 
 +
|group5=Standards
 +
|list5=
 +
* [[ISO/IEC 646]]
 +
* [[Latin script in Unicode|Unicode]]
 +
* [[Western Latin character sets (computing)|Western Latin character sets]]
 +
 
 +
|group6=Lists
 +
|list6=
 +
* [[List of precomposed Latin characters in Unicode|Precomposed Latin characters in Unicode]]
 +
* [[Latin letters used in mathematics|Letters used in mathematics]]
 +
* [[List of typographical symbols and punctuation marks]]
 +
 
 +
|below =
 +
* [[Diacritic]]s
 
* [[Palaeography]]
 
* [[Palaeography]]
* [[Latin-derived alphabet|Derivations]]
+
}}<noinclude>
* [[Diacritic]]s
+
{{Documentation|Template:Latin script/doc}}
* [[Punctuation]]
 
* [[Roman numerals|Numerals]]
 
* [[Latin characters in Unicode|Unicode]]
 
* [[List of Latin letters|List of letters]]
 
* [[ISO/IEC 646]]
 
}}
 
|}<noinclude>
 
{{Documentation|Template:Latin alphabet/doc}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 21:54, 27 December 2020

Template documentation[view] [edit] [history] [purge]

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/no is 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=no the 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=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

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.

ParameterDescriptionTypeStatus
Letter/Diacritic1

The input where information is derived from: which basic A-Z letter, which diacritic is used?

Default
Defaults to ((PAGENAME))
Auto value
Stringsuggested
Diactriticshow diacritic

Which 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.
Stringoptional
2nd Diacriticshow diacritic 2

Allows for the block of a second diacritic being shown.

Stringoptional
Lettershow letter

Sets 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.
Stringoptional
Pairsshow pairs

If set to "yes", all pairs with basic input 1-letter are shown.

Default
This parameter defaults to "yes" if input 1 = A-Z
Booleanoptional

See also