Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

Usage

Description
This template is used to add infoboxes on subpages of Global Lua Modules.
Syntax
Type {{Infobox Lua|<...>}}

Mandatory parameters

Description, description
Short description of module's purpose.
Author, author
Author(s) of the module(s)
Code, code
Page(s) containing the Module's source code.
Languages, languages
Supported languages. ({{Language list|<code1>|<code2>|<...>}})

Optional parameters

Title, title
Name of script (default: PAGENAME).
Status, status
Release status
  • unstable (broken - do not use this extension)
  • experimental (early stages of development, may change drastically)
  • beta (stable but not fully tested)
  • stable (stable version)
  • unmaintained (unmaintained - previously claimed to be stable, now unmaintained)
  • archive (archived - deprecated or merged with another extension)
  • unknown (default)
Image, image
Filename of screenshot (without "File:").
Image caption, caption
Caption for the image.
Type, type
The type of the module, i.e. whether it is a meta-module (for use by other modules) or invocable (for use in pages)
Using code by, using code by
When reusing code, name of this code's author(s).
Other attribution, other attribution
For crediting users that did not author the script nor produce code used in it.
Updated
Date of last update. ({{Updated|<Module Page>}} or yyyy-mm-dd, defaults to {{Updated|Module:&NoBreak;{{{code}}}}})
Dependencies, dependencies
List of modules that this module depends on.
Examples, examples
For providing links to sites that import/use this code (i.e. [[w:c:wow|WoWWiki]]).
Uselang
Language of this infobox (language code) (default:en or SUBPAGENAME)

Copy/paste

{{Infobox Lua
| Description = 
| Type = 
| Author = 
| Code = 
}}

TemplateData

Used to add infoboxes on subpages of Global Lua Modules.

Template parameters

ParameterDescriptionTypeStatus
TitleTitle title

Name of script.

Default
{{#titleparts:{{PAGENAME}}|1|2}}
Stringsuggested
ImageImage file image

Filename of screenshot (without "File:").

Filesuggested
CaptionImage caption caption

Caption for the image.

Contentsuggested
TypeType type

The type of the module, i.e. whether it is a meta-module (for use by other modules) or invocable (for use in pages)

Stringsuggested
Release statusStatus status

One of:

- `unstable` (broken - do not use this extension)

- `experimental` (early stages of development, may change drastically)

- `beta` (stable but not fully tested)

- `stable` (stable version)

- `unmaintained` (unmaintained - previously claimed to be stable, now unmaintained)

- `archive` (archived - deprecated or merged with another extension)

- `unknown` (default)

Stringsuggested
DescriptionDescription description

Short description of the module's purpose.

Contentsuggested
AuthorAuthor author

Author(s) of the module(s)

Contentsuggested
Using code byUsing code by using code by

When reusing code, name of this code's author(s).

Contentoptional
Other attributionOther attribution other attribution

For crediting users that did not author the script nor produce code used in it.

Contentoptional
CodeCode code

Page(s) containing the Module's source code.

Default
{{common|title}}
Stringsuggested
Last updated dateUpdated

Date of last update.

Default
{{Updated|Module:{{common|title}}}}
Dateoptional
Date formatDateformat dateformat

Format that the date should take (See Template:FormatDate)

Stringoptional
DependenciesDependencies dependencies

List of modules that this module depends on.

Contentoptional
Supported languagesLanguages languages

List of supported languages, or:

- `auto` to determine from `Module:{{common|title}}/i18n`.

- `mw` only uses strings defined in the "MediaWiki:" namespace.

Contentsuggested
ExamplesExamples examples

For providing links to sites that import/use this code.

Example
[[w:c:crosscode|CrossCode Wiki]]
Contentoptional
Community content is available under CC-BY-SA unless otherwise noted.