Template:Lua: Difference between revisions

Jump to navigation Jump to search
imported>Wnt
(Adding "type = style" to match the color and conceptual similarity of Template:intricate)
imported>Vanisaac
(adding note about lua modules not being substitutable, and providing for a substitutable alternate template (default "<templatename> subst").)
Line 2: Line 2:
| type = style
| type = style
| image = [[File:Gnome-utilities-terminal.svg|42px]]
| image = [[File:Gnome-utilities-terminal.svg|42px]]
| text  = This template uses {{#if: {{{1|}}} | '''[[{{{1}}}]]''', a script written in }} the [[Lua (programming language)|Lua programming language]]. Please see [[Wikipedia:Lua]] if you want to learn more about Lua or help convert other templates. {{{2|}}}
| text  = This template uses {{#if: {{{1|}}} | '''[[{{{1}}}]]''', a script written in }} the [[Lua (programming language)|Lua programming language]]. As a Lua module, {{#ifexist:template:{{{substalt|{{BASEPAGENAME}} subst}}}|the template {{tlx|{{BASEPAGENAME}} subst}} must be used when [[WP:Substitution|substituting]].|it cannot be [[WP:Substitution|substituted]].}} Please see [[Wikipedia:Lua]] if you want to learn more about Lua or help convert other templates. {{{2|}}}
}}<includeonly>{{#ifeq: {{{nocat|}}} | true
}}<includeonly>{{#ifeq: {{{nocat|}}} | true
  |
  |

Revision as of 06:51, 11 November 2013