Jump to content

Ta‌̱mpi‌̱let:Nihongo/testcases

Neet di̱ Wikipedia

With first parameter present

No. Code {{Nihongo}} {{Nihongo/sandbox}}
1 {{Nihongo|Japan}} error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
2 {{Nihongo|Japan|日本}} Japan (日本) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
3 {{Nihongo|Japan||Nippon}} Japan (Nippon) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
4 {{Nihongo|Japan|日本|Nippon}} Japan (日本, Nippon) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
5 {{Nihongo|Japan|日本|Nippon|Extra}} Japan (日本, Nippon, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
6 {{Nihongo|Japan|日本|Nippon|Extra|Extra2}} Japan (日本, Nippon, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
7 {{Nihongo|Japan||Nippon|Extra|Extra2}} Japan (Nippon, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
8 {{Nihongo|Japan|日本||Extra|Extra2}} Japan (日本, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
9 {{Nihongo|Japan|日本||Extra}} Japan (日本, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
10 {{Nihongo|Japan|||Extra|Extra2}} error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
11 {{Nihongo|Japan||||Extra2}} error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.

With first parameter absent

No. Code {{Nihongo}} {{Nihongo/sandbox}}
12 {{Nihongo}} error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
13 {{Nihongo||日本}} (日本) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
14 {{Nihongo|||Nippon}} Nippon Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
15 {{Nihongo||日本|Nippon}} Nippon (日本) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
16 {{Nihongo||日本|Nippon|Extra}} Nippon (日本, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
17 {{Nihongo||日本|Nippon|Extra|Extra2}} Nippon (日本, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
18 {{Nihongo|||Nippon|Extra|Extra2}} Nippon (Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
19 {{Nihongo||日本||Extra|Extra2}} (日本, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
20 {{Nihongo||日本||Extra}} (日本, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
21 {{Nihongo||||Extra|Extra2}} error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
22 {{Nihongo|||||Extra2}} error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.

With first parameter present and |lead=yes

No. Code {{Nihongo}} {{Nihongo/sandbox}}
23 {{Nihongo|Japan|lead=yes}} error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
24 {{Nihongo|Japan|日本|lead=yes}} Japan (Ja̱pan: 日本) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
25 {{Nihongo|Japan||Nippon|lead=yes}} Japan (Hepburn: Nippon) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
26 {{Nihongo|Japan|日本|Nippon|lead=yes}} Japan (Ja̱pan: 日本, Hepburn: Nippon) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
27 {{Nihongo|Japan|日本|Nippon|Extra|lead=yes}} Japan (Ja̱pan: 日本, Hepburn: Nippon, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
28 {{Nihongo|Japan|日本|Nippon|Extra|Extra2|lead=yes}} Japan (Ja̱pan: 日本, Hepburn: Nippon, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
29 {{Nihongo|Japan||Nippon|Extra|Extra2|lead=yes}} Japan (Hepburn: Nippon, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
30 {{Nihongo|Japan|日本||Extra|Extra2|lead=yes}} Japan (Ja̱pan: 日本, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
31 {{Nihongo|Japan|日本||Extra|lead=yes}} Japan (Ja̱pan: 日本, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
32 {{Nihongo|Japan|||Extra|Extra2|lead=yes}} error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
33 {{Nihongo|Japan||||Extra2|lead=yes}} error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.

With first parameter absent and |lead=yes

No. Code {{Nihongo}} {{Nihongo/sandbox}}
34 {{Nihongo|lead=yes}} error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
35 {{Nihongo||日本|lead=yes}} (Ja̱pan: 日本) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
36 {{Nihongo|||Nippon|lead=yes}} Nippon Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
37 {{Nihongo||日本|Nippon|lead=yes}} Nippon (Ja̱pan: 日本) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
38 {{Nihongo||日本|Nippon|Extra|lead=yes}} Nippon (Ja̱pan: 日本, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
39 {{Nihongo||日本|Nippon|Extra|Extra2|lead=yes}} Nippon (Ja̱pan: 日本, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
40 {{Nihongo|||Nippon|Extra|Extra2|lead=yes}} Nippon (Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
41 {{Nihongo||日本||Extra|Extra2|lead=yes}} (Ja̱pan: 日本, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
42 {{Nihongo||日本||Extra|lead=yes}} (Ja̱pan: 日本, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
43 {{Nihongo||||Extra|Extra2|lead=yes}} error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
44 {{Nihongo|||||Extra2|lead=yes}} error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.

Other testcases

No. Code {{Nihongo}} {{Nihongo/sandbox}}
45 This {{Nihongo|should|||be|one}} line This error: {{nihongo}}: Japanese or romaji text required (help) line This Lua error in package.lua at line 80: module 'Module:UnitTests' not found. line
46 {{Nihongo|English|日本語|Nihon|How does this look with a very long explanation|that is being continued outside of the parentheses?}} English (日本語, Nihon, How does this look with a very long explanation) that is being continued outside of the parentheses? Lua error in package.lua at line 80: module 'Module:UnitTests' not found.

With first parameter present; template wrapped in bold markup

No. Code {{Nihongo}} {{Nihongo/sandbox}}
47 '''{{Nihongo|Japan}}''' error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
48 '''{{Nihongo|Japan|日本}}''' Japan (日本) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
49 '''{{Nihongo|Japan||Nippon}}''' Japan (Nippon) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
50 '''{{Nihongo|Japan|日本|Nippon}}''' Japan (日本, Nippon) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
51 '''{{Nihongo|Japan|日本|Nippon|Extra}}''' Japan (日本, Nippon, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
52 '''{{Nihongo|Japan|日本|Nippon|Extra|Extra2}}''' Japan (日本, Nippon, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
53 '''{{Nihongo|Japan||Nippon|Extra|Extra2}}''' Japan (Nippon, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
54 '''{{Nihongo|Japan|日本||Extra|Extra2}}''' Japan (日本, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
55 '''{{Nihongo|Japan|日本||Extra}}''' Japan (日本, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
56 '''{{Nihongo|Japan|||Extra|Extra2}}''' error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
57 '''{{Nihongo|Japan||||Extra2}}''' error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.

With first parameter absent; template wrapped in bold markup

No. Code {{Nihongo}} {{Nihongo/sandbox}}
58 '''{{Nihongo}}''' error: {{nihongo}}: Japanese or romaji text required (help)'''<span class="error" style="font-size:100%">error: {{nihongo}}: Japanese or romaji text required ([[Template:nihongo|help]])</span>''' Lua error in package.lua at line 80: module 'Module:UnitTests' not found.'''<strong class="error"><span class="scribunto-error mw-scribunto-error-edfc5003">Lua error in package.lua at line 80: module 'Module:UnitTests' not found.</span></strong>'''
59 '''{{Nihongo||日本}}''' (日本) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
60 '''{{Nihongo|||Nippon}}''' Nippon Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
61 '''{{Nihongo||日本|Nippon}}''' Nippon (日本) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
62 '''{{Nihongo||日本|Nippon|Extra}}''' Nippon (日本, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
63 '''{{Nihongo||日本|Nippon|Extra|Extra2}}''' Nippon (日本, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
64 '''{{Nihongo|||Nippon|Extra|Extra2}}''' Nippon (Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
65 '''{{Nihongo||日本||Extra|Extra2}}''' (日本, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
66 '''{{Nihongo||日本||Extra}}''' (日本, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
67 '''{{Nihongo||||Extra|Extra2}}''' error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
68 '''{{Nihongo|||||Extra2}}''' error: {{nihongo}}: Japanese or romaji text required (help) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.

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

No. Code {{Nihongo}} {{Nihongo/sandbox}}
69 {{Nihongo|well, it's big||ja, ōkii}} well, it's big (ja, ōkii) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
70 {{Nihongo|well, it's big|じゃ、じゃ、大きい|ja, ōkii}} well, it's big (じゃ、大きい, ja, ōkii) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
71 {{Nihongo|well, it's big|じゃ、大きい|ja, ōkii|Extra}} well, it's big (じゃ、大きい, ja, ōkii, Extra) Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
72 {{Nihongo|well, it's big|じゃ、大きい|ja, ōkii|Extra|Extra2}} well, it's big (じゃ、大きい, ja, ōkii, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.
73 {{Nihongo|well, it's big||ja, ōkii|Extra|Extra2}} well, it's big (ja, ōkii, Extra) Extra2 Lua error in package.lua at line 80: module 'Module:UnitTests' not found.