Module:template parser/testcases/documentation

Documentation for Module:template parser/testcases. [edit]
This page contains usage information, categories, interwiki links and other content describing the module.

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"}}