Template:Lua: Difference between revisions

From Project: Redcap
m (1 revision: Template:Mbox from Wikipedia (not MediaWiki))
 
m (1 revision imported: Navbox template)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{mbox
<onlyinclude><includeonly>{{#invoke:Lua banner|main}}</includeonly></onlyinclude>
| type = notice
{{Lua|Module:Lua banner}}
| image = [[File:Lua-logo-nolabel.svg|42px]]
{{Documentation}}
| 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|}}}
<!-- Categories go on the /doc subpage and interwikis go on Wikidata. -->
}}<includeonly>{{#ifeq: {{{nocat|}}} | true
|
| {{template other
    | {{#switch: {{SUBPAGENAME}}
      | doc | sandbox | sandbox2 | testcases =
      | #default = [[Category:{{#if: {{{category|}}}
          | {{{category}}}
          | {{#switch: {{{1|}}}
            | Module:String                        = Lua String-based templates
            | Module:Math                          = Templates based on the Math Lua module
            | Module:BaseConvert                    = Templates based on the BaseConvert Lua module
            | Module:Citation | Module:Citation/CS1 = Lua-based citation templates
            | #default                              = Lua-based templates
            }}
        }}|{{PAGENAME}}]]
      }}
  }}
}}</includeonly><noinclude>
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go in Wikidata -->
</noinclude>

Latest revision as of 08:21, 10 November 2024

Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Lua banner.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''. Lua error: Module:TNT:172: '''Missing JsonConfig extension, or not properly configured; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab. See https://www.mediawiki.org/wiki/Extension:JsonConfig#Supporting_Wikimedia_templates'''.