Bysen:Lua
This template uses Lua: |
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
[adiht fruman]- 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
[adiht fruman]- {{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
[adiht fruman]Template category
[adiht fruman]This 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
[adiht fruman]If no modules are specified, the transcluded page will be added to Flocc:Lua templates with errors.
Category suppression
[adiht fruman]To suppress all categorisation, use |nocat=true
. (As well as "true", the values "yes", "y", and "1" will also work.)
TemplateData
[adiht fruman]Bysen:TemplateData header Script error: No such module "TNT".
See also
[adiht fruman] The above documentation is transcluded from Bysen:Lua/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |