Template:Infobox Unicode block
{{{blockname}}} | |
---|---|
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
Usage
This infobox is used for articles on Unicode character blocks.
Syntax
{{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 <!--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 |sources = Source standards for block |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 .. 13_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 and 1_1 can be set to negative numbers to account for character removal. For version 1.1, Unicode merged with ISO 10646, and some characters were removed in this process.
|
Example
Test | |
---|---|
Range | U+0300..U+037F (128 code points) |
Plane | BMP |
Scripts | Cuneiform |
Major alphabets | Sumerian Akkadian Hittite |
Symbol sets | Calculus symbols |
Assigned | 37 code points 5 Control or Format |
Unused | 85 reserved code points 6 non-characters 3 deprecated |
Source standards | ISCII |
Unicode version history | |
1.0.0 | 43 (+43) |
1.1 | 30 (-13) |
6.2 | 33 (+3) |
7.0 | 37 (+4) |
Note: This is not an accurate description of the code point range U+0300..U+037F. |
{{Infobox Unicode block
|blockname = Test
|rangestart = 0300
|rangeend = 037f
|script1 = [[Cuneiform (script)|]]
|symbols = Calculus symbols
|alphabets = Sumerian<br />Akkadian<br />Hittite
|1_0_0 = 43
|1_1 = -13
|6_2 = 3
|7_0 = 4
|controls = 5
|nonchar = 6
|deprecated = 3
|sources = [[ISCII]]
|note = This is not an accurate description of the code point range U+0300..U+037F.
}}