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(displayed as "Broken" - this is also the 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. (
or{{Updated|<Module Page>}}yyyy-mm-dd, defaults to{{Updated|Module:{{{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:
enorSUBPAGENAME)
Copy/paste
{{Infobox Lua
| Description =
| Type =
| Author =
| Code =
}}
TemplateData
Used to add infoboxes on subpages of Global Lua Modules.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | Title title | Name of script.
| String | suggested |
| Image | Image file image | Filename of screenshot (without "File:"). | File | suggested |
| Caption | Image caption caption | Caption for the image. | Content | suggested |
| Type | 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) | String | suggested |
| Release status | Status 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) | String | suggested |
| Description | Description description | Short description of the module's purpose. | Content | suggested |
| Author | Author author | Author(s) of the module(s) | Content | suggested |
| Using code by | Using code by using code by | When reusing code, name of this code's author(s). | Content | optional |
| Other attribution | Other attribution other attribution | For crediting users that did not author the script nor produce code used in it. | Content | optional |
| Code | Code code | Page(s) containing the Module's source code.
| String | suggested |
| Last updated date | Updated | Date of last update.
| Date | optional |
| Date format | Dateformat dateformat | Format that the date should take (See Template:FormatDate) | String | optional |
| Dependencies | Dependencies dependencies | List of modules that this module depends on. | Content | optional |
| Supported languages | Languages languages | List of supported languages, or: - `auto` to determine from `Module:{{common|title}}/i18n`. - `mw` only uses strings defined in the "MediaWiki:" namespace. | Content | suggested |
| Examples | Examples examples | For providing links to sites that import/use this code.
| Content | optional |