Jump to content

Bysen:Lua

Fram Wikipǣdian
Documentation icon Bysen documentation[view] [edit] [history] [purge]

Bysen:Template redirects

Þē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.

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}}
  • {{Lua|Module:Example|Module:Example}}
  • {{Lua|Module:$Example$}}

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:

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]

Bysen:Sandbox other