模板:Chset-cell3

維基百科,自由的百科全書


{{{1}}}
{{{3}}}

文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

模板介紹[編輯]

此模板替換Template:chset-cellTemplate:chset-cell4還可以額外顯示八進制代碼點。

使用方法[編輯]

Template:chset-tableformat一同使用,來創建『』『可輸出字符』『』的單元格。

  • 參數1: hhhh,十六進制Unicode值,4 digits (如0041)
  • 參數2: X,連接到文章的可顯示文字(e.g., [[A]]);默認為"&#xhhhh;"使用參數1的值
  • 參數3: dd,十進制字符代碼, 1–3位數字(如65)

例如,一組四個ASCII數字"0"到"3"(Unicode編碼從U+0030到U+0033,十進制代碼48到51),在字符集表格中的代碼如下所示:

{|
|{{chset-color-digit}}|{{chset-cell3|0030|[[0]]|48}}
|{{chset-color-digit}}|{{chset-cell3|0031|[[1]]|49}}
|{{chset-color-digit}}|{{chset-cell3|0032|[[2]]|50}}
|{{chset-color-digit}}|{{chset-cell3|0033|[[3]]|51}}
|}

這將產生:

0
0030
48
1
0031
49
2
0032
50
3
0033
51

Chset系列模板[編輯]

表格建立[編輯]

頁眉和頁腳[編輯]

字符的行標題[編輯]

字符集單元格顏色[編輯]

字符集單元格內容[編輯]

清理標籤[編輯]

  • Template:cleanup-chartable — 為需要維基化的字符集表格設定的標籤(包括一個編寫字符集表格的例子)