More actions
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 1: | Line 1: | ||
<templatestyles src="Template:Type/style.css"/>{{#switch:{{{1}}} | <includeonly><templatestyles src="Template:Type/style.css"/>{{#switch:{{{1}}} | ||
| nil = {{type/ | | nil = {{type/builtin|{{{1}}}}} | ||
| number = {{type/builtin|{{{1}}}}} | | number = {{type/builtin|{{{1}}}}} | ||
| integer = {{type/builtin|{{{1}}}}} | | integer = {{type/builtin|{{{1}}}}} | ||
Line 8: | Line 8: | ||
| table = {{type/builtin|{{{1}}}}} | | table = {{type/builtin|{{{1}}}}} | ||
| {{type/custom|{{{1}}}}} | | {{type/custom|{{{1}}}}} | ||
}} | }}</includeonly><noinclude> | ||
'''Displays a ''type widget''.''' | |||
== Examples == | |||
* {{type|nil}} | |||
* {{type|number}} | |||
* {{type|string}} | |||
* {{type|boolean}} | |||
* {{type|function}} | |||
* {{type|table}} | |||
* {{type|Event}} (custom type that exists) | |||
* {{type|CrashAPI}} (custom type that doesn't exist) | |||
</noinclude> |
Revision as of 19:40, 26 September 2024
Displays a type widget.
Examples
- Template:Type/builtin
- Template:Type/builtin
- Template:Type/builtin
- Template:Type/builtin
- Template:Type/builtin
- Template:Type/builtin
- Template:Type/custom (custom type that exists)
- Template:Type/custom (custom type that doesn't exist)