Template:Uses lua: Difference between revisions

From Space Station 14 Wiki
(Created page with "<includeonly>{{Callout |stacked=1 |header=Uses Lua {{#ifeq: {{#invoke:params|count}}|1|module|modules}} |Info |This template uses Lua {{#ifeq: {{#invoke:params|count}}|1|module|modules}}: <ul>{{#invoke:params|for_each|<li>Module:$@</li>}}</ul> }}<!-- # when used not on template's page (or /doc page), add to category -->{{Add categories if not on page or subpage|Template:Uses lua|Templates using Lua modules}}</includeonly><noinclude> {{documentation |below banner= {...")
 
(for use in other templates)
 
Line 13: Line 13:
|below banner=
|below banner=
{{Template populates categories|Templates using Lua modules}}
{{Template populates categories|Templates using Lua modules}}
{{template for use in templates}}
}}
}}


[[Category:Templates for documenting other templates]]
[[Category:Templates for documenting other templates]]
[[Category:Notice templates]]
[[Category:Notice templates]]
[[Category:Templates meant for other templates]]
<templatedata>
<templatedata>
{
{

Latest revision as of 11:46, 17 August 2024


Template documentation
view or edit this documentation about template documentation
Populates a category
This template will add a category when used:
(though on what conditions — consult with the template itself)
For use in other templates
This template is meant to be used within other templates and not by itself.

Examples

With a single module

{{Uses lua|Params}}

Uses Lua module
This template uses Lua module:

With multiple modules

{{Uses lua|Params|Navbox}}

Uses Lua modules
This template uses Lua modules:

Used to mark templates that use Lua and provide a link to the modules they use. Any amount of modules can be listed with numeric arguments.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Used module 11

Lua module that the template uses.

Page namerequired
Used module 22

no description

Page namesuggested