Cèṭa'an:Lua autodoc
src
attribute must not be empty.![]() | This template uses Lua: |
Usage
[beccè' sombher]{{Lua autodoc|file=Module name}}
Examples
[beccè' sombher]{{Lua autodoc|file=Docbunto|code=yes}}
yields:
Extended content
|
---|
Lua error in Modul:Docbunto at line 32: attempt to call field 'loadMessages' (a nil value). |
Template data
[beccè' sombher]Tidak ada keterangan.
Parameter | Keterangan | Jenis | 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. | Kata | disarankan |
Infobox Image | image | Infobox image. | Berkas | opsional |
Caption | caption | Infobox image caption. | Isi | opsional |
All | all | Include private items in documentation.
| Boolean | opsional |
Boilerplate | boilerplate | Removal of boilerplate (license block comments).
| Boolean | opsional |
Code | code | Only document Docbunto code items - exclude article infobox and lede from rendered documentation.
| Boolean | opsional |
Colon | colon | Parses tags with a `:` suffix and without the `@` prefix. This bypasses the "doctag soup" some authors complain of.
| Boolean | opsional |
No Lua Reference | noluaref | Don't link to the Lua reference manual for types.
| Boolean | opsional |
Plain | plain | Disable Markdown formatting in documentation.
| Boolean | opsional |
Simple | simple | Limit documentation to descriptions only. Removes documentation of subitem tags such as `@param` and `@field`.
| Boolean | opsional |
Sort | sort | Sort documentation items in alphabetical order instead of source code order.
| Boolean | opsional |
Strip | strip | Remove table index in documentation.
| Boolean | opsional |
UList | ulist | Indent subitems as `<ul>` lists (LDoc/JSDoc behaviour) instead of `<dl>` list.
| Boolean | opsional |
Preface | preface | Preface text to insert between lede & item documentation, used to provide usage and code examples. | Isi | disarankan |