Module:Labelled list hatnote/testcases/template: Difference between revisions
From Kenshi Wiki
More actions
Prd created the page Module:Labelled list hatnote/testcases/template using a non-default content model "wikitext" |
No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly>{{#switch:{{{test}}} | |||
|universal<!-- -->={{#invoke:labelled list hatnote<!-- -->|labelledList|Universal}} | |||
|universal-sandbox={{#invoke:labelled list hatnote/sandbox|labelledList|Universal}} | |||
|universal-ifexists<!-- -->={{#invoke:labelled list hatnote<!-- -->|labelledList|Universal|ifexists=true}} | |||
|universal-ifexists-sandbox={{#invoke:labelled list hatnote/sandbox|labelledList|Universal|ifexists=true}} | |||
|basic<!-- -->={{#invoke:labelled list hatnote<!-- -->|labelledList|Singular|Plural}} | |||
|basic-sandbox={{#invoke:labelled list hatnote/sandbox|labelledList|Singular|Plural}} | |||
|basic-ifexists<!-- -->={{#invoke:labelled list hatnote<!-- -->|labelledList|Singular|Plural|ifexists=true}} | |||
|basic-ifexists-sandbox={{#invoke:labelled list hatnote/sandbox|labelledList|Singular|Plural|ifexists=true}} | |||
|extraclasses<!-- -->={{#invoke:labelled list hatnote<!-- -->|labelledList|Singular|Plural|extraclasses=foobar}} | |||
|extraclasses-sandbox={{#invoke:labelled list hatnote/sandbox|labelledList|Singular|Plural|extraclasses=foobar}} | |||
|namespace<!-- -->={{#invoke:labelled list hatnote<!-- -->|labelledList|Main|Mains|Other|Others}} | |||
|namespace-sandbox={{#invoke:labelled list hatnote/sandbox|labelledList|Main|Mains|Other|Others}} | |||
|sandbox=<!---->{{#invoke:labelled list hatnote/sandbox|labelledList}} | |||
|<!--default -->{{#invoke:labelled list hatnote<!-- -->|labelledList}} | |||
}}</includeonly><noinclude>{{documentation}}</noinclude> | |||
[[Category:Module testcases]] | |||
[[Category:Module sand&test]] | |||
Latest revision as of 01:10, 14 March 2025
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:
| 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 |