コンテンツにスキップ

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:Infobox Unicode block/doc

使用方法

[編集]

このinfoboxは、Unicodeの文字ブロックの記事に使用します。

構文

[編集]
{{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 in Japanese
 |blockname_en = When page name is not the name of the Unicode block in English
 |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
 |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 .. 9_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 個の符号位置)
基本多言語面
用字 Cuneiform
記号集合 楔形文字
主な言語・文字体系 シュメール語
アッカド語
ヒッタイト語
割当済 37 個の符号位置
5 個の制御文字または書式文字
未使用 85 個の保留
6 個の非文字
3 個の非推奨 (en)
元となった標準規格 ISCII
Unicodeのバージョン履歴
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    = テスト
|blockname_en = Test
|rangestart   = 0300
|rangeend     = 037f
|script1      = [[:en:Cuneiform (script)|Cuneiform]]
|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 に関する正しい説明ではありません。
}}