Template:Sortname/testcases

Testing sandbox versionEdit

Interactions between dab, nolink and param3
{{Sortname/sandbox|Tom|Jones}}
{{Sortname/sandbox|Tom|Jones|dab=singer}}
{{Sortname/sandbox|Tom|Jones|Tom Jones (singer)}}
{{Sortname/sandbox|Tom|Jones|Tom Jones (singer)|dab=ignored with param3}}
{{Sortname/sandbox|Tom|Jones|nolink=1}}
{{Sortname/sandbox|Tom|Jones|ignored with nolink|nolink=1}}
{{Sortname/sandbox|Tom|Jones|dab=ignored with nolink|nolink=1}}
{{Sortname/sandbox||-}}
Tom Jones
Tom Jones
Tom Jones
Tom Jones
Tom Jones
Tom Jones
Tom Jones
-
Interactions between dab and param4
table to test sort keys in the sandbox
# What you type What's displayed
sort this column
What's sorted What's linked
1 {{sortname/sandbox|Tom|Jones|dab=singer}} Tom Jones Jones, Tom [[Lua error: Missing close-bracket for character set beginning at pattern character 3.Í
2 {{sortname/sandbox|Tom|Jones||Z|dab=singer}} [[|Tom Jones]] Z [[Lua error: Missing close-bracket for character set beginning at pattern character 3.Í
3 {{sortname/sandbox|Tom|Jones||A|dab=singer}} [[|Tom Jones]] A [[Lua error: Missing close-bracket for character set beginning at pattern character 3.Í
4 {{sortname/sandbox|Tom|Jones|dab=singer||Q}} [[|Tom Jones]] Q [[Lua error: Missing close-bracket for character set beginning at pattern character 3.Í
5 {{sortname/sandbox|Tom|Jones|dab=singer||P}} [[|Tom Jones]] P [[Lua error: Missing close-bracket for character set beginning at pattern character 3.Í
6 '''{{sortname/sandbox|Tom|Jones|dab=singer||R}}''' [[|Tom Jones]] R [[Lua error: Missing close-bracket for character set beginning at pattern character 3.Í

Testing main templateEdit

Interactions between dab, nolink and param3
{{Sortname|Tom|Jones}}
{{Sortname|Tom|Jones|dab=singer}}
{{Sortname|Tom|Jones|Tom Jones (singer)}}
{{Sortname|Tom|Jones|Tom Jones (singer)|dab=ignored with param3}}
{{Sortname|Tom|Jones|nolink=1}}
{{Sortname|Tom|Jones|ignored with nolink|nolink=1}}
{{Sortname|Tom|Jones|dab=ignored with nolink|nolink=1}}
{{Sortname||-}}
Tom Jones
Tom Jones
Tom Jones
Tom Jones
Tom Jones
Tom Jones
Tom Jones
-
Interactions between dab and param4
table to test sort keys in the active template
# What you type What's displayed
sort this column
What's sorted What's linked
1 {{sortname|Tom|Jones|dab=singer}} Tom Jones Jones, Tom [[Lua error: Missing close-bracket for character set beginning at pattern character 3.Í
2 {{sortname|Tom|Jones||Z|dab=singer}} Tom Jones Z [[Lua error: Missing close-bracket for character set beginning at pattern character 3.Í
3 {{sortname|Tom|Jones||A|dab=singer}} Tom Jones A [[Lua error: Missing close-bracket for character set beginning at pattern character 3.Í
4 {{sortname|Tom|Jones|dab=singer||Q}} Tom Jones Q [[Lua error: Missing close-bracket for character set beginning at pattern character 3.Í
5 {{sortname|Tom|Jones|dab=singer||P}} Tom Jones P [[Lua error: Missing close-bracket for character set beginning at pattern character 3.Í
6 '''{{sortname|Tom|Jones|dab=singer||R}}''' Tom Jones R [[Lua error: Missing close-bracket for character set beginning at pattern character 3.Í