Vorlage:Lua: Unterschied zwischen den Versionen
(Korrektur) |
(Adding "type = style" to match the color and conceptual similarity of Template:intricate) |
||
Zeile 1: | Zeile 1: | ||
{{mbox | {{mbox | ||
| type = style | |||
| image = [[File:Gnome-utilities-terminal.svg|42px]] | | image = [[File:Gnome-utilities-terminal.svg|42px]] | ||
| text = | | 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|}}} | ||
}}<includeonly>{{#ifeq: {{{nocat|}}} | true | }}<includeonly>{{#ifeq: {{{nocat|}}} | true | ||
| | | | ||
| {{template other | | {{template other | ||
| {{#switch: {{SUBPAGENAME}} | | {{#switch: {{SUBPAGENAME}} | ||
| | | doc | sandbox | sandbox2 | testcases = | ||
| #default = [[ | | #default = [[Category:{{#if: {{{category|}}} | ||
| {{{category}}} | | {{{category}}} | ||
| {{#switch: {{{1|}}} | | {{#switch: {{{1|}}} | ||
| Module:String = Lua- | | Module:String = Lua String-based templates | ||
| Module:Math = Lua | | Module:Math = Templates based on the Math Lua module | ||
| Module:BaseConvert = Lua | | Module:BaseConvert = Templates based on the BaseConvert Lua module | ||
| Module:Citation | Module:Citation/CS1 = Lua- | | Module:Citation | Module:Citation/CS1 = Lua-based citation templates | ||
| #default = Lua- | | #default = Lua-based templates | ||
}} | }} | ||
}}|{{PAGENAME}}]] | }}|{{PAGENAME}}]] | ||
Zeile 20: | Zeile 21: | ||
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{ | {{documentation}} | ||
<!-- | <!-- Categories go on the /doc subpage, and interwikis go in Wikidata --> | ||
</noinclude> | </noinclude> |
Version vom 21. Oktober 2013, 18:42 Uhr
![]() | This template uses the Lua programming language. Please see Wikipedia:Lua if you want to learn more about Lua or help convert other templates. |

Dieser Artikel wurde aus einer englischen Sprachversion importiert und wurde noch nicht vollständig übersetzt. Bitte hilf mit, den Text auf deutsch verfügbar zu machen. |
This template is used to show that templates have been converted to Lua. It can be placed on the template's /doc page or on its talk page. It automatically adds the template to Kategorie:Lua-basierte Vorlagen.
Usage
- Basic usage
{{lua|module name}}
- All parameters
{{lua|module name|note|category=custom category|nocat=true}}
Examples
{{lua}}
![]() | This template uses the Lua programming language. Please see Wikipedia:Lua if you want to learn more about Lua or help convert other templates. |
{{lua|Modul:Quickbar2}}
![]() | This template uses Modul:Quickbar2, a script written in the Lua programming language. Please see Wikipedia:Lua if you want to learn more about Lua or help convert other templates. |
{{lua|Modul:Quickbar2|You can use this script as an example to help you get started.}}
![]() | This template uses Modul:Quickbar2, a script written in the Lua programming language. Please see Wikipedia:Lua if you want to learn more about Lua or help convert other templates. You can use this script as an example to help you get started. |
Categorisation
This template adds pages to Kategorie:Lua-basierte Vorlagen 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 |category=
parameter, e.g. |category=Lua String-based templates
. To suppress categorisation, use |nocat=true
.
Siehe auch
Hinweise
- Die obige Dokumentation wurde aus der Seite Vorlage:Lua/Doku eingefügt. (bearbeiten | Versionsgeschichte) Die Kategorien für diese Vorlage sollten in der Dokumentation eingetragen werden. Die Interwiki-Links sollten auf Wikidata eingepflegt werden.
- Testseite anlegen -Editnotice anlegen -Wartungsseite anlegen
- Liste der Unterseiten