Template:Tint/doc - minecraft.fandom.com
Jump to navigation
Jump to search
Treść tej podstrony pochodzi z artykułu „Template:Tint/doc” w domenie minecraft.fandom.com na licencji CC BY-NC-SA 3.0
[purge]
This is the documentation page. It should be transcluded into the main template page. See Template:Documentation for more informationThis template uses Module:SpriteTint, with data stored in Module:TintSprite and Module:TintSprite/tint.
These scripts are written in Lua.
These scripts are written in Lua.
Generates a sprite to reproduce the tinted textures of Minecraft.
Parameters[]
| Parameter | Description |
|---|---|
|1= |
Specifies the texture name. |
|2= |
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 |
|3= |
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 |
|scale= |
Specifies the magnification of the icon. Default 1 Optional
|
|code= |
The color code is displayed after the sprite. Optional |
Usage[]
- Code
{{Tint| potion | #FF9800 | scale=2 }}
- Produces
- Code
{{Tint| particle-effect | #7CAFC6 | code=1 }}
- Produces
-
#7CAFC6
List of available icons[]
If you want to modify the image, use the Sprite Editor in Template:TintSprite.
Uncategorized
acacia-leaves
attached-pumpkin-stem
dark-oak-leaves
firework-star
grass
grass-block-side
grass-block-top
jungle-leaves
leather-boots
leather-chestplate
leather-helmet
leather-horse-armor
leather-leggings
lily-pad
lingering-potion
oak-leaves
particle-effect
particle-generic
particle-note
potion
pumpkin-stem
redstone-dust-dot
redstone-dust-E
redstone-dust-ES
redstone-dust-ESW
redstone-dust-EW
redstone-dust-N
redstone-dust-NE
redstone-dust-NES
redstone-dust-NESW
redstone-dust-NEW
redstone-dust-NS
redstone-dust-NSW
redstone-dust-NW
redstone-dust-S
redstone-dust-SW
redstone-dust-W
spawn-egg
splash-potion
sugar-cane
tall-grass-bottom
tall-grass-top
tipped-arrow
vine
water-flow
water-still