Template:Unicode blocks/doc

From English Wikipedia @ Freddythechick

Usage

A list of all the Unicode blocks, formatted as a table.

Template parameters

ParameterDescriptionTypeStatus
Collapse statestate

Specify if the list should be collapsed by default.

Suggested values
mw-collapsed
Stringoptional

"Blocks" are well-defined in Unicode. They are described from the numbering-way down: Unicode -> Plane -> Block -> code point.
Think "scripts" if you work from the character-way upwards: character -> code-point -> Unicode.

Block input

For each block, use <syntaxhighlight lang="wikitext">

|- | style="background: #b3e2cd" |  0 BMP | data-sort-value=128 | Unicode range (pattern like U+0080..U+00FF) | Block name, wikilinked | style="text-align:right"| Number of code points | style="text-align:right"| Number of characters assigned | Content of the block (scripts) </syntaxhighlight> The template starts a new row in the table (adds <syntaxhighlight lang="text" class="" style="" inline="1">|-</syntaxhighlight>).

|planelink=yes can be set to wikilink the first occurrence of a plane. Will wikilink the plane ID (like 1 SMP)

Example

<syntaxhighlight lang="wikitext">

|- | style="background: #b3e2cd" |  0 BMP | data-sort-value=128 | U+0080..U+00FF | Latin-1 Supplement[a] | style="text-align:right"| 128 | style="text-align:right"| 128 | Latin (64 characters), Common (64 characters) </syntaxhighlight>

Template data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Unicode blocks in articles based on its TemplateData.

TemplateData for Unicode blocks

No description.

Template parameters

ParameterDescriptionTypeStatus
11

no description

Unknownoptional

See also


Cite error: <ref> tags exist for a group named "lower-alpha", but no corresponding <references group="lower-alpha"/> tag was found