Template:CJKV/testcases

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Untitled testcase

[edit source]

Compares traditional Chinese

[edit source]

Compares simplified Chinese

[edit source]

Compares traditional Chinese and simplified Chinese

[edit source]
  • {{CJKV|s=李四 |t=李四}}Chinese: 李四
  • {{CJKV/sandbox|s=李四 |t=李四}}Chinese: 李四

Compares traditional Chinese, simplified Chinese, and Japanese

[edit source]

Combined

[edit source]

Separated

[edit source]

Compares traditional Chinese, simplified Chinese, Japanese and Kanji

[edit source]

Compares traditional Chinese, simplified Chinese, Japanese, Kanji and "literally"

[edit source]
  • {{CJKV|j=李四 |k=이사} |l=foobar |s=李四 |t=李四}}Chinese and Japanese: 李四; Korean: 이사}; lit. 'foobar'
  • {{CJKV/sandbox|j=李四 |k=이사} |l=foobar |s=李四 |t=李四}}Chinese and Japanese: 李四; Korean: 이사}; lit.'foobar'

Simplified and traditional Chinese can be combined together

[edit source]

Combined Chinese parameter will overwrite existing ones

[edit source]
  • {{CJKV|c=黄飞鸿 |j=黄飛鴻 |k=황비홍 |s=黄飞鸿 |t=黃飛鴻}}Chinese: 黄飞鸿; Japanese: 黄飛鴻; Korean: 황비홍
  • {{CJKV/sandbox|c=黄飞鸿 |j=黄飛鴻 |k=황비홍 |s=黄飞鸿 |t=黃飛鴻}}Chinese: 黄飞鸿; Japanese: 黄飛鴻; Korean: 황비홍

Overwritten Chinese parameter should not hide Japanese

[edit source]
  • {{CJKV|c=黄飞鸿 |j=黃飛鴻 |t=黃飛鴻}}Chinese: 黄飞鸿;
  • {{CJKV/sandbox|c=黄飞鸿 |j=黃飛鴻 |t=黃飛鴻}}Chinese: 黄飞鸿;

Compares Chinese and Cantonese Jyutping, without pinyin

[edit source]

Compares Chinese, Japanese, and Cantonese Jyutping

[edit source]

Compares traditional Chinese and pinyin, without simplified Chinese

[edit source]

Mixed Han and Latin characters

[edit source]

The -Hani, -Hans and -Hant variant tags should still allow Latin characters:

Separated |t= and |s=

[edit source]

Combined |c=

[edit source]
  • {{CJKV|c=hani漢字}}Chinese: hani漢字
  • {{CJKV/sandbox|c=hani漢字}}Chinese: hani漢字
  • {{CJKV|c=hani漢字 |j=hani漢字}}Chinese and Japanese: hani漢字
  • {{CJKV/sandbox|c=hani漢字 |j=hani漢字}}Chinese and Japanese: hani漢字

All parameters

[edit source]

Without combined Chinese

[edit source]

Without traditional Chinese nor simplified Chinese

[edit source]

With all of combined, traditional and simplified Chinese

[edit source]