跳转到内容

Template:Infobox Unicode block/doc

本页使用了标题或全文手工转换
维基百科,自由的百科全书

这是本页的一个历史版本,由Puyun留言 | 贡献2019年6月22日 (六) 02:39 (内容扩充)编辑。这可能和当前版本存在着巨大的差异。

使用

這個模板用在與Unicode區段的頁面中。

參數

{{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.043 (+43)
1.130 (-13)
6.233 (+3)
7.037 (+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的正確描述。
}}