Jump to content

Template:Lua/testcases

From Wikipedia, the free encyclopedia

No parameters

[edit]
No parameters
{{Lua|nocat=true}}
Side by side comparison
{{Lua}}{{Lua/sandbox}}

Without namespace

[edit]
Without namespace
{{Lua|Example|nocat=true}}
Side by side comparison
{{Lua}}{{Lua/sandbox}}

With namespace

[edit]
With namespace
{{Lua|Module:Example|nocat=true}}
Side by side comparison
{{Lua}}{{Lua/sandbox}}

With wrong content-model

[edit]
With wrong content-model
{{Lua|Template:Example|nocat=true}}
Side by side comparison
{{Lua}}{{Lua/sandbox}}

With nonexistent

[edit]
With nonexistent
{{Lua|Module:$Example$|nocat=true}}
Side by side comparison
{{Lua}}{{Lua/sandbox}}

With impossible

[edit]
With impossible
{{Lua|Module:}Example{|nocat=true}}
Side by side comparison
{{Lua}}{{Lua/sandbox}}

Two

[edit]
Two
{{Lua|Module:Example|Module:Example|nocat=true}}
Side by side comparison
{{Lua}}{{Lua/sandbox}}

Three

[edit]
Three
{{Lua|Module:Example|Module:Example|Module:Example|nocat=true}}
Side by side comparison
{{Lua}}{{Lua/sandbox}}

Four

[edit]
Four
{{Lua|Module:Example|Module:Example|Module:Example|Module:Example|nocat=true}}
Side by side comparison
{{Lua}}{{Lua/sandbox}}