Template:InputType/doc: Difference between revisions
Jump to navigation
Jump to search
Create: Minecraft Mod Wiki>Joker876 |
BoxWithout (talk | contribs) m 5 revisions imported |
||
(3 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
This is a helper template, and should not be used directly. | This is a helper template, and should not be used directly. | ||
==Definition== | |||
{{ParametersHead}} | |||
{{Parameters|1|yes|string|Specifies what image should be produced. Multiple types can be specified by separating them with the <code>/</code> character.}} | |||
{{ParametersFoot}} | |||
==Supported Types== | ==Supported Types== | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 37: | Line 40: | ||
|Any | |Any | ||
|<code>any</code>, <code>a</code> | |<code>any</code>, <code>a</code> | ||
|- | |||
|{{InputType|none}} | |||
|Blank | |||
|<code>none</code>, <code>no</code><br/>Only a single space is put in place of the image. | |||
|- | |- | ||
|{{InputType}} | |{{InputType}} | ||
|Unknown | |Unknown | ||
| | |Displayed if no value provided or value is not supported. | ||
|} | |} | ||
Latest revision as of 21:33, 14 February 2025
This template creates an image of the specified input type.
This is a helper template, and should not be used directly.
Definition[edit source]
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[edit source]
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. |