Bysen:Lua/doc
This is a documentation subpage for Bysen:Lua (see that page for the bysen itself). It contains usage information, categories and other content that is not part of the original bysen page. |
This template uses Lua: |
Þēos bysen is ġebrocen tō tācnian þæt ān ġesceap brȳtt ġetīel ān oþþe mā Lua modules (gewriteen on þǣm Module:
namespace). Hit is plæċede at sēo top æf þāra bysen's /doc gewrit. Hit cwiclīge fǣsetenes a flotiġung riȝt notification box, and hit fǣseten þǣm bysen to Flocc:Lua-based templates or to one of its subcategories.
Usage
adihtan- Baasige
- {{Lua|module name}}
- Eallġemetum
- {{Lua|module 1|module 2|module 3|...|category=custom category|nocat=true}}
Þǣm fyrest module nama is nēadede.
Examples
adihtan- {{Lua|Module:Example}}
This template uses Lua: |
- {{Lua|Module:Example|Module:Example}}
This template uses Lua: |
- {{Lua|Module:$Example$}}
This template uses Lua: |
- {{Lua}}
Error: no modules specified |
Categorisation
adihtanTemplate category
adihtanThis template adds pages to Category:Lua-based templates if the page is in the template namespace, and it is not on any of the subpages /doc, /sandbox, /sandbox2 or /testcases. You can specify a different category with the |category=
parameter, e.g. |category=Lua String-based templates
.
Some modules have a default flocc oþþe þǣm Flocc:Lua-based templates:
- Module:String hæfþ þāra default flocc Flocc:Templates based on the String Lua module.
- Module:Math hæfþ þāra default flocc Flocc:Templates based on the Math Lua module.
- Module:BaseConvert hæfþ þāra default flocc Flocc:Templates based on the BaseConvert Lua module.
- Module:Citation/CS1 hæfþ þāra default flocc Flocc:Templates based on the Citation/CS1 Lua module.
Error category
adihtanIf no modules are specified, the transcluded page will be added to Flocc:Lua templates with errors.
Category suppression
adihtanTo suppress all categorisation, use |nocat=true
. (As well as "true", the values "yes", "y", and "1" will also work.)
TemplateData
adihtanBysen:TemplateData header Script error: No such module "TNT".
See also
adihtan