Template:Latin alphabet/doc

Basic examples

 * Input parameter #1: À, single letter: →

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"

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:

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 set, the pairs will show/hide accordingly:

More options

 * When the parameter  is used, a second block of diacritics will be shown:

Parameter list
The full parameter list:

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  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  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:
 * Technical: all /subpages

Template data
{	"params": { "1": {			"label": "Letter/Diacritic", "description": "The input where information is derived from: which basic A-Z letter, which diacritic is used?", "type": "string", "default": "Defaults to ((PAGENAME))", "autovalue": "", "suggested": true },		"show diacritic": { "label": "Diactritic", "description": "Which diacritic is shown: acute, hook, ... Also: if set to show diacritic=no the diacritic block will not be shown at all.", "type": "string", "default": "This parameter defaults to the first parameter. " },		"show letter": { "label": "Letter", "description": "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.", "type": "string", "default": "This parameter defaults to the first parameter. " },		"show diacritic 2": { "label": "2nd Diacritic", "description": "Allows for the block of a second diacritic being shown.", "type": "string" },		"show pairs": { "label": "Pairs", "description": "If set to \"yes\", all pairs with basic input 1-letter are shown.", "type": "boolean", "default": "This parameter defaults to \"yes\" if input 1 = A-Z" }	},	"paramOrder": [ "1",		"show diacritic", "show diacritic 2", "show letter", "show pairs" ],	"format": "block" }