Module:Labelled list hatnote/testcases explained

The below tables show the output as rendered through {{}}, which provides a set of template calls from the module and its sandbox version for comparison, corresponding to each table entry. Some details follow:

No input

No-input test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels

One existent input

One existent input test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels

One nonexistent input

One nonexistent input test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels

Two existent inputs

Two existent inputs test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels

One existent and one nonexistent input

One existent and one nonexistent input test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels

Three existent inputs

Three existent inputs test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels

Two existent inputs and one nonexistent

Two existent inputs and one nonexistent test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels

Display override

Display override test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels

Single non-mainspace input

Single non-mainspace input test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels

Mixed-namespace input

Mixed-namespace test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels

Mixed-namespace and nonexistent input

Mixed-namespace and nonexistent input test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels

Six inputs and selfref feature

Six inputs and selfref feature test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels

Parameter gaps

Parameter gaps test cases
Test caseMain outputSandbox output
No template-level input
"Universal" label
"Universal" label with ifexists
"Basic" labels ("Singular" & "Plural")
"Basic" labels with ifexists
Extraclasses
Namespace-based labels