Template:CJKV/testcases
Jump to navigation
Jump to search
Separated
[edit source]
Combined
[edit source]
| icon | This is the template test cases page for the sandbox of Template:CJKV. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Untitled testcase
[edit source]{{CJKV|s=张三 |t=張三}}→ traditional Chinese: 張三; simplified Chinese: 张三{{CJKV/sandbox|s=张三 |t=張三}}→ traditional Chinese: 張三; simplified Chinese: 张三
Compares traditional Chinese
[edit source]{{CJKV|t=李四}}→ traditional Chinese: 李四{{CJKV/sandbox|t=李四}}→ traditional Chinese: 李四
Compares simplified Chinese
[edit source]{{CJKV|s=李四}}→ simplified Chinese: 李四{{CJKV/sandbox|s=李四}}→ simplified Chinese: 李四
Compares traditional Chinese and simplified Chinese
[edit source]Compares traditional Chinese, simplified Chinese, and Japanese
[edit source]Combined
[edit source]{{CJKV|j=李四 |s=李四 |t=李四}}→ Chinese and Japanese: 李四{{CJKV/sandbox|j=李四 |s=李四 |t=李四}}→ Chinese and Japanese: 李四
Separated
[edit source]{{CJKV|j=アナンタ |s=无限大 |t=無限大}}→ traditional Chinese: 無限大; simplified Chinese: 无限大Japanese: アナンタ{{CJKV/sandbox|j=アナンタ |s=无限大 |t=無限大}}→ traditional Chinese: 無限大; simplified Chinese: 无限大; Japanese: アナンタ
Compares traditional Chinese, simplified Chinese, Japanese and Kanji
[edit source]{{CJKV|j=李四 |k=이사 |s=李四 |t=李四}}→ Chinese and Japanese: 李四; Korean: 이사{{CJKV/sandbox|j=李四 |k=이사 |s=李四 |t=李四}}→ Chinese and Japanese: 李四; Korean: 이사
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]{{CJKV|c=皇居 |j=皇居 |k=고쿄}}→ Chinese and Japanese: 皇居; Korean: 고쿄{{CJKV/sandbox|c=皇居 |j=皇居 |k=고쿄}}→ Chinese and Japanese: 皇居; Korean: 고쿄
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]Compares Chinese and Cantonese Jyutping, without pinyin
[edit source]{{CJKV|c=上 |cj=soeng6}}→ Chinese: 上Cantonese Jyutping: soeng6{{CJKV/sandbox|c=上 |cj=soeng6}}→ Chinese: 上; Cantonese Jyutping: soeng6
Compares Chinese, Japanese, and Cantonese Jyutping
[edit source]{{CJKV|c=上 |cj=soeng6 |j=上}}→ Chinese and Japanese: 上Cantonese Jyutping: soeng6;{{CJKV/sandbox|c=上 |cj=soeng6 |j=上}}→ Chinese and Japanese: 上; Cantonese Jyutping: soeng6;
{{CJKV|cj=soeng6 |j=上 |s=上 |t=上}}→ Chinese and Japanese: 上Cantonese Jyutping: soeng6;{{CJKV/sandbox|cj=soeng6 |j=上 |s=上 |t=上}}→ Chinese and Japanese: 上; Cantonese Jyutping: soeng6;
Compares traditional Chinese and pinyin, without simplified Chinese
[edit source]{{CJKV|p=Táiwān |t=臺灣}}→ traditional Chinese: 臺灣; ; pinyin: Táiwān{{CJKV/sandbox|p=Táiwān |t=臺灣}}→ traditional Chinese: 臺灣; pinyin: Táiwān
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]{{CJKV|j=J漢字 |s=S汉字 |t=T漢字}}→ traditional Chinese: T漢字; simplified Chinese: S汉字Japanese: J漢字{{CJKV/sandbox|j=J漢字 |s=S汉字 |t=T漢字}}→ traditional Chinese: T漢字; simplified Chinese: S汉字; Japanese: J漢字
{{CJKV|j=hani漢字 |s=hani汉字 |t=hani漢字}}→ traditional Chinese and Japanese: hani漢字; simplified Chinese: hani汉字{{CJKV/sandbox|j=hani漢字 |s=hani汉字 |t=hani漢字}}→ traditional Chinese and Japanese: hani漢字; simplified Chinese: hani汉字
{{CJKV|j=hani字体 |s=hani字体 |t=hani字體}}→ traditional Chinese: hani字體; simplified Chinese and Japanese: hani字体{{CJKV/sandbox|j=hani字体 |s=hani字体 |t=hani字體}}→ traditional Chinese: hani字體; simplified Chinese and Japanese: hani字体
Combined |c=
[edit source]{{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]{{CJKV|cj=cj |cy=cy |j=j |k=k |l=l |p=p |r=r |rr=rr |s=简 |t=繁 |tp=tp |v=v |w=w}}→ traditional Chinese: 繁; simplified Chinese: 简; pinyin: p; Tongyong Pinyin: tp; Cantonese Jyutping: cj; Cantonese Yale: cy; Wade–Giles: w; Japanese: j; rōmaji: r; Korean: k; romaja: rr; Vietnamese: v; lit. 'l'{{CJKV/sandbox|cj=cj |cy=cy |j=j |k=k |l=l |p=p |r=r |rr=rr |s=简 |t=繁 |tp=tp |v=v |w=w}}→ traditional Chinese: 繁; simplified Chinese: 简; pinyin: p; Tongyong Pinyin: tp; Cantonese Jyutping: cj; Cantonese Yale: cy; Wade–Giles: w; Japanese: j; rōmaji: r; Korean: k; romaja: rr; Vietnamese: v; lit. 'l'
Without traditional Chinese nor simplified Chinese
[edit source]{{CJKV|c=中 |cj=cj |cy=cy |j=j |k=k |l=l |p=p |r=r |rr=rr |tp=tp |v=v |w=w}}→ Chinese: 中; pinyin: p; Tongyong Pinyin: tp; Cantonese Jyutping: cj; Cantonese Yale: cy; Wade–Giles: w; Japanese: j; rōmaji: r; Korean: k; romaja: rr; Vietnamese: v; lit. 'l'{{CJKV/sandbox|c=中 |cj=cj |cy=cy |j=j |k=k |l=l |p=p |r=r |rr=rr |tp=tp |v=v |w=w}}→ Chinese: 中; pinyin: p; Tongyong Pinyin: tp; Cantonese Jyutping: cj; Cantonese Yale: cy; Wade–Giles: w; Japanese: j; rōmaji: r; Korean: k; romaja: rr; Vietnamese: v; lit. 'l'
With all of combined, traditional and simplified Chinese
[edit source]{{CJKV|c=中 |cj=cj |cy=cy |j=j |k=k |l=l |p=p |r=r |rr=rr |s=简 |t=繁 |tp=tp |v=v |w=w}}→ Chinese: 中; pinyin: p; Tongyong Pinyin: tp; Cantonese Jyutping: cj; Cantonese Yale: cy; Wade–Giles: w; Japanese: j; rōmaji: r; Korean: k; romaja: rr; Vietnamese: v; lit. 'l'{{CJKV/sandbox|c=中 |cj=cj |cy=cy |j=j |k=k |l=l |p=p |r=r |rr=rr |s=简 |t=繁 |tp=tp |v=v |w=w}}→ Chinese: 中; pinyin: p; Tongyong Pinyin: tp; Cantonese Jyutping: cj; Cantonese Yale: cy; Wade–Giles: w; Japanese: j; rōmaji: r; Korean: k; romaja: rr; Vietnamese: v; lit. 'l'