Jump to content

Module:Labelled list hatnote/testcases/template/doc

From Wikipedia, the free encyclopedia


This template provides a number of template invocations of Module:Labelled list hatnote and its sandbox with which to test all the functionality of those modules. The template provides a "test" parameter that switches between invocations. A table explaining the current "test" values and their corresponding invocation parameters follows:

Values for test parameter
Test name value Module invoked Test invocation parameters
universal Module:Labelled list hatnote 1=Universal
universal-sandbox Module:Labelled list hatnote/sandbox 1=Universal
universal-ifexists Module:Labelled list hatnote 1=Universal, ifexists=true
universal-ifexists-sandbox Module:Labelled list hatnote/sandbox 1=Universal, ifexists=true
basic Module:Labelled list hatnote 1=Singular, 2=Plural
basic-sandbox Module:Labelled list hatnote/sandbox 1=Singular, 2=Plural
basic-ifexists Module:Labelled list hatnote 1=Singular, 2=Plural, ifexists=true
basic-ifexists-sandbox Module:Labelled list hatnote/sandbox 1=Singular, 2=Plural, ifexists=true
extraclasses Module:Labelled list hatnote 1=Singular, 2=Plural, extraclasses=foobar
extraclasses-sandbox Module:Labelled list hatnote/sandbox 1=Singular, 2=Plural, extraclasses=foobar
namespace Module:Labelled list hatnote 1=Main, 2=Mains, 3=Other, 4=Others
namespace-sandbox Module:Labelled list hatnote/sandbox 1=Main, 2=Mains, 3=Other, 4=Others
sandbox Module:Labelled list hatnote/sandbox none
default Module:Labelled list hatnote none