Template:InputType/doc: 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 5: | Line 5: | ||
==Definition== | ==Definition== | ||
{{ParametersHead}} | {{ParametersHead}} | ||
{{Parameters|1|string|Specifies what image should be produced. Multiple types can be specified by separating them with the <code>/</code> character.}} | {{Parameters|1|yes|string|Specifies what image should be produced. Multiple types can be specified by separating them with the <code>/</code> character.}} | ||
{{ParametersFoot}} | {{ParametersFoot}} | ||
==Supported Types== | ==Supported Types== |
Revision as of 17:37, 17 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. |