Template:Nihongo krt/testcases

With first parameter present

No. Code {{Nihongo krt}} {{Nihongo krt/sandbox}}
1 {{Nihongo krt|Japan}} error: {{nihongo krt}}: Japanese or romaji text required (help) Script error: The function "nihongokrt" does not exist.
2 {{Nihongo krt|Japan|日本}} 日本 (Japan) Script error: The function "nihongokrt" does not exist.
3 {{Nihongo krt|Japan|日本|lead=yes}} 日本 (Japan) Script error: The function "nihongokrt" does not exist.
4 {{Nihongo krt|Japan||Nippon}} Nippon (Japan) Script error: The function "nihongokrt" does not exist.
5 {{Nihongo krt|Japan|日本|Nippon}} 日本 (Nippon, Japan) Script error: The function "nihongokrt" does not exist.
6 {{Nihongo krt|Japan|日本|Nippon|Extra}} 日本 (Nippon, Japan, Extra) Script error: The function "nihongokrt" does not exist.
7 {{Nihongo krt|Japan|日本|Nippon|Extra|Extra2}} 日本 (Nippon, Japan, Extra) Extra2 Script error: The function "nihongokrt" does not exist.
8 {{Nihongo krt|Japan||Nippon|Extra|Extra2}} Nippon (Japan, Extra) Extra2 Script error: The function "nihongokrt" does not exist.
9 {{Nihongo krt|Japan|日本||Extra|Extra2}} 日本 (Japan, Extra) Extra2 Script error: The function "nihongokrt" does not exist.
10 {{Nihongo krt|Japan|||Extra|Extra2}} error: {{nihongo krt}}: Japanese or romaji text required (help) Script error: The function "nihongokrt" does not exist.
11 {{Nihongo krt|Japan||||Extra2}} error: {{nihongo krt}}: Japanese or romaji text required (help) Script error: The function "nihongokrt" does not exist.

With first parameter absent

No. Code {{Nihongo krt}} {{Nihongo krt/sandbox}}
12 {{Nihongo krt|}} error: {{nihongo krt}}: Japanese or romaji text required (help) Script error: The function "nihongokrt" does not exist.
13 {{Nihongo krt||日本}} 日本 Script error: The function "nihongokrt" does not exist.
14 {{Nihongo krt|||Nippon}} Nippon Script error: The function "nihongokrt" does not exist.
15 {{Nihongo krt||日本|Nippon}} 日本 (Nippon) Script error: The function "nihongokrt" does not exist.
16 {{Nihongo krt||日本|Nippon|Extra}} 日本 (Nippon, Extra) Script error: The function "nihongokrt" does not exist.
17 {{Nihongo krt||日本|Nippon|Extra|Extra2}} 日本 (Nippon, Extra) Extra2 Script error: The function "nihongokrt" does not exist.
18 {{Nihongo krt|||Nippon|Extra|Extra2}} Nippon (Extra) Extra2 Script error: The function "nihongokrt" does not exist.
19 {{Nihongo krt||日本||Extra|Extra2}} 日本 (Extra) Extra2 Script error: The function "nihongokrt" does not exist.
20 {{Nihongo krt||||Extra|Extra2}} error: {{nihongo krt}}: Japanese or romaji text required (help) Script error: The function "nihongokrt" does not exist.
21 {{Nihongo krt|||||Extra2}} error: {{nihongo krt}}: Japanese or romaji text required (help) Script error: The function "nihongokrt" does not exist.

With first parameter present; template wrapped in bold markup

