Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main Page
Community Portal
Village Pump
Recent Changes
Upload File
Help
Help Contents
Editing Guide
Repair Guide Template
Sandbox
Browse Wiki
๐ Service Manuals
๐ Schematics
๐ Apple
๐ฎ Nintendo
๐ Sega
โก Troubleshooting
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Lua/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation subpage}} {{Template redirects|Lua talk|Uses Lua}} <!-- Categories go at the bottom of this page, and interwikis go on Wikidata. --> {{High-use}} {{Lua|Module:Lua banner}} {{for|template to indicate [[Luba-Kasai language]] words|Template:Lang-lua}} This template is used to indicate that a template uses one or more [[Lua]] modules (pages in the <code>Module:</code> namespace). It is placed at the top of the template's /doc page. It automatically adds a floating right notification box, and it adds the template to [[:Category:Lua-based templates]] or to one of its subcategories. == Usage == ; Basic : {{tlx|Lua|''module name''}} ; All parameters : {{tlx|Lua|''module 1''|''module 2''|''module 3''|...|category{{=}}''custom category''|nocat{{=}}''true''}} The first module name is required. == Examples == * {{tlx|Lua|Module:Example}} {{Lua|Module:Example|nocat=true}} {{clear}} * {{tlx|Lua|Module:Example|Module:Example}} {{Lua|Module:Example|Module:Example|nocat=true}} {{clear}} * {{tlx|Lua|Module:$Example$}} {{Lua|Module:$Example$|nocat=true}} {{clear}} * {{tlx|Lua}} {{Lua|nocat=true}} {{clear}} == Categorisation == ===Template category=== 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 {{para|category}} parameter, e.g. {{para|category|Lua String-based templates}}. Some modules have a default category other than [[:Category:Lua-based templates]]: * [[Module:String]] has the default category [[:Category:Templates based on the String Lua module]]. * [[Module:Math]] has the default category [[:Category:Templates based on the Math Lua module]]. * [[Module:BaseConvert]] has the default category [[:Category:Templates based on the BaseConvert Lua module]]. * [[Module:Citation/CS1]] has the default category [[:Category:Templates based on the Citation/CS1 Lua module]]. ===Error category=== If no modules are specified, the transcluded page will be added to [[:Category:Lua templates with errors]]. ===Category suppression=== To suppress all categorisation, use {{para|nocat|true}}. (As well as "true", the values "yes", "y", and "1" will also work.) == See also == * [[Wikipedia:Lua]] * {{tl|module rating}} * {{tl|Uses TemplateStyles}}
Summary:
Please note that all contributions to RetroTechCollection may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
RetroTechCollection:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Pages included on this page:
Template:Clear
(
edit
)
Template:Documentation subpage
(
edit
)
Template:For
(
edit
)
Template:High-use
(
edit
)
Template:Lua
(
edit
)
Template:Mbox
(
edit
)
Template:No redirect
(
edit
)
Template:Para
(
edit
)
Template:Plainlist/styles.css
(
edit
)
Template:Strong
(
edit
)
Template:Template link
(
edit
)
Template:Template link expanded
(
edit
)
Template:Template redirect
(
edit
)
Template:Template redirects
(
edit
)
Template:Terminate sentence
(
edit
)
Template:Tl
(
edit
)
Template:Tlx
(
edit
)
Module:Arguments
(
edit
)
Module:High-use
(
edit
)
Module:List
(
edit
)
Module:Lua banner
(
edit
)
Module:Message box
(
edit
)
Module:Message box/configuration
(
edit
)
Module:Message box/ombox.css
(
edit
)
Module:Redirect
(
edit
)
Module:Shortcut
(
edit
)
Module:Shortcut/config
(
edit
)
Module:Shortcut/styles.css
(
edit
)
Module:TableTools
(
edit
)
Module:Template link general
(
edit
)
Module:Text
(
edit
)
Module:Transclusion count
(
edit
)
Module:Transclusion count/data/L
(
edit
)
Module:Yesno
(
edit
)
Search
Search
Editing
Template:Lua/doc
Add topic