The below tables show the output as rendered through {{Module:Labelled list hatnote/testcases/template}}, which provides a set of template calls from the module and its sandbox version for comparison, corresponding to each table entry. Some details follow:
- "Universal" label means that only one label is provided, "Universal".
- "Basic" means that two labels are provided, "Singular" and "Plural" in that order.
- "with ifexists" means that the "ifexists" option is enabled for that test
- "Namespace-based labels" means that four labels are provided, "Main", "Mains", "Other", "Others", which allows the label to be based on the namespaces of the target titles: if any non-mainspace pages are targeted then "Other" or "Others" labels should be picked, and otherwise, "Main" or "Mains" labels should be picked.
No input
No-input test cases
| Test case
|
Main output
|
Sandbox output
|
| No template-level input
|
Error: no page names specified (help).
|
Error: no page names specified (help).
|
| "Universal" label
|
Error: no page names specified (help).
|
Error: no page names specified (help).
|
| "Universal" label with ifexists
|
|
|
| "Basic" labels ("Singular" & "Plural")
|
Error: no page names specified (help).
|
Error: no page names specified (help).
|
| "Basic" labels with ifexists
|
|
|
| Extraclasses
|
Error: no page names specified (help).
|
Error: no page names specified (help).
|
| Namespace-based labels
|
Error: no page names specified (help).
|
Error: no page names specified (help).
|
One existent input
One existent input test cases
| Test case
|
Main output
|
Sandbox 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 case
|
Main output
|
Sandbox 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 case
|
Main output
|
Sandbox 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 case
|
Main output
|
Sandbox 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 case
|
Main output
|
Sandbox 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 case
|
Main output
|
Sandbox 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 case
|
Main output
|
Sandbox 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 case
|
Main output
|
Sandbox 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 case
|
Main output
|
Sandbox 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 case
|
Main output
|
Sandbox 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 case
|
Main output
|
Sandbox 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 case
|
Main output
|
Sandbox output
|
| No template-level input
|
|
|
| "Universal" label
|
|
|
| "Universal" label with ifexists
|
|
|
| "Basic" labels ("Singular" & "Plural")
|
|
|
| "Basic" labels with ifexists
|
|
|
| Extraclasses
|
|
|
| Namespace-based labels
|
|
|