Jump to content

Template:Infobox Unicode block/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This infobox is used for articles on Unicode character blocks.

Syntax

[edit]
{{Infobox Unicode block

<!--General parameters:-->
 |style      = Sets overall style of the infobox (infobox bodystyle)
 |blockname  = When page name is not the name of the Unicode block
 |rangestart = Start codepoint of block (without U+)
 |rangeend   = End codepoint of block 
 |script1    = Primary Unicode script
 |script2-5  = Secondary Unicode scripts
 |alphabets  = Major alphabets covered by block
 |symbols    = Symbol sets in block (usually not used if "alphabets" is defined)

<!--Characters:-->
 |assigned   = Overrides number of assigned characters
               Not necessary if rangestart and rangeend are specified
 |controls   = Number of control or format characters
 |nonchar    = Number of non-characters
 |deprecated = Number of deprecated characters
 |occupiedby = Block(s) currently occupying this block's range.
               Only applicable for Unicode 1.x blocks which did not make it
               into Unicode version 2.0 and later (i.e. the original blocks
               for Hangul syllables and Tibetan).
 |latest change  = version number of latest change, e.g. 14.0
<!--Per version:-->
 |1_0_0      = Number of characters in v. 1.0.0
 |1_0_1      = Number of characters added in v. 1.0.1
 |1_1        = Number of characters added in v. 1.1
 |2_0        = Number of characters added in v. 2.0
 |2_1        = Number of characters added in v. 2.1
 |3_0        = Number of characters added in v. 3.0
 |3_1        = Number of characters added in v. 3.1
 |3_2        = Number of characters added in v. 3.2
 |4_0        = Number of characters added in v. 4.0
 |4_1        = Number of characters added in v. 4.1
 |5_0        = Number of characters added in v. 5.0
 |5_1        = Number of characters added in v. 5.1
 |5_2        = Number of characters added in v. 5.2
 |6_0        = Number of characters added in v. 6.0
 |6_1        = Number of characters added in v. 6.1
 |6_2        = Number of characters added in v. 6.2
 |6_3        = Number of characters added in v. 6.3
 |7_0        = Number of characters added in v. 7.0
 |8_0        = Number of characters added in v. 8.0
 |9_0        = Number of characters added in v. 9.0
 |10_0       = Number of characters added in v. 10.0
 |11_0       = Number of characters added in v. 11.0
 |12_0       = Number of characters added in v. 12.0
 |12_1       = Number of characters added in v. 12.1
 |13_0       = Number of characters added in v. 13.0
 |14_0       = Number of characters added in v. 14.0
 |15_0       = Number of characters added in v. 15.0
 |15_1       = Number of characters added in v. 15.1
 |16_0       = Number of characters added in v. 16.0
 |sources    = Source standards for block
 |codechart  = Overrides automatic creation of Unicode doc URLs based on rangestart value
               If set to "omit", no links will be created
               Any other value will be used as the block's code chart URL              
 |note       = Notes and refs
}}

Parameters:

Rangestart Acceptable values are of the form xxx0 or xxxx0, where "x" is a hex digit.
Rangeend Acceptable values are of the form xxxF, xxxf, xxxxF, or xxxxf, where "x" is a hex digit.
ScriptN Acceptable values are ISO 15924 code or Unicode script alias. These can be linked by appending (script) and a pipe | to the link, e.g. [[Greek (script)|]] or [[Grek (script)|]], which will display as Greek and Grek. Any other script link will not correctly format the block name.
Versions:
1_0_0 .. 16_0
Versions in which characters were added to the block, and only those versions, should be specified by the number of characters added to that version, not the running total. Setting version = 0 will erroneously display that version in the version history section of the template.
Versions:
1_0_1 & 1_1
The parameters 1_0_1, 1_1 and 2_0 can be set to negative numbers to account for character removal. For version 1.1, Unicode merged with ISO 10646, and some characters were either moved or removed in this process. For version 2.0, the contents of the original Korean syllable character blocks were moved to the current block, and the original blocks were deleted. Deleting or moving characters has been prohibited by stability policy for all versions following 2.0, so the number of characters added in subsequent versions will always be non-negative.

