Template:Lua/testcases

From The Right Wiki
Jump to navigationJump to search

No parameters

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

Without namespace

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

With namespace

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

With wrong content-model

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

With nonexistent

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

With impossible

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

Two

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

Three

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

Four

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