Template:Lua/testcases: Difference between revisions
Template page
More actions
Created page with "<!--{{TOC left|top=0}}-->{{Testcases notice}}{{clear}} == 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=With namespace |nocat=true |Module:Example}} == With wrong content-model == {{Test..." |
(No difference)
|
Latest revision as of 22:33, 13 March 2025
| This is the template test cases page for the sandbox of Template:Lua. 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 and parsers with these links: |
No parameters
No parameters
{{Lua|nocat=true}}
| {{Lua}} | {{Lua/sandbox}} | ||
|---|---|---|---|
| Script error: No such module "Lua banner/sandbox". |
Without namespace
Without namespace
{{Lua|Example|nocat=true}}
| {{Lua}} | {{Lua/sandbox}} | ||
|---|---|---|---|
| Script error: No such module "Lua banner/sandbox". |
With namespace
With namespace
{{Lua|Module:Example|nocat=true}}
| {{Lua}} | {{Lua/sandbox}} | ||
|---|---|---|---|
| Script error: No such module "Lua banner/sandbox". |
With wrong content-model
With wrong content-model
{{Lua|Template:Example|nocat=true}}
| {{Lua}} | {{Lua/sandbox}} | ||
|---|---|---|---|
| Script error: No such module "Lua banner/sandbox". |
With nonexistent
With nonexistent
{{Lua|Module:$Example$|nocat=true}}
| {{Lua}} | {{Lua/sandbox}} | ||
|---|---|---|---|
| Script error: No such module "Lua banner/sandbox". |
With impossible
With impossible
{{Lua|Module:}Example{|nocat=true}}
| {{Lua}} | {{Lua/sandbox}} | ||
|---|---|---|---|
| Script error: No such module "Lua banner/sandbox". |
Two
Two
{{Lua|Module:Example|Module:Example|nocat=true}}
| {{Lua}} | {{Lua/sandbox}} | ||
|---|---|---|---|
| Script error: No such module "Lua banner/sandbox". |
Three
Three
{{Lua|Module:Example|Module:Example|Module:Example|nocat=true}}
| {{Lua}} | {{Lua/sandbox}} | ||
|---|---|---|---|
| Script error: No such module "Lua banner/sandbox". |
Four
Four
{{Lua|Module:Example|Module:Example|Module:Example|Module:Example|nocat=true}}
| {{Lua}} | {{Lua/sandbox}} | ||
|---|---|---|---|
| Script error: No such module "Lua banner/sandbox". |