Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:CJKV/testcases

From Wikipedia, the free encyclopedia

Untitled testcase

[edit]

Compares traditional Chinese

[edit]

Compares simplified Chinese

[edit]

Compares traditional Chinese and simplified Chinese

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

Compares traditional Chinese, simplified Chinese, and Japanese

[edit]

Combined

[edit]

Separated

[edit]

Compares traditional Chinese, simplified Chinese, Japanese and Kanji

[edit]

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

[edit]
  • {{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]

Combined Chinese parameter will overwrite existing ones

[edit]
  • {{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]
  • {{CJKV|c=黄飞鸿 |j=黃飛鴻 |t=黃飛鴻}} → Chinese: 黄飞鸿;
  • {{CJKV/sandbox|c=黄飞鸿 |j=黃飛鴻 |t=黃飛鴻}} → Chinese: 黄飞鸿;

Compares Chinese and Cantonese Jyutping, without pinyin

[edit]

Compares Chinese, Japanese, and Cantonese Jyutping

[edit]

Compares traditional Chinese and pinyin, without simplified Chinese

[edit]

Mixed Han and Latin characters

[edit]

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

Separated |t= and |s=

[edit]

Combined |c=

[edit]
  • {{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]

Without combined Chinese

[edit]

Without traditional Chinese nor simplified Chinese

[edit]

With all of combined, traditional and simplified Chinese

[edit]