Template:InputType: Difference between revisions
Jump to navigation
Jump to search
Create: Minecraft Mod Wiki>Joker876 No edit summary |
Create: Minecraft Mod Wiki>Joker876 No edit summary |
||
Line 9: | Line 9: | ||
|any|a=<span title="Any">[[File:InputType Any Icon.png|16px|link=]]</span> | |any|a=<span title="Any">[[File:InputType Any Icon.png|16px|link=]]</span> | ||
|#default=<span title="Unknown">[[File:InputType Unknown Icon.png|16px|link=]]</span> | |#default=<span title="Unknown">[[File:InputType Unknown Icon.png|16px|link=]]</span> | ||
}}{{#if:{{#explode:{{{1}}}|/|1}}{{#switch:{{#explode:{{{1}}}|/|1}} | }}{{#if:{{#explode:{{{1}}}|/|1}}|{{#switch:{{#explode:{{{1}}}|/|1}} | ||
|string|str|text|txt=<span title="String">[[File:InputType String Icon.png|16px|link=]]</span> | |string|str|text|txt=<span title="String">[[File:InputType String Icon.png|16px|link=]]</span> | ||
|function|func|fnc=<span title="Function">[[File:InputType Function Icon.png|16px|link=]]</span> | |function|func|fnc=<span title="Function">[[File:InputType Function Icon.png|16px|link=]]</span> |
Revision as of 18:59, 16 April 2021
This template creates an image of the specified input type.
This is a helper template, and should not be used directly.
Definition
Parameter | R? | Type | Description | Default |
---|---|---|---|---|
1 |
Yes | ![]() ![]() |
Specifies what image should be produced. Multiple types can be specified by separating them with the / character. |
Supported Types
Icon | Type | Possible values |
---|---|---|
![]() ![]() |
Boolean | boolean , bool , b
|
![]() ![]() |
Number | number , num , n
|
![]() ![]() |
String | string , str , text , txt
|
![]() ![]() |
List | list , array , arr
|
![]() ![]() |
Compound | compound , comp , object , obj , table
|
![]() ![]() |
Function | function , func , fnc
|
![]() ![]() |
Any | any , a
|
![]() ![]() |
Blank | none , no Only a single space is put in place of the image. |
![]() ![]() |
Unknown | Displayed if no value provided or value is not supported. |
[view | edit | history | purge]The above documentation is transcluded from Template:InputType/doc.