Sjabloon:Lua

in Wikipedia, die vrye ensiklopedie
Dokumentasie-ikoon Sjabloondokumentasie[sien] [wysig] [geskiedenis] [wis kasgeheue]

This template is used to show that templates have been converted to Lua. It is placed at the top of the template's /doc page. It automatically adds the template to Category:Lua-based templates, or to one of its subcategories.

Parameters[wysig bron]

Eenvoudig
Sjabloon:Sjt
Alle parameters
Sjabloon:Sjt
{{voorbeeld
| par1  = x / y / z
| par2 = niks / [[Beeld:enige beeld.svg|40px]]
| ...
}}

par1

Kies uit x, y of z.

par2

Verskaf skakel na beeld of niks.


Gebruik[wysig bron]

The first module name is required.

  • {{Lua|Module:Bananas}}

{{LuaSjabloon:\sandbox|Module:Bananas|nocat=true}}

  • {{Lua|Module:Bananas|Module:BananasArgs}}

{{LuaSjabloon:\sandbox|Module:Bananas|Module:BananasArgs|nocat=true}}

  • {{Lua|Module:Bananas|Module:BananasArgs|Module:HelloWorld}}

{{LuaSjabloon:\sandbox|Module:Bananas|Module:BananasArgs|Module:HelloWorld|nocat=true}}

{{LuaSjabloon:\sandbox|nocat=true}}

Categorisation[wysig bron]

Template category[wysig bron]

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 category other than Category:Lua-based templates:

Error category[wysig bron]

If no modules are specified, the transcluded page will be added to Category:Lua templates with errors.

Category suppression[wysig bron]

To suppress all categorisation, use |nocat=true. (As well as "true", the values "yes", "y", and "1" will also work.)

Sjabloondata[wysig bron]

Vervang: Maak 'n lys vir inligting wat in die visuele redigeerder moet verskyn.Let wel hierdie is vir gebruik in die Visuele redigeerder. Dit verskaf behoorlike benaming en beskrywings vir die gebruiker vir 'n sjabloon. Die onderstaande genereer tans nog in Engels.

Voorbeeldsjabloon wat 'n klein kassie skep wat noem dat dit 'n voorbeeld is.

Sjabloonparameters[Wysig Sjabloondata]

ParameterBeskrywingSoortStatus
Geen parameters gespesifiseer nie

Sien ook[wysig bron]