Toggle menu
15
236
70
27.5K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 00:12, 22 February 2025 by Prd (talk | contribs) (Created page with "{{Documentation subpage}} === Usage === <templatedata> { "params": { "state": { "label": "Collapse state", "description": "Specify if the list should be collapsed by default.", "type": "string", "suggestedvalues": [ "mw-collapsed" ] } }, "description": "A list of all the Unicode blocks, formatted as a table." } </templatedata> "Blocks" are well-defined in Unicode. They are described from the ''numbering''-way down: Unicode -> Plane -> Block ->...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

{{Unicode blocks/row
 |plane = One from set BMP, SMP, SIP, TTP, ..., PUA-AB (BMP=default)
 |range = Unicode range (pattern like U+0080..U+00FF)
 |name  = Block name, wikilinked
 |cp    = Number of code points
 |char  = Number of characters assigned
 |contains= Content of the block (scripts)
}}

The template starts a new row in the table (adds |-).

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

Example
{{Unicode blocks/row
 |range=U+0080..U+00FF 
 |name=[[Latin-1 Supplement (Unicode block)|Latin-1 Supplement]]{{efn |name=Latin1_Supplement|1=Called "C1 Controls and Latin-1 Supplement" in [[ISO/IEC 10646]]}}
 |cp=128
 |char=128 
 |contains=Latin (64 characters), Common (64 characters)
}}

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