Modèle:Lua : Différence entre versions
Sauter à la navigation
Sauter à la recherche
(Page créée avec « {{msgbox | image = Lua logo.svg | texte = Ce modèle utilise '''<includeonly>[[</includeonly>Module:{{ucfirst: {{PAGENAME:{{{1|{{BASEPAGENAME}}}}}}} }}<includeonly>]]</in... ») |
mcen>Eduaddad |
||
Ligne 1 : | Ligne 1 : | ||
{{msgbox | {{msgbox | ||
| image = Lua logo.svg | | image = Lua logo.svg | ||
− | | | + | | text = This template uses '''<includeonly>[[</includeonly>Module:{{ucfirst: {{PAGENAME:{{{1|{{BASEPAGENAME}}}}}}} }}<includeonly>]]</includeonly>''', {{ #if: {{{data|}}} | with data stored in [[Module:{{ ucfirst: {{PAGENAME:{{{data}}}}} }}]]{{ #if: {{{data2|}}} |  and [[Module:{{ ucfirst: {{PAGENAME:{{{data2}}}}} }}]] }} | a script written in [[wikipedia:Lua (programming language)|Lua]] }}.<br>{{ #if: {{{data|}}} | These scripts are written in [[wikipedia:Lua (programming language)|Lua]]. }} Please see [[wp:Lua]] and [[mw:Extension:Scribunto]] to learn more. |
| <includeonly>nocat = 1</includeonly> | | <includeonly>nocat = 1</includeonly> | ||
}}<includeonly>{{ | }}<includeonly>{{ | ||
Ligne 8 : | Ligne 8 : | ||
| {{#ifeq: {{SUBPAGENAME}} | doc | | {{#ifeq: {{SUBPAGENAME}} | doc | ||
| | | | ||
− | | [[ | + | | {{#switch: {{NAMESPACENUMBER}} |
+ | | 0 | 10 = [[Category:Lua-based templates]] | ||
+ | }} | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Put categories/interwiki on the documentation page --> | <!-- Put categories/interwiki on the documentation page --> |
Version du 15 octobre 2016 à 01:19
This template uses Module:Lua, a script written in Lua. Please see wp:Lua and mw:Extension:Scribunto to learn more. |
Erreur Lua : bad argument #1 to "get" (not a valid title)