Template:Lua/doc

From Illogicopedia
Jump to navigation Jump to search



This template uses Lua:
* Module:Lua banner



This template provides a stylized template used for informing others about the module used by a template or a module.

This template is generated from Lua banner

This template automatically change template to module if the namespace is module. Its also adds a tracking categories, for template: Category:Lua based templates, for module: Category:Modules depending on other Lua modules, for errors: Category:Lua banner errors. NOTE: Parameters are limited to 4, more parameters will cause an error.

Usage[edit source]

{{#invoke:Lua banner|main|module1|module2|module3|...}}

Use

{{#invoke:Lua|module1|module2|module3}}

Example[edit source]

{{#invoke:Lua banner|main|Module:Lua banner/config|||}}

Will output:



This template uses Lua:
* Module:Lua banner


{{Lua|Module:Lua banner}} will give thesame result.

It is recomended that {{Lua}} be used instead.

Errors[edit source]

When more than four parameters returns:


¤Out of limit