Difference between revisions of "Template:Lua/testcases"
Jump to navigation
Jump to search
imported>Andrybak m (→One: fixup) |
imported>Andrybak (add |nocat=true to suppress categorization) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
== No parameters == | == No parameters == | ||
{{Test case|_collapsible=yes|_showcode=yes|_format=columns|_title=No parameters | {{Test case|_collapsible=yes|_showcode=yes|_format=columns|_title=No parameters | ||
| + | |nocat=true | ||
}} | }} | ||
| + | == Without namespace == | ||
| + | {{Test case|_collapsible=yes|_showcode=yes|_format=columns|_title=Without namespace | ||
| + | |nocat=true | ||
| + | |Example}} | ||
| − | == | + | == With namespace == |
| − | {{Test case|_collapsible=yes|_showcode=yes|_format=columns|_title= | + | {{Test case|_collapsible=yes|_showcode=yes|_format=columns|_title=With namespace |
| + | |nocat=true | ||
|Module:Example}} | |Module:Example}} | ||
== Two == | == Two == | ||
{{Test case|_collapsible=yes|_showcode=yes|_format=columns|_title=Two | {{Test case|_collapsible=yes|_showcode=yes|_format=columns|_title=Two | ||
| + | |nocat=true | ||
|Module:Example|Module:Example}} | |Module:Example|Module:Example}} | ||
== Three == | == Three == | ||
{{Test case|_collapsible=yes|_showcode=yes|_format=columns|_title=Three | {{Test case|_collapsible=yes|_showcode=yes|_format=columns|_title=Three | ||
| + | |nocat=true | ||
|Module:Example|Module:Example|Module:Example}} | |Module:Example|Module:Example|Module:Example}} | ||
== Four == | == Four == | ||
{{Test case|_collapsible=yes|_showcode=yes|_format=columns|_title=Four | {{Test case|_collapsible=yes|_showcode=yes|_format=columns|_title=Four | ||
| + | |nocat=true | ||
|Module:Example|Module:Example|Module:Example|Module:Example}} | |Module:Example|Module:Example|Module:Example|Module:Example}} | ||
Latest revision as of 08:45, 6 September 2020
| This is the template test cases page for the sandbox of Template:Lua. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
No parameters
| No parameters | ||||||||
|---|---|---|---|---|---|---|---|---|
{{Lua|nocat=true}}
|
Without namespace
| Without namespace | ||||||||
|---|---|---|---|---|---|---|---|---|
{{Lua|Example|nocat=true}}
|
With namespace
| With namespace | ||||||||
|---|---|---|---|---|---|---|---|---|
{{Lua|Module:Example|nocat=true}}
|
Two
| Two | ||||||||
|---|---|---|---|---|---|---|---|---|
{{Lua|Module:Example|Module:Example|nocat=true}}
|
Three
| Three | ||||||||
|---|---|---|---|---|---|---|---|---|
{{Lua|Module:Example|Module:Example|Module:Example|nocat=true}}
|
Four
| Four | ||||||||
|---|---|---|---|---|---|---|---|---|
{{Lua|Module:Example|Module:Example|Module:Example|Module:Example|nocat=true}}
|