Template:InputType/doc: Difference between revisions

From Create: Minecraft Mod Wiki
Jump to navigation Jump to search
Create: Minecraft Mod Wiki>Joker876
No edit summary
Create: Minecraft Mod Wiki>Joker876
No edit summary
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|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"

Revision as of 19:02, 16 April 2021

This is a documentation subpage for Template:InputType.
It contains usage information, categories and other content that is not part of the original template page.

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
string
/
{{{4}}}

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.