This template uses Lua: |
Usage
edit{{Lua autodoc|file=Module name}}
Examples
edit{{Lua autodoc|file=Docbunto|code=yes}}
yields:
Extended content
|
---|
Package itemsedit
|
Template data
editNo description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Module Name | 1 file |
Module page name (without namespace). Default: First sub-page of the "Global Lua Modules" root page or the top-level page name. | String | suggested |
Infobox Image | image | Infobox image. | File | optional |
Caption | caption | Infobox image caption. | Content | optional |
All | all | Include private items in documentation.
| Boolean | optional |
Boilerplate | boilerplate | Removal of boilerplate (license block comments).
| Boolean | optional |
Code | code | Only document Docbunto code items - exclude article infobox and lede from rendered documentation.
| Boolean | optional |
Colon | colon | Parses tags with a `:` suffix and without the `@` prefix. This bypasses the "doctag soup" some authors complain of.
| Boolean | optional |
No Lua Reference | noluaref | Don't link to the Lua reference manual for types.
| Boolean | optional |
Plain | plain | Disable Markdown formatting in documentation.
| Boolean | optional |
Simple | simple | Limit documentation to descriptions only. Removes documentation of subitem tags such as `@param` and `@field`.
| Boolean | optional |
Sort | sort | Sort documentation items in alphabetical order instead of source code order.
| Boolean | optional |
Strip | strip | Remove table index in documentation.
| Boolean | optional |
UList | ulist | Indent subitems as `<ul>` lists (LDoc/JSDoc behaviour) instead of `<dl>` list.
| Boolean | optional |
Preface | preface | Preface text to insert between lede & item documentation, used to provide usage and code examples. | Content | suggested |