Templat:Charmap: Perbedaan antara revisi
Dedhert.Jr (bicara | kontrib) Named character reference Tag: Suntingan visualeditor-wikitext |
k + Tag: Penggantian halaman dengan galat skrip |
||
(Satu revisi perantara oleh satu pengguna lainnya tidak ditampilkan) | |||
Baris 1: | Baris 1: | ||
{{#invoke:Charmap|main}}<noinclude> |
|||
{| class="wikitable" style="text-align:right" |
|||
|- align=center |
|||
! align=left | Karakter <!-- |
|||
-->{{#if: {{{name1|}}} | {{!!}} colspan=2 {{!}} {{{image1|{{unicode|&#x{{trim|{{{1|20}}}}};}} }}} }} <!-- |
|||
-->{{#if: {{{name2|}}} | {{!!}} colspan=2 {{!}} {{{image2|{{unicode|&#x{{trim|{{{2|20}}}}};}} }}} }} <!-- |
|||
-->{{#if: {{{name3|}}} | {{!!}} colspan=2 {{!}} {{{image3|{{unicode|&#x{{trim|{{{3|20}}}}};}} }}} }} <!-- |
|||
-->{{#if: {{{name4|}}} | {{!!}} colspan=2 {{!}} {{{image4|{{unicode|&#x{{trim|{{{4|20}}}}};}} }}} }} <!-- |
|||
-->{{#if: {{{name5|}}} | {{!!}} colspan=2 {{!}} {{{image5|{{unicode|&#x{{trim|{{{5|20}}}}};}} }}} }} <!-- |
|||
-->{{#if: {{{name6|}}} | {{!!}} colspan=2 {{!}} {{{image6|{{unicode|&#x{{trim|{{{6|20}}}}};}} }}} }} <!-- |
|||
-->{{#if: {{{name7|}}} | {{!!}} colspan=2 {{!}} {{{image7|{{unicode|&#x{{trim|{{{7|20}}}}};}} }}} }} <!-- |
|||
-->{{#if: {{{name8|}}} | {{!!}} colspan=2 {{!}} {{{image8|{{unicode|&#x{{trim|{{{8|20}}}}};}} }}} }} <!-- |
|||
-->{{#if: {{{name9|}}} | {{!!}} colspan=2 {{!}} {{{image9|{{unicode|&#x{{trim|{{{9|20}}}}};}} }}} }} <!-- |
|||
-->{{#if: {{{name10|}}} | {{!!}} colspan=2 {{!}} {{{image10|{{unicode|&#x{{trim|{{{10|20}}}}};}} }}} }}<!-- |
|||
Menanyangkan gambar atau karakter unicode bagi tiap karakter yang mempunyai nama. Default adalah tanda spasi. |
|||
--> |
|||
{{charmap/head|<!-- |
|||
-->{{uc:{{trim| {{{1|}}} }} }}|<!-- |
|||
-->{{uc:{{trim| {{{2|}}} }} }}|<!-- |
|||
-->{{uc:{{trim| {{{3|}}} }} }}|<!-- |
|||
-->{{uc:{{trim| {{{4|}}} }} }}|<!-- |
|||
-->{{uc:{{trim| {{{5|}}} }} }}|<!-- |
|||
-->{{uc:{{trim| {{{6|}}} }} }}|<!-- |
|||
-->{{uc:{{trim| {{{7|}}} }} }}|<!-- |
|||
-->{{uc:{{trim| {{{8|}}} }} }}|<!-- |
|||
-->{{uc:{{trim| {{{9|}}} }} }}|<!-- |
|||
-->{{uc:{{trim| {{{10|}}} }} }}|<!-- |
|||
-->name1={{{name1|}}}|<!-- |
|||
-->name2={{{name2|}}}|<!-- |
|||
-->name3={{{name3|}}}|<!-- |
|||
-->name4={{{name4|}}}|<!-- |
|||
-->name5={{{name5|}}}|<!-- |
|||
-->name6={{{name6|}}}|<!-- |
|||
-->name7={{{name7|}}}|<!-- |
|||
-->name8={{{name8|}}}|<!-- |
|||
-->name9={{{name9|}}}|<!-- |
|||
-->name10={{{name10|}}} }}<!-- |
|||
Subtemplate that displays character header, character name, Unicode code point, UTF-8 encoding, and numeric character reference |
|||
--> |
|||
|- |
|||
{{charmap/named |namedref=[[Daftar referensi entitas karakter XML dan HTML|Referensi karakter yang dinamakan]] <!-- |
|||
-->|refchar1={{numcr2namecr|{{trim|{{{1|0}}}}}}} <!-- |
|||
-->|refchar2={{numcr2namecr|{{trim|{{{2|0}}}}}}} <!-- |
|||
-->|refchar3={{numcr2namecr|{{trim|{{{3|0}}}}}}} <!-- |
|||
-->|refchar4={{numcr2namecr|{{trim|{{{4|0}}}}}}} <!-- |
|||
-->|refchar5={{numcr2namecr|{{trim|{{{5|0}}}}}}} <!-- |
|||
-->|refchar6={{numcr2namecr|{{trim|{{{6|0}}}}}}} <!-- |
|||
-->|refchar7={{numcr2namecr|{{trim|{{{7|0}}}}}}} <!-- |
|||
-->|refchar8={{numcr2namecr|{{trim|{{{8|0}}}}}}} <!-- |
|||
-->|refchar9={{numcr2namecr|{{trim|{{{9|0}}}}}}} <!-- |
|||
-->|refchar10={{numcr2namecr|{{trim|{{{10|0}}}}}}} <!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the HTML named character reference if any exist, and if so, builds a double-wide cell for each character with a name |
|||
--> |
|||
|- |
|||
{{charmap/alt|map={{{map1|}}}<!-- |
|||
-->|mapchar1={{uc:{{{map1char1|}}}}}<!-- |
|||
-->|mapchar2={{uc:{{{map1char2|}}}}}<!-- |
|||
-->|mapchar3={{uc:{{{map1char3|}}}}}<!-- |
|||
-->|mapchar4={{uc:{{{map1char4|}}}}}<!-- |
|||
-->|mapchar5={{uc:{{{map1char5|}}}}}<!-- |
|||
-->|mapchar6={{uc:{{{map1char6|}}}}}<!-- |
|||
-->|mapchar7={{uc:{{{map1char7|}}}}}<!-- |
|||
-->|mapchar8={{uc:{{{map1char8|}}}}}<!-- |
|||
-->|mapchar9={{uc:{{{map1char9|}}}}}<!-- |
|||
-->|mapchar10={{uc:{{{map1char10|}}}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the first alternate encoding |
|||
--> |
|||
|- |
|||
{{charmap/alt|map={{{map2|}}}<!-- |
|||
-->|mapchar1={{uc:{{{map2char1|}}}}}<!-- |
|||
-->|mapchar2={{uc:{{{map2char2|}}}}}<!-- |
|||
-->|mapchar3={{uc:{{{map2char3|}}}}}<!-- |
|||
-->|mapchar4={{uc:{{{map2char4|}}}}}<!-- |
|||
-->|mapchar5={{uc:{{{map2char5|}}}}}<!-- |
|||
-->|mapchar6={{uc:{{{map2char6|}}}}}<!-- |
|||
-->|mapchar7={{uc:{{{map2char7|}}}}}<!-- |
|||
-->|mapchar8={{uc:{{{map2char8|}}}}}<!-- |
|||
-->|mapchar9={{uc:{{{map2char9|}}}}}<!-- |
|||
-->|mapchar10={{uc:{{{map2char10|}}}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the second alternate encoding |
|||
--> |
|||
|- |
|||
{{charmap/alt|map={{{map3|}}}<!-- |
|||
-->|mapchar1={{uc:{{{map3char1|}}}}}<!-- |
|||
-->|mapchar2={{uc:{{{map3char2|}}}}}<!-- |
|||
-->|mapchar3={{uc:{{{map3char3|}}}}}<!-- |
|||
-->|mapchar4={{uc:{{{map3char4|}}}}}<!-- |
|||
-->|mapchar5={{uc:{{{map3char5|}}}}}<!-- |
|||
-->|mapchar6={{uc:{{{map3char6|}}}}}<!-- |
|||
-->|mapchar7={{uc:{{{map3char7|}}}}}<!-- |
|||
-->|mapchar8={{uc:{{{map3char8|}}}}}<!-- |
|||
-->|mapchar9={{uc:{{{map3char9|}}}}}<!-- |
|||
-->|mapchar10={{uc:{{{map3char10|}}}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the third alternate encoding |
|||
--> |
|||
|- |
|||
{{charmap/alt|map={{{map4|}}}<!-- |
|||
-->|mapchar1={{uc:{{{map4char1|}}}}}<!-- |
|||
-->|mapchar2={{uc:{{{map4char2|}}}}}<!-- |
|||
-->|mapchar3={{uc:{{{map4char3|}}}}}<!-- |
|||
-->|mapchar4={{uc:{{{map4char4|}}}}}<!-- |
|||
-->|mapchar5={{uc:{{{map4char5|}}}}}<!-- |
|||
-->|mapchar6={{uc:{{{map4char6|}}}}}<!-- |
|||
-->|mapchar7={{uc:{{{map4char7|}}}}}<!-- |
|||
-->|mapchar8={{uc:{{{map4char8|}}}}}<!-- |
|||
-->|mapchar9={{uc:{{{map4char9|}}}}}<!-- |
|||
-->|mapchar10={{uc:{{{map4char10|}}}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the fourth alternate encoding |
|||
--> |
|||
|- |
|||
{{charmap/alt|map={{{map5|}}}<!-- |
|||
-->|mapchar1={{uc:{{{map5char1|}}}}}<!-- |
|||
-->|mapchar2={{uc:{{{map5char2|}}}}}<!-- |
|||
-->|mapchar3={{uc:{{{map5char3|}}}}}<!-- |
|||
-->|mapchar4={{uc:{{{map5char4|}}}}}<!-- |
|||
-->|mapchar5={{uc:{{{map5char5|}}}}}<!-- |
|||
-->|mapchar6={{uc:{{{map5char6|}}}}}<!-- |
|||
-->|mapchar7={{uc:{{{map5char7|}}}}}<!-- |
|||
-->|mapchar8={{uc:{{{map5char8|}}}}}<!-- |
|||
-->|mapchar9={{uc:{{{map5char9|}}}}}<!-- |
|||
-->|mapchar10={{uc:{{{map5char10|}}}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the fifth alternate encoding |
|||
--> |
|||
|- |
|||
{{charmap/alt|map={{{map6|}}}<!-- |
|||
-->|mapchar1={{uc:{{{map6char1|}}}}}<!-- |
|||
-->|mapchar2={{uc:{{{map6char2|}}}}}<!-- |
|||
-->|mapchar3={{uc:{{{map6char3|}}}}}<!-- |
|||
-->|mapchar4={{uc:{{{map6char4|}}}}}<!-- |
|||
-->|mapchar5={{uc:{{{map6char5|}}}}}<!-- |
|||
-->|mapchar6={{uc:{{{map6char6|}}}}}<!-- |
|||
-->|mapchar7={{uc:{{{map6char7|}}}}}<!-- |
|||
-->|mapchar8={{uc:{{{map6char8|}}}}}<!-- |
|||
-->|mapchar9={{uc:{{{map6char9|}}}}}<!-- |
|||
-->|mapchar10={{uc:{{{map6char10|}}}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the sixth alternate encoding |
|||
--> |
|||
|- |
|||
{{charmap/alt|map={{{map7|}}}<!-- |
|||
-->|mapchar1={{uc:{{{map7char1|}}}}}<!-- |
|||
-->|mapchar2={{uc:{{{map7char2|}}}}}<!-- |
|||
-->|mapchar3={{uc:{{{map7char3|}}}}}<!-- |
|||
-->|mapchar4={{uc:{{{map7char4|}}}}}<!-- |
|||
-->|mapchar5={{uc:{{{map7char5|}}}}}<!-- |
|||
-->|mapchar6={{uc:{{{map7char6|}}}}}<!-- |
|||
-->|mapchar7={{uc:{{{map7char7|}}}}}<!-- |
|||
-->|mapchar8={{uc:{{{map7char8|}}}}}<!-- |
|||
-->|mapchar9={{uc:{{{map7char9|}}}}}<!-- |
|||
-->|mapchar10={{uc:{{{map7char10|}}}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the seventh alternate encoding |
|||
--> |
|||
|- |
|||
{{charmap/alt|map={{{map8|}}}<!-- |
|||
-->|mapchar1={{uc:{{{map8char1|}}}}}<!-- |
|||
-->|mapchar2={{uc:{{{map8char2|}}}}}<!-- |
|||
-->|mapchar3={{uc:{{{map8char3|}}}}}<!-- |
|||
-->|mapchar4={{uc:{{{map8char4|}}}}}<!-- |
|||
-->|mapchar5={{uc:{{{map8char5|}}}}}<!-- |
|||
-->|mapchar6={{uc:{{{map8char6|}}}}}<!-- |
|||
-->|mapchar7={{uc:{{{map8char7|}}}}}<!-- |
|||
-->|mapchar8={{uc:{{{map8char8|}}}}}<!-- |
|||
-->|mapchar9={{uc:{{{map8char9|}}}}}<!-- |
|||
-->|mapchar10={{uc:{{{map8char10|}}}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the eighth alternate encoding |
|||
--> |
|||
|- |
|||
{{charmap/alt|map={{{map9|}}}<!-- |
|||
-->|mapchar1={{uc:{{{map9char1|}}}}}<!-- |
|||
-->|mapchar2={{uc:{{{map9char2|}}}}}<!-- |
|||
-->|mapchar3={{uc:{{{map9char3|}}}}}<!-- |
|||
-->|mapchar4={{uc:{{{map9char4|}}}}}<!-- |
|||
-->|mapchar5={{uc:{{{map9char5|}}}}}<!-- |
|||
-->|mapchar6={{uc:{{{map9char6|}}}}}<!-- |
|||
-->|mapchar7={{uc:{{{map9char7|}}}}}<!-- |
|||
-->|mapchar8={{uc:{{{map9char8|}}}}}<!-- |
|||
-->|mapchar9={{uc:{{{map9char9|}}}}}<!-- |
|||
-->|mapchar10={{uc:{{{map9char10|}}}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the ninth alternate encoding |
|||
--> |
|||
|- |
|||
{{charmap/alt|map={{{map10|}}}<!-- |
|||
-->|mapchar1={{uc:{{{map10char1|}}}}}<!-- |
|||
-->|mapchar2={{uc:{{{map10char2|}}}}}<!-- |
|||
-->|mapchar3={{uc:{{{map10char3|}}}}}<!-- |
|||
-->|mapchar4={{uc:{{{map10char4|}}}}}<!-- |
|||
-->|mapchar5={{uc:{{{map10char5|}}}}}<!-- |
|||
-->|mapchar6={{uc:{{{map10char6|}}}}}<!-- |
|||
-->|mapchar7={{uc:{{{map10char7|}}}}}<!-- |
|||
-->|mapchar8={{uc:{{{map10char8|}}}}}<!-- |
|||
-->|mapchar9={{uc:{{{map10char9|}}}}}<!-- |
|||
-->|mapchar10={{uc:{{{map10char10|}}}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the tenth alternate encoding |
|||
--> |
|||
|- |
|||
{{charmap/named|namedref={{{namedref1|}}}<!-- |
|||
-->|refchar1={{{ref1char1|}}}<!-- |
|||
-->|refchar2={{{ref1char2|}}}<!-- |
|||
-->|refchar3={{{ref1char3|}}}<!-- |
|||
-->|refchar4={{{ref1char4|}}}<!-- |
|||
-->|refchar5={{{ref1char5|}}}<!-- |
|||
-->|refchar6={{{ref1char6|}}}<!-- |
|||
-->|refchar7={{{ref1char7|}}}<!-- |
|||
-->|refchar8={{{ref1char8|}}}<!-- |
|||
-->|refchar9={{{ref1char9|}}}<!-- |
|||
-->|refchar10={{{ref1char10|}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the first named character reference |
|||
--> |
|||
|- |
|||
{{charmap/named|namedref={{{namedref2|}}}<!-- |
|||
-->|refchar1={{{ref2char1|}}}<!-- |
|||
-->|refchar2={{{ref2char2|}}}<!-- |
|||
-->|refchar3={{{ref2char3|}}}<!-- |
|||
-->|refchar4={{{ref2char4|}}}<!-- |
|||
-->|refchar5={{{ref2char5|}}}<!-- |
|||
-->|refchar6={{{ref2char6|}}}<!-- |
|||
-->|refchar7={{{ref2char7|}}}<!-- |
|||
-->|refchar8={{{ref2char8|}}}<!-- |
|||
-->|refchar9={{{ref2char9|}}}<!-- |
|||
-->|refchar10={{{ref2char10|}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplate that displays the second named character reference |
|||
--> |
|||
|- |
|||
{{charmap/named|namedref={{{namedref3|}}}<!-- |
|||
-->|refchar1={{{ref3char1|}}}<!-- |
|||
-->|refchar2={{{ref3char2|}}}<!-- |
|||
-->|refchar3={{{ref3char3|}}}<!-- |
|||
-->|refchar4={{{ref3char4|}}}<!-- |
|||
-->|refchar5={{{ref3char5|}}}<!-- |
|||
-->|refchar6={{{ref3char6|}}}<!-- |
|||
-->|refchar7={{{ref3char7|}}}<!-- |
|||
-->|refchar8={{{ref3char8|}}}<!-- |
|||
-->|refchar9={{{ref3char9|}}}<!-- |
|||
-->|refchar10={{{ref3char10|}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplat yang menayangkan rujukan untuk karakter disebut ketiga |
|||
--> |
|||
|- |
|||
{{charmap/named|namedref={{{namedref4|}}}<!-- |
|||
-->|refchar1={{{ref4char1|}}}<!-- |
|||
-->|refchar2={{{ref4char2|}}}<!-- |
|||
-->|refchar3={{{ref4char3|}}}<!-- |
|||
-->|refchar4={{{ref4char4|}}}<!-- |
|||
-->|refchar5={{{ref4char5|}}}<!-- |
|||
-->|refchar6={{{ref4char6|}}}<!-- |
|||
-->|refchar7={{{ref4char7|}}}<!-- |
|||
-->|refchar8={{{ref4char8|}}}<!-- |
|||
-->|refchar9={{{ref4char9|}}}<!-- |
|||
-->|refchar10={{{ref4char10|}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplat yang menayangkan rujukan untuk karakter disebut keempat |
|||
--> |
|||
|- |
|||
{{charmap/named|namedref={{{namedref5|}}}<!-- |
|||
-->|refchar1={{{ref5char1|}}}<!-- |
|||
-->|refchar2={{{ref5char2|}}}<!-- |
|||
-->|refchar3={{{ref5char3|}}}<!-- |
|||
-->|refchar4={{{ref5char4|}}}<!-- |
|||
-->|refchar5={{{ref5char5|}}}<!-- |
|||
-->|refchar6={{{ref5char6|}}}<!-- |
|||
-->|refchar7={{{ref5char7|}}}<!-- |
|||
-->|refchar8={{{ref5char8|}}}<!-- |
|||
-->|refchar9={{{ref5char9|}}}<!-- |
|||
-->|refchar10={{{ref5char10|}}}<!-- |
|||
-->|{{{name1|}}} |{{{name2|}}} |{{{name3|}}} |{{{name4|}}} |{{{name5|}}} |{{{name6|}}} |{{{name7|}}} |{{{name8|}}} |{{{name9|}}} |{{{name10|}}} }}<!-- |
|||
Subtemplat yang menayangkan rujukan untuk karakter disebut kelima |
|||
--> |
|||
|}<noinclude> |
|||
{{documentation}} |
{{documentation}} |
||
</noinclude> |
</noinclude> |
Revisi terkini sejak 1 September 2022 16.17
Pratayang | ||
---|---|---|
Pengodean | decimal | hex |
Unicode | ||
UTF-8 | ||
Referensi karakter numerik |
Templat ini membuat table encoding komputer standar untuk menulis artikel sistem penulisan. Didasarkan atas table "Computing Codes" yang ditempatkan dalam banyak halaman huruf Kiril oleh User:Coroboy.
Penggunaan
[sunting sumber]{{charmap
| 1st character Unicode code point
| 2nd character Unicode code point
...
| 10th character Unicode code point
| image1 = alternate picture for 1st character
| image2 = alternate picture for 2nd character
...
| image10 = alternate picture for 10th character
| name1 = 1st character name
| name2 = 2nd character name
...
| name10 = 10th character name
| map1 = 1st alternate encoding name
| map1char1 = 1st character code in 1st alternate encoding
| map1char2 = 2nd character code in 1st alternate encoding
...
| map1char10 = 10th character code in 1st alternate encoding
...
| map2 = 2nd alternate encoding name
...
| map10 = 10th alternate encoding name
...
|map10char10 = 10th character code in 10th alternate encoding
| namedref1 = 1st named character reference
| ref1char1 = 1st character code in 1st named character reference
| ref1char2 = 2nd character code in 1st named character reference
...
| ref1char10 = 10th character code in 1st named character reference
...
| namedref2 = 2nd named character reference
...
| namedref5 = 5th named character reference
...
| ref5char10 = 10th character code in 5th named character reference
}}
All character codes should be entered as bare hexadecimal numbers, ie Unicode code points should not be preceded by "U+" and decimal convention encodings should still specify code points by hex value. Hex characters are case insensitive, and will always appear in the template as capitalized code points, no matter the casing of the input. HTML named character references are automatically generated, but any other named character references must be explicitly listed, with any special characters specified using the standard HTML &xxx;
format.
All defined characters must be given a character name in order for the table to display that column. Characters not represented in a particular alternate encoding should have a blank or undefined parameter for that encoding.
For double byte, or other two code-unit encodings, each of the bytes can be separately converted to decimal if the code units are separated with a space. Greater than two code-unit input will erroneously convert only the first and last to decimal.
Contoh
[sunting sumber]Example with automatic XML named character references, explicit named reference, single and double byte character mappings, alternate image, and mixed casing of inputs.
{{charmap
| 0398 | name1 = Greek Capital Letter Theta
| 3b8 | name2 = Greek Small Letter Theta | image2=[[File:Greek lc theta icon.svg|10px]]
| map1 = [[ISO 8859-7]] | map1char1 = c8 | map1char2 = E8
| map2 = [[Code page 737|CP 737]] | map2char1 = 87 | map2char2 = 9F
| map3 = [[Code page 860|CP 860]], [[Code page 861|861]], [[Code page 862|862]], [[Code page 863|863]], [[Code page 865|865]]
| map3char1 = E9
| map4 = [[Code page 869|CP 869]] | map4char1 = Ac | map4char2 = E2
| map5 = [[EBCDIC 875]] | map5char1 = 48 | map5char2 = 9B
| map6 = [[GSM 03.38]] | map6char1 = 19
| map7 = [[TI calculator character sets#TI-86|TI-86]] | map7char2 = c1
| map8 = [[Shift JIS]] | map8char1 = 83 A6 | map8char2 = 83 C6
| namedref1 = [[TeX]] | ref1char1 = \Theta | ref1char2 = \theta }}
Pratayang | Θ | ![]() | ||
---|---|---|---|---|
Nama Unicode | GREEK CAPITAL LETTER THETA | GREEK SMALL LETTER THETA | ||
Pengodean | decimal | hex | dec | hex |
Unicode | 920 | U+0398 | 952 | U+03B8 |
UTF-8 | 206 152 | CE 98 | 206 184 | CE B8 |
Referensi karakter numerik | Θ |
Θ |
θ |
θ |
Referensi karakter bernama | Θ | θ | ||
ISO 8859-7 | 200 | C8 | 232 | E8 |
CP 737 (MS-DOS Greek) | 135 | 87 | 159 | 9F |
CP 860, 861, 862, 863, 865 | 233 | E9 | ||
CP 869 (MS-DOS Greek 2) | 172 | AC | 226 | E2 |
EBCDIC 875 | 72 | 48 | 155 | 9B |
GSM 03.38 | 25 | 19 | ||
TI-86 | 193 | C1 | ||
Shift JIS | 131 166 | 83 A6 | 131 198 | 83 C6 |
TeX | \Theta | \theta |
Example with automatic UTF-16 mappings, but no XML named character reference.
{{charmap
| 2C90 | name1 = Coptic Capital Letter Thethe
| 2C91 | name2 = Coptic Small Letter Thethe
| 10338 | name3 = Gothic Letter Thuth
}}
Pratayang | Ⲑ | ⲑ | 𐌸 | |||
---|---|---|---|---|---|---|
Nama Unicode | COPTIC CAPITAL LETTER THETHE | COPTIC SMALL LETTER THETHE | GOTHIC LETTER THUTH | |||
Pengodean | decimal | hex | dec | hex | dec | hex |
Unicode | 11408 | U+2C90 | 11409 | U+2C91 | 66360 | U+10338 |
UTF-8 | 226 178 144 | E2 B2 90 | 226 178 145 | E2 B2 91 | 240 144 140 184 | F0 90 8C B8 |
UTF-16 | 11408 | 2C90 | 11409 | 2C91 | 55296 57144 | D800 DF38 |
Referensi karakter numerik | Ⲑ |
Ⲑ |
ⲑ |
ⲑ |
𐌸 |
𐌸 |
Teknikal
[sunting sumber]Templat ini menggunakan beberapa sub-templat, termasuk
- /head - menayangkan seksi rujukan karakter UTF-8/numerik
- /alt - menayangkan encoding alternatif
- /named - menayangkan rujukan karakter bernama
Tergantung dari templat yang berikut
{{UTF-8}}
{{hex2dec}}
{{hexadecimal}}
{{trim}}
{{smallcaps all}}
{{numcr2namecr}}
{{!}}
and{{!!}}
dan fungsi-fungsi kata ajaib (magic words) / parser functions #if:, padleft:, and uc:.