No. Code {{Nihongo krt}} {{Nihongo krt/sandbox}}
22 '''{{Nihongo krt|Japan}}''' error: {{nihongo krt}}: Japanese or romaji text required (help) Script error: The function "nihongokrt" does not exist.
23 '''{{Nihongo krt|Japan|日本}}''' 日本 (Japan) Script error: The function "nihongokrt" does not exist.
24 '''{{Nihongo krt|Japan||Nippon}}''' Nippon (Japan) Script error: The function "nihongokrt" does not exist.
25 '''{{Nihongo krt|Japan|日本|Nippon}}''' 日本 (Nippon, Japan) Script error: The function "nihongokrt" does not exist.
26 '''{{Nihongo krt|Japan|日本|Nippon|Extra}}''' 日本 (Nippon, Japan, Extra) Script error: The function "nihongokrt" does not exist.
27 '''{{Nihongo krt|Japan|日本|Nippon|Extra|Extra2}}''' 日本 (Nippon, Japan, Extra) Extra2 Script error: The function "nihongokrt" does not exist.
28 '''{{Nihongo krt|Japan||Nippon|Extra|Extra2}}''' Nippon (Japan, Extra) Extra2 Script error: The function "nihongokrt" does not exist.
29 '''{{Nihongo krt|Japan|日本||Extra|Extra2}}''' 日本 (Japan, Extra) Extra2 Script error: The function "nihongokrt" does not exist.
30 '''{{Nihongo krt|Japan|日本||Extra}}''' 日本 (Japan, Extra) Script error: The function "nihongokrt" does not exist.
31 '''{{Nihongo krt|Japan|||Extra|Extra2}}''' error: {{nihongo krt}}: Japanese or romaji text required (help) Script error: The function "nihongokrt" does not exist.
32 '''{{Nihongo krt|Japan||||Extra2}}''' error: {{nihongo krt}}: Japanese or romaji text required (help) Script error: The function "nihongokrt" does not exist.

With first parameter absent; template wrapped in bold markup

No. Code {{Nihongo krt}} {{Nihongo krt/sandbox}}
33 '''{{Nihongo krt}}''' error: {{nihongo krt}}: Japanese or romaji text required (help)'''<span class="error" style="font-size:100%">error: {{nihongo krt}}: Japanese or romaji text required ([[Template:nihongo krt|help]])</span>''' Script error: The function "nihongokrt" does not exist.'''<strong class="error"><span class="scribunto-error mw-scribunto-error-277ff026">Script error: The function &quot;nihongokrt&quot; does not exist.</span></strong>'''
34 '''{{Nihongo krt||日本}}''' 日本 Script error: The function "nihongokrt" does not exist.
35 '''{{Nihongo krt|||Nippon}}''' Nippon Script error: The function "nihongokrt" does not exist.
36 '''{{Nihongo krt||日本|Nippon}}''' 日本 (Nippon) Script error: The function "nihongokrt" does not exist.
37 '''{{Nihongo krt||日本|Nippon|Extra}}''' 日本 (Nippon, Extra) Script error: The function "nihongokrt" does not exist.
38 '''{{Nihongo krt||日本|Nippon|Extra|Extra2}}''' 日本 (Nippon, Extra) Extra2 Script error: The function "nihongokrt" does not exist.
39 '''{{Nihongo krt|||Nippon|Extra|Extra2}}''' Nippon (Extra) Extra2 Script error: The function "nihongokrt" does not exist.
40 '''{{Nihongo krt||日本||Extra|Extra2}}''' 日本 (Extra) Extra2 Script error: The function "nihongokrt" does not exist.
41 '''{{Nihongo krt||日本||Extra}}''' 日本 (Extra) Script error: The function "nihongokrt" does not exist.
42 '''{{Nihongo krt||||Extra|Extra2}}''' error: {{nihongo krt}}: Japanese or romaji text required (help) Script error: The function "nihongokrt" does not exist.
43 '''{{Nihongo krt|||||Extra2}}''' error: {{nihongo krt}}: Japanese or romaji text required (help) Script error: The function "nihongokrt" does not exist.

With romaji that may cause kerning issues (just look how italics text touches the first and final bracket) ← like that.

No. Code {{Nihongo krt}} {{Nihongo krt/sandbox}}
44 {{Nihongo krt|well, it's big|じゃ、大きい|ja, ōkii}} じゃ、大きい (ja, ōkii, well, it's big) Script error: The function "nihongokrt" does not exist.
45 {{Nihongo krt|||ja, ōkii}} ja, ōkii Script error: The function "nihongokrt" does not exist.
46 {{Nihongo krt||じゃ、大きい|ja, ōkii}} じゃ、大きい (ja, ōkii) Script error: The function "nihongokrt" does not exist.
47 {{Nihongo krt||じゃ、大きい|ja, ōkii|Extra}} じゃ、大きい (ja, ōkii, Extra) Script error: The function "nihongokrt" does not exist.
48 {{Nihongo krt||じゃ、大きい|ja, ōkii|Extra|Extra2}} じゃ、大きい (ja, ōkii, Extra) Extra2 Script error: The function "nihongokrt" does not exist.
49 {{Nihongo krt|||ja, ōkii|Extra|Extra2}} ja, ōkii (Extra) Extra2 Script error: The function "nihongokrt" does not exist.