Template:Lua/doc: Difference between revisions
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. | ||
|---|---|---|
| Main | Documentation | Usage |
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
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| demo | demo | Demo template (to be used on it's own template doc to not trigger links or categories) | Content | optional |
| Module's Name | module 1 | Optionally identify the module name (without the prefix "Module:")
| Content | optional |