Template:Infobox Unicode block/doc
外观

![]() | 此頁面是Template:Infobox Unicode block的Template文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
使用
參數
{{Infobox Unicode block <!-- 一般參數 --> |style = 設置信息框的整體形式 |blockname = 當頁面名稱不是Unicode區段的名稱時 |rangestart = 區段的開始碼點(不會有U+的記號) |rangeend = 區段的結束碼點 |script1 = Primary Unicode script |script2-5 = Secondary Unicode scripts |alphabets = Major alphabets covered by block |symbols = 區段中的符號集(通常在「字母」已被定義時不會使用) <!-- 字符 --> |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 <!-- 版本 --> |1_0_0 = 在1.0.0版本中的字符數 |1_0_1 = 在1.0.1版本中新增的字符數 |1_1 = 在1.1版本中新增的字符數 |2_0 = 在2.0版本中新增的字符數 |2_1 = 在2.1版本中新增的字符數 |3_0 = 在3.0版本中新增的字符數 |3_1 = 在3.1版本中新增的字符數 |3_2 = 在3.2版本中新增的字符數 |4_0 = 在4.0版本中新增的字符數 |4_1 = 在4.1版本中新增的字符數 |5_0 = 在5.0版本中新增的字符數 |5_1 = 在5.1版本中新增的字符數 |5_2 = 在5.2版本中新增的字符數 |6_0 = 在6.0版本中新增的字符數 |6_1 = 在6.1版本中新增的字符數 |6_2 = 在6.2版本中新增的字符數 |6_3 = 在6.3版本中新增的字符數 |7_0 = 在7.0版本中新增的字符數 |8_0 = 在8.0版本中新增的字符數 |9_0 = 在9.0版本中新增的字符數 |10_0 = 在10.0版本中新增的字符數 |11_0 = 在11.0版本中新增的字符數 |12_0 = 在10.0版本中新增的字符數 |12_1 = 在12.1版本中新增的字符數 |sources = 區段的來源標準 |note = 注釋與參考來源 }}
參數:
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 .. 10_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.
|
舉例
Test | |
---|---|
範圍 | U+0300..U+037F (128個碼位) |
平面 | 基本多文種平面(BMP) |
文字 | 楔形文字 |
應用 | 蘇美語 阿卡德語 西臺語 |
符號系列 | 計算法符號 |
已分配 | 37個碼位 5個控制或格式 |
未分配 | 85個保留碼位 6個非字符 3個廢棄碼位 |
來源標準 | ISCII |
統一碼版本歷史 | |
1.0.0 | 43 (+43) |
1.1 | 30 (-13) |
6.2 | 33 (+3) |
7.0 | 37 (+4) |
相關區塊 | |
码表链接 ∣ 网页链接 | |
註釋:這並不是代碼點範圍U+0300..U+037F的正確描述。 |
{{Infobox Unicode block |blockname = Test |rangestart = 0300 |rangeend = 037f |script1 = [[楔形文字]] |symbols = 計算法符號 |alphabets = 蘇美語<br />阿卡德語<br />西臺語 |1_0_0 = 43 |1_1 = -13 |6_2 = 3 |7_0 = 4 |controls = 5 |nonchar = 6 |deprecated = 3 |sources = [[ISCII]] |note = 這並不是代碼點範圍U+0300–U+037F的正確描述。 }}