Template:Lua/doc: Difference between revisions

From Zombie Panic! Official Wiki
Jump to navigation Jump to search
Created page with "{{Documentation/Header}} This is a banner template that uses {{t|MessageBox}} to create the displayed banner: {{Lua|demo=1}} 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: <pre> {{Lua}} </pre> Optionally, you can include the module's name. <pre> {{Lua|ModuleName}} </pre> <pre> {{Lua|module=ModuleName}} </pre> ==Template Data== <templatedata> { "params": {..."
 
(No difference)

Latest revision as of 09:17, 10 June 2025

This is the documentation page for Lua.
It contains usage information, categories, and other content not part of the original template page.

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

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