Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 07:04, 28 January 2022 by imported>Pneuma01 (Created page with "<includeonly>{{#invoke:SpriteTint|base| data=TintSprite| tint=TintSprite/tint }}</includeonly><noinclude> {{documentation}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Template:Documentation header Template:Lua Generates a sprite to reproduce the tinted textures of Minecraft.

Parameters

Parameter Description
Template:P Specifies the texture name.
Template:P Specifies the main color. Specify the RGB color code, such as #123456.

This does not apply to icons that do not have a main color. Optional

Template:P Specifies the sub color. Specify the RGB color code, such as #123456.

This does not apply to icons that do not have a sub color. Optional

Template:P Specifies the magnification of the icon. Default 1 Optional
Template:P The color code is displayed after the sprite. Optional

Usage

Code
{{Tint| potion | #FF9800 | scale=2 }}
Produces
Template:Tint
Code
{{Tint| particle-effect | #7CAFC6 | code=1 }}
Produces
Template:Tint

List of available icons

If you want to modify the image, use the Sprite Editor in Template:TintSprite. Script error: No such module "SpriteTint".

Template:Sandbox other
The above text is transcluded from Template:MC/Tint/doc; you can change it or view its history.
If you're done making changes, please refresh the text.
Please add categories and interwikis to Template:MC/Tint/doc. (View all subpages of this page.)