Example

[edit]
Test
RangeU+0300..U+037F
(128 code points)
PlaneBMP
ScriptsCuneiform
Major alphabetsSumerian
Akkadian
Hittite
Symbol setsCalculus symbols
Assigned37 code points
5 Control or Format
Unused85 reserved code points
6 non-characters
3 deprecated
Source standardsISCII
Unicode version history
Latest changeVersion 12.0
1.0.0 (1991)43 (+43)
1.1 (1993)30 (-13)
6.2 (2012)33 (+3)
7.0 (2014)37 (+4)
Chart
Code chart
Note: This is a demo description of the code point range (documentation purposes only)
{{Infobox Unicode block
|blockname  = Test
|rangestart = 0300
|rangeend   = 037f
|script1    = [[Cuneiform (script)|Cuneiform]]
|symbols    = Calculus symbols
|alphabets  = Sumerian<br />Akkadian<br />Hittite
|latest change=12.0
|1_0_0      = 43
|1_1        = -13
|6_2        = 3
|7_0        = 4
|controls   = 5
|nonchar    = 6
|deprecated = 3
|sources    = [[ISCII]]
|codechart  = https://www.unicode.org/charts/PDF/UBOOP.pdf
|note       = This is a demo description of the code point range (documentation purposes only)
}}
Note: Version year, like "5.2 (2009)", is added through {{Unicode version/version-to-date}}

Miscellaneous blocks

[edit]

Template Data

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

TemplateData for Infobox Unicode block

Template Data

No description.

Template parameters

ParameterDescriptionTypeStatus
stylestyle

no description

Unknownoptional
blocknameblockname

no description

Unknownoptional
rangestartrangestart

no description

Unknownoptional
rangeendrangeend

no description

Unknownoptional
script1script1

no description

Unknownoptional
script2script2

no description

Unknownoptional
script3script3

no description

Unknownoptional
script4script4

no description

Unknownoptional
script5script5

no description

Unknownoptional
alphabetsalphabets

no description

Unknownoptional
symbolssymbols

no description

Unknownoptional
occupiedbyoccupiedby

no description

Unknownoptional
assignedassigned

no description

Unknownoptional
1_0_01_0_0

no description

Unknownoptional
1_0_11_0_1

no description

Unknownoptional
1_11_1

no description

Unknownoptional
2_02_0

no description

Unknownoptional
2_12_1

no description

Unknownoptional
3_03_0

no description

Unknownoptional
3_13_1

no description

Unknownoptional
3_23_2

no description

Unknownoptional
4_04_0

no description

Unknownoptional
4_14_1

no description

Unknownoptional
5_05_0

no description

Unknownoptional
5_15_1

no description

Unknownoptional
5_25_2

no description

Unknownoptional
6_06_0

no description

Unknownoptional
6_16_1

no description

Unknownoptional
6_26_2

no description

Unknownoptional
6_36_3

no description

Unknownoptional
7_07_0

no description

Unknownoptional
8_08_0

no description

Unknownoptional
9_09_0

no description

Unknownoptional
10_010_0

no description

Unknownoptional
11_011_0

no description

Unknownoptional
12_012_0

no description

Unknownoptional
12_112_1

no description

Unknownoptional
13_013_0

no description

Unknownoptional
14_014_0

no description

Unknownoptional
15_015_0

no description

Unknownoptional
15_115_1

no description

Unknownoptional
16_016_0

no description

Unknownoptional
controlscontrols

no description

Unknownoptional
noncharnonchar

no description

Unknownoptional
deprecateddeprecated

no description

Unknownoptional
sourcessources

no description

Unknownoptional
notenote

no description

Unknownoptional

See also

[edit]