Feed The Beast Wiki

Follow the Feed The Beast Wiki on Discord or Mastodon!

READ MORE

Feed The Beast Wiki
Advertisement
This page is a translated version of the page Template:Lua and the translation is 100% complete.
Lua logo Šī veidne izmanto Module:Lua, skripts ir rakstīts Lua valodā.
Lūdzu, skatieties wikipedia:lv:wp:Lua un mw:Extension:Scribunto lai uzzinātu vairāk.
Template-info Dokumentācija

This template is used on the documentation pages of templates which invoke Lua modules.

Parameters

  • 1: (Default: {{BASEPAGENAME}}) The main module name without the namespace.
  • data: (Optional) The module that stores data used by the module or template itself, e.g. Mods/list.
  • data2: (Optional) The second module that stores data used by the module or template itself.
  • nocat: (Optional) If set, the main template page is not added to Category:Lua-based templates.


Examples

{{Lua|Mods|data=Mods/list}}

produces

Lua logo Šī veidne izmanto Module:Mods, ar datiem, kuri glabājas Module:Mods/list.
Šie skripti ir rakstīti Lua valodā. Lūdzu, skatieties wikipedia:lv:wp:Lua un mw:Extension:Scribunto lai uzzinātu vairāk.


Technical details

This template automatically adds the template page to Category:Lua-based templates. Set nocat to prevent this.

Advertisement