Template:Lua

From Zombie Panic! Official Wiki
Revision as of 09:16, 10 June 2025 by Wuffesan (talk | contribs) (Created page with "<includeonly>{{MessageBox |class = lua |header=This template uses {{#if: {{{demo|}}} |Module:Demo| [[Module:{{{1|{{{module|{{BASEPAGENAME}}}}}}}}]] }}, a script written in Lua. |image=Lua logo.svg |imagewidth=32px }}{{Namespace |template={{#if: {{{demo|}}} || {{#ifeq: {{BASEPAGENAME}} | {{PAGENAME}} | Category:Lua Templates }}}} }}</includeonly><noinclude>{{Documentation|type=Notice}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

This is a banner template that uses {{MessageBox}} to create the displayed banner:

This template uses Module:Demo, a script written in Lua.

It also adds the category Category:Lua Templates to track the Template it was put on.

Usage

Put the following at the top of the documentation page:

{{Lua}}

Optionally, you can include the module's name.

{{Lua|ModuleName}}
{{Lua|module=ModuleName}}

Template Data

Marks a Template that uses Lua

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
demodemo

Demo template (to be used on it's own template doc to not trigger links or categories)

Contentoptional
Module's Namemodule 1

Optionally identify the module name (without the prefix "Module:")

Example
ModuleName
Contentoptional