Template:MC/Tint/doc
Template page
More actions
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".
fr:Modèle:Teinte/doc pt:Predefinição:Tint/doc uk:Шаблон:Відтінок/док