Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Lua autodoc/doc" to edit its documentation if it is available. (How does this work?)

Usage

{{Lua autodoc|file=Module name}}

Examples

{{Lua autodoc|file=Docbunto|code=yes}} yields:

{{Lua autodoc|file=Example|code=yes}} yields:

{{Lua autodoc|file=Sandbox|code=yes}} yields:

Template data

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Module Name1 file

Module page name (without namespace).

Stringsuggested
Infobox Imageimage

Infobox image.

Fileoptional
Captioncaption

Infobox image caption.

Contentoptional
Allall

Include private items in documentation.

Default
false
Booleanoptional
Boilerplateboilerplate

Removal of boilerplate (license block comments).

Default
false
Booleanoptional
Codecode

Only document Docbunto code items - exclude article infobox and lede from rendered documentation.

Default
false
Booleanoptional
Coloncolon

Parses tags with a `:` suffix and without the `@` prefix. This bypasses the "doctag soup" some authors complain of.

Default
false
Booleanoptional
No Lua Referencenoluaref

Don't link to the Lua reference manual for types.

Default
false
Booleanoptional
Plainplain

Disable Markdown formatting in documentation.

Default
false
Booleanoptional
Simplesimple

Limit documentation to descriptions only. Removes documentation of subitem tags such as `@param` and `@field`.

Default
false
Booleanoptional
Sortsort

Sort documentation items in alphabetical order instead of source code order.

Default
false
Booleanoptional
Stripstrip

Remove table index in documentation.

Default
false
Booleanoptional
UListulist

Indent subitems as `<ul>` lists (LDoc/JSDoc behaviour) instead of `<dl>` list.

Default
false
Booleanoptional
Prefacepreface

Preface text to insert between lede & item documentation, used to provide usage and code examples.

Contentsuggested