Template:Lua Notice: Difference between revisions
From RosieSoCrossing
Created page with "{{Notice Box |primarycolor = #b4b4fe |secondarycolor = #eceaff |textcolor = #000000 |shadowcolor = #b9b3ff |leftimage = 30px|link=| |rightimage = |header = This template is using {{#if:{{{module2|}}}|one or many Lua modules|a Lua module}} |message = {{#if:{{{module1|}}}|To change certain features of this template, the following modules will need to be edited: {{#forargs: module..." |
No edit summary |
||
| Line 6: | Line 6: | ||
|leftimage = [[File:Lua Logo.svg|30px|link=|]] | |leftimage = [[File:Lua Logo.svg|30px|link=|]] | ||
|rightimage = | |rightimage = | ||
|header = This template is using {{#if:{{{module2|}}}|one or many [[Nookipedia:Lua|Lua modules]]|a [[ | |header = This template is using {{#if:{{{module2|}}}|one or many [[Nookipedia:Lua|Lua modules]]|a [[RosieSoCrossing:Lua|Lua module]]}} | ||
|message = {{#if:{{{module1|}}}|To change certain features of this template, the following modules will need to be edited: | |message = {{#if:{{{module1|}}}|To change certain features of this template, the following modules will need to be edited: | ||
{{#forargs: module | {{#forargs: module | ||
| Line 12: | Line 12: | ||
| value | | value | ||
| <nowiki /> <li style="list-style-position: inside; padding-left: 5px">[[Module:{{{module{{#var: key }}|}}}]]</li>}}}} | | <nowiki /> <li style="list-style-position: inside; padding-left: 5px">[[Module:{{{module{{#var: key }}|}}}]]</li>}}}} | ||
Note that any changes {{#switch:{{{protection|}}}| full = made by staff| #default = }} should first be tested in [[Module:Sandbox|a sandbox]]. Please consider discussing planned changes on the '''{{Talk}}''' or with [[ | Note that any changes {{#switch:{{{protection|}}}| full = made by staff| #default = }} should first be tested in [[Module:Sandbox|a sandbox]]. Please consider discussing planned changes on the '''{{Talk}}''' or with [[RosieSoCrossing:Staff|staff members]] before implementing them. | ||
}} | }} | ||
<includeonly>[[Category:Templates using Lua]]</includeonly><noinclude>{{Documentation}}[[Category:Notice templates]]</noinclude> | <includeonly>[[Category:Templates using Lua]]</includeonly><noinclude>{{Documentation}}[[Category:Notice templates]]</noinclude> | ||
Latest revision as of 11:43, 14 January 2026
This template is using a Lua module
Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
Template documentation (view)
Usage
{{Lua Notice|module1=|module2=}}
This template is to be used on documentation for all templates using Lua. The module1 and module2 parameters are optional, and should be used to link to the relevant Lua modules. The "Module" prefix should be omitted from the link. All pages containing this template will be added to Category:Templates using Lua.
Example
{{Lua Notice}}
This template is using a Lua module
Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
{{Lua Notice|module1=Availability}}
This template is using a Lua module
To change certain features of this template, the following modules will need to be edited:
Module:Availability
Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.
{{Lua Notice|module1=Availability|module2=Availability/Data}}
This template is using one or many Lua modules
To change certain features of this template, the following modules will need to be edited:
Module:Availability Module:Availability/Data
Note that any changes should first be tested in a sandbox. Please consider discussing planned changes on the talk page or with staff members before implementing them.