Mal:Lua/dok: Forskjell mellom sideversjoner
< Mal:Lua
m (Danmichaelo flyttet siden Mal:Lua/doc til Mal:Lua/dok uten å etterlate en omdirigering) |
Ingen redigeringsforklaring |
||
Linje 3: | Linje 3: | ||
<!-----Categories where indicated at the bottom of this page, please; interwikis to Wikidata-----> |
<!-----Categories where indicated at the bottom of this page, please; interwikis to Wikidata-----> |
||
Denne malen brukes for å vise hvilke [[Lua]]-moduler en mal bruker. Den plasseres i maldokumentasjonen, og vil autokategorisere malen i [[:Kategori:Lua-baserte maler]]. |
|||
This template is used to show that templates have been converted to [[Lua (programming language)|Lua]]. It can be placed on the template's /doc page or on its talk page. It automatically adds the template to [[:Category:Lua-based templates]]. |
|||
== |
== Bruk == |
||
; Basic : {{tlx|Lua|''module name''}} |
; Basic : {{tlx|Lua|''module name''}} |
||
Linje 15: | Linje 15: | ||
== Examples == |
== Examples == |
||
{{Lua| |
{{Lua|Modul:Bananas|nocat=true}} |
||
* {{tlx|Lua| |
* {{tlx|Lua|Modul:Bananas}} |
||
{{clear}} |
{{clear}} |
||
{{Lua|icononly=on| |
{{Lua|icononly=on|Modul:Bananas|Modul:BananasArgs|nocat=true}} |
||
* {{tlx|Lua|icononly{{=}}on| |
* {{tlx|Lua|icononly{{=}}on|Modul:Bananas|Modul:BananasArgs}} |
||
{{clear}} |
{{clear}} |
||
== |
== Kategorisering == |
||
This template adds pages to [[: |
This template adds pages to [[:Kategori:Lua-baserte maler]] if the page is in the template namespace, and it is not on any of the subpages /dok, /sandkasse, /sandkasse2 eller /testtilfeller. You can specify a different category with the {{para|category}} parameter, e.g. {{para|category|Lua String-based templates}}. To suppress categorisation, use {{para|nocat|true}}. |
||
== |
== Se også == |
||
* [[Wikipedia:Lua]] |
* [[Wikipedia:Lua]] |
||
* {{tl|module rating}} |
|||
<includeonly> |
<includeonly> |
Sideversjonen fra 30. mai 2014 kl. 19:13
![]() | Dette er en underside med dokumentasjon for Mal:Lua (se denne siden for selve malen). Den inneholder brukerinformasjon, kategorier og annet som ikke er del av den originale malsiden. |
Denne malen brukes for å vise hvilke Lua-moduler en mal bruker. Den plasseres i maldokumentasjonen, og vil autokategorisere malen i Kategori:Lua-baserte maler.
Bruk
- Basic
{{Lua|module name}}
- All parameters
{{Lua|icononly=on|module 1|module 2|module 3|module 4|module 5|category=custom category|nocat=true}}
(Setting |icononly=
as "on", "true", "yes", etc, suppresses the "Uses Lua:" text. Wikipedia:Lua may still be accessed by clicking on the logo.)
Examples
![]() | Denne malen benytter seg av Lua: |
{{Lua|Modul:Bananas}}
![]() | Denne malen benytter seg av Lua: |
{{Lua|icononly=on|Modul:Bananas|Modul:BananasArgs}}
Kategorisering
This template adds pages to Kategori:Lua-baserte maler if the page is in the template namespace, and it is not on any of the subpages /dok, /sandkasse, /sandkasse2 eller /testtilfeller. You can specify a different category with the |category=
parameter, e.g. |category=Lua String-based templates
. To suppress categorisation, use |nocat=true
.
Se også