Jump to content

Template:Lua: Difference between revisions

From Meta, a Wikimedia project coordination wiki
MSGJ (talk | contribs)
show output on template?
m 36 revisions imported from w:Template:Lua: Attempting, per request from User:Titodutta. I'm not sure if "w" is the right source wiki (only a few options in drop-down menu)
(No difference)

Revision as of 20:51, 19 February 2015

Template documentation

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools.

TemplateData for Lua

Banner for templates that rely on Lua modules

Template parameters

ParameterDescriptionTypeStatus
Module 11

Name of the main module used in the template. Use multiple parameters to specify multiple modules.

Page namerequired
Module 22

Name of the second module.

Page nameoptional
Module 33

Name of the third module.

Page nameoptional
Module 44

Name of the fourth module.

Page nameoptional
Module 55

Name of the fifth module.

Page nameoptional
Module 66

Name of the sixth module.

Page nameoptional
Module 77

Name of the seventh module.

Page nameoptional
Module 88

Name of the eighth module.

Page nameoptional
Module 99

Name of the ninth module.

Page nameoptional
Module 1010

Name of the tenth module.

Page nameoptional
No Category?nocat

Whether to disable categorization.

Default
0
Auto value
1
Booleanoptional
Wish?wish

Whether this template is a candidate for conversion to Lua.

Default
0
Auto value
1
Booleanoptional
Custom Categorycategory

Main category to put on pages using this template, without namespace prefix.

Default
Lua-based templates
Stringoptional
Edit parameter translations