Module:Labelled list hatnote/testcases/template/doc

From English Wikipedia @ Freddythechick

This is the current revision of this page, as edited by imported>Nickps at 23:05, 29 August 2024 (Added the page to Category:Module documentation pages). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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