Jump to content

Module:Labelled list hatnote/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Nihiltres (talk | contribs) at 16:53, 31 May 2022 (Fixed (copy/pasted) test error). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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 Error: no page names specified (help). Error: no page names specified (help).
"Basic" labels Error: no page names specified (help). Error: no page names specified (help).
"Basic" labels with ifexists Error: no page names specified (help). Error: no page names specified (help).
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
"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
"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
"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
"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
"Basic" labels with ifexists
Extraclasses
Namespace-based labels