Pergi ke kandungan

Modul:template parser/testcases/doc

Daripada Wikikamus

Ini ialah laman pendokumenan untuk Modul:template parser/testcases

All tests passed. (refresh)

TextExpectedActual
test_basic:
Passed
{{l|en|word}}
{"link", {"en", "word"}}{"link", {"en", "word"}}
Passed
{{t|cmn|大老二|tr={{m|cmn|dà lǎo èr}}}}
{"t", {"cmn", "大老二", tr="{{m|cmn|dà lǎo èr}}"}}{"t", {"cmn", "大老二", tr="{{m|cmn|dà lǎo èr}}"}}
Passed
{{t|akk|𒁀|tr=[[Image:B014ellst.png|30px]] qiāšu, BA}}
{"t", {"akk", "𒁀", tr="[[Image:B014ellst.png|30px]] qiāšu, BA"}}{"t", {"akk", "𒁀", tr="[[Image:B014ellst.png|30px]] qiāšu, BA"}}
TextExpectedActual
test_whitespace:
Passed
{{l| en | word
}}
{"link", {" en ", " word\n"}}{"link", {" en ", " word\n"}}
Passed
{{l| en | 2 = word
}}
{"link", {" en ", "word"}}{"link", {" en ", "word"}}
Passed
{{l| 1 = en | word
}}
{"link", {" word\n"}}{"link", {" word\n"}}