VOOZH about

URL: https://minecraft.wiki/w/Template_talk:Smithing

⇱ Template talk:Smithing – Minecraft Wiki


Template talk:Smithing

From Minecraft Wiki
Latest comment: 27 August 2025 by The 404-11 in topic Show Trim type in tool-tip
Jump to navigation Jump to search

Resin trimmed armor is displayed incorrectly

[edit source]
Latest comment: 25 November 20243 comments2 people in discussion

Hello,

I’ve noticed that this template incorrectly displays some resin-trimmed armor pieces

For example, netherite boots are displayed as a leather tunic, though the tooltip still says “netherite boots”.

This also affects the leather tunic, leather cap and leather pants.

If you know how, please fix it.


GoldJackal (talk) 18:27, 25 November 2024 (UTC)

I don't think the problem is with the template itself, I think the template isn't being used correctly. I got the template from the Smithing page to work properly in my sandbox after making a few changes. I'll try to fix the templates on the other pages, too. The way the resin trim was added to the Smithing template on the page caused the cycle to be thrown off, which made it produce nonsensical outputs. Rampage455 (talk) 18:49, 25 November 2024 (UTC)
Update: I was somewhat mistaken. The Smithing template I looked at first was configured incorrectly and I thought that was the problem, but when checking the other templates, I noticed the specific problem with the leather items. I think the problem is that some of the item sprite image files listed in {{InvSprite}} have the wrong file names. For example, File:Invicon Resin Trim Leather Pants.png is actually an image of a resin trim netherite helmet. These files will need to be renamed. Rampage455 (talk) 23:29, 25 November 2024 (UTC)

Show Trim type in tool-tip

[edit source]
Latest comment: 27 August 20251 comment1 person in discussion

Currently Template:Smithing does not support showing any Armor trim type in the tool-tip, instead showing a generic "Armor Trim" description.

Without trim name (current);

Ingredients Smithing recipe
Snout Armor Trim +
Any Armor Piece +
Any Trim material
👁 Invicon Snout Armor Trim Smithing Template.png: Inventory sprite for Snout Armor Trim Smithing Template in Minecraft as shown in-game linking to Snout Armor Trim Smithing Template with description: Snout Armor Trim Smithing Template Applies to:  Armor Ingredients:  Ingot & Crystals
👁 Invicon Netherite Helmet.png: Inventory sprite for Netherite Helmet in Minecraft as shown in-game linking to Netherite Helmet with description: Netherite Helmet When on Head: +3 Armor +3 Armor Toughness +1 Knockback Resistance
👁 Invicon Iron Chestplate.png: Inventory sprite for Iron Chestplate in Minecraft as shown in-game linking to Iron Chestplate with description: Iron Chestplate When on Chest: +6 Armor
👁 Invicon Golden Leggings.png: Inventory sprite for Golden Leggings in Minecraft as shown in-game linking to Golden Leggings with description: Golden Leggings When on Legs: +3 Armor
👁 Invicon Diamond Boots.png: Inventory sprite for Diamond Boots in Minecraft as shown in-game linking to Diamond Boots with description: Diamond Boots When on Feet: +3 Armor +2 Armor Toughness
👁 Invicon Chainmail Chestplate.png: Inventory sprite for Chainmail Chestplate in Minecraft as shown in-game linking to Chainmail Chestplate with description: Chainmail Chestplate When on Chest: +5 Armor
👁 Invicon Leather Pants.png: Inventory sprite for Leather Pants in Minecraft as shown in-game linking to Leather Pants with description: Leather Pants When on Legs: +2 Armor
👁 Invicon Turtle Shell.png: Inventory sprite for Turtle Shell in Minecraft as shown in-game linking to Turtle Shell with description: Turtle Shell When on Head: +2 Armor
👁 Invicon Amethyst Shard.png: Inventory sprite for Amethyst Shard in Minecraft as shown in-game linking to Amethyst Shard with description: Amethyst Shard
👁 Invicon Copper Ingot.png: Inventory sprite for Copper Ingot in Minecraft as shown in-game linking to Copper Ingot with description: Copper Ingot
👁 Invicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to Diamond with description: Diamond
👁 Invicon Emerald.png: Inventory sprite for Emerald in Minecraft as shown in-game linking to Emerald with description: Emerald
👁 Invicon Gold Ingot.png: Inventory sprite for Gold Ingot in Minecraft as shown in-game linking to Gold Ingot with description: Gold Ingot
👁 Invicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron Ingot
👁 Invicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to Lapis Lazuli with description: Lapis Lazuli
👁 Invicon Nether Quartz.png: Inventory sprite for Nether Quartz in Minecraft as shown in-game linking to Nether Quartz with description: Nether Quartz
👁 Invicon Netherite Ingot.png: Inventory sprite for Netherite Ingot in Minecraft as shown in-game linking to Netherite Ingot with description: Netherite Ingot
👁 Invicon Redstone Dust.png: Inventory sprite for Redstone Dust in Minecraft as shown in-game linking to Redstone Dust with description: Redstone Dust
👁 Invicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to Diamond with description: Diamond
👁 Invicon Emerald.png: Inventory sprite for Emerald in Minecraft as shown in-game linking to Emerald with description: Emerald
👁 Invicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to Lapis Lazuli with description: Lapis Lazuli
👁 Invicon Redstone Dust.png: Inventory sprite for Redstone Dust in Minecraft as shown in-game linking to Redstone Dust with description: Redstone Dust
👁 Invicon Amethyst Trim Netherite Helmet.png: Inventory sprite for Amethyst Trim Netherite Helmet in Minecraft as shown in-game linking to Amethyst Trim Netherite Helmet with description: Netherite Helmet Upgrade:  Armor Trim  Amethyst Material When on Head: +3 Armor +3 Armor Toughness +1 Knockback Resistance
👁 Invicon Copper Trim Iron Chestplate.png: Inventory sprite for Copper Trim Iron Chestplate in Minecraft as shown in-game linking to Copper Trim Iron Chestplate with description: Iron Chestplate Upgrade:  &zArmor Trim  Copper Material When on Chest: +6 Armor
👁 Invicon Diamond Trim Golden Leggings.png: Inventory sprite for Diamond Trim Golden Leggings in Minecraft as shown in-game linking to Diamond Trim Golden Leggings with description: Golden Leggings Upgrade:  Armor Trim  Diamond Material When on Legs: +3 Armor
👁 Invicon Emerald Trim Diamond Boots.png: Inventory sprite for Emerald Trim Diamond Boots in Minecraft as shown in-game linking to Emerald Trim Diamond Boots with description: Diamond Boots Upgrade:  Armor Trim  Emerald Material When on Feet: +3 Armor +2 Armor Toughness
👁 Invicon Gold Trim Chainmail Chestplate.png: Inventory sprite for Gold Trim Chainmail Chestplate in Minecraft as shown in-game linking to Gold Trim Chainmail Chestplate with description: Chainmail Chestplate Upgrade:  Armor Trim  Gold Material When on Chest: +5 Armor
👁 Invicon Iron Trim Leather Pants.png: Inventory sprite for Iron Trim Leather Pants in Minecraft as shown in-game linking to Iron Trim Leather Pants with description: Leather Pants Upgrade:  Armor Trim  Iron Material When on Legs: +2 Armor
👁 Invicon Lapis Trim Turtle Shell.png: Inventory sprite for Lapis Trim Turtle Shell in Minecraft as shown in-game linking to Lapis Trim Turtle Shell with description: Turtle Shell Upgrade:  Armor Trim  Lapis Material When on Head: +2 Armor
👁 Invicon Quartz Trim Netherite Helmet.png: Inventory sprite for Quartz Trim Netherite Helmet in Minecraft as shown in-game linking to Quartz Trim Netherite Helmet with description: Netherite Helmet Upgrade:  Armor Trim  Quartz Material When on Head: +3 Armor +3 Armor Toughness +1 Knockback Resistance
👁 Invicon Netherite Trim Iron Chestplate.png: Inventory sprite for Netherite Trim Iron Chestplate in Minecraft as shown in-game linking to Netherite Trim Iron Chestplate with description: Iron Chestplate Upgrade:  Armor Trim  Netherite Material When on Chest: +6 Armor
👁 Invicon Redstone Trim Golden Leggings.png: Inventory sprite for Redstone Trim Golden Leggings in Minecraft as shown in-game linking to Redstone Trim Golden Leggings with description: Golden Leggings Upgrade:  &yArmor Trim  Redstone Material When on Legs: +3 Armor
👁 Invicon Diamond Trim Diamond Boots.png: Inventory sprite for Diamond Trim Diamond Boots in Minecraft as shown in-game linking to Diamond Trim Diamond Boots with description: Diamond Boots Upgrade:  Armor Trim  Diamond Material When on Feet: +3 Armor +2 Armor Toughness
👁 Invicon Emerald Trim Chainmail Chestplate.png: Inventory sprite for Emerald Trim Chainmail Chestplate in Minecraft as shown in-game linking to Emerald Trim Chainmail Chestplate with description: Chainmail Chestplate Upgrade:  Armor Trim  Emerald Material When on Chest: +5 Armor
👁 Invicon Lapis Trim Leather Pants.png: Inventory sprite for Lapis Trim Leather Pants in Minecraft as shown in-game linking to Lapis Trim Leather Pants with description: Leather Pants Upgrade:  Armor Trim  Lapis Material When on Legs: +2 Armor
👁 Invicon Redstone Trim Turtle Shell.png: Inventory sprite for Redstone Trim Turtle Shell in Minecraft as shown in-game linking to Redstone Trim Turtle Shell with description: Turtle Shell Upgrade:  &yArmor Trim  Redstone Material When on Head: +2 Armor

The section to display the Trimmed Armor icon looks like this;

|Amethyst Trim Netherite Helmet; Copper Trim Iron Chestplate; Diamond Trim Golden Leggings; Emerald Trim Diamond Boots; Gold Trim Chainmail Chestplate; Iron Trim Leather Pants; Lapis Trim Turtle Shell; Quartz Trim Netherite Helmet; Netherite Trim Iron Chestplate; Redstone Trim Golden Leggings; Diamond Trim Diamond Boots; Emerald Trim Chainmail Chestplate; Lapis Trim Leather Pants; Redstone Trim Turtle Shell

This does not match how the item is displayed in-game. One can however use wiki formatting to display them correctly.

With trim name;

Ingredients Smithing recipe
Snout Armor Trim +
Any Armor Piece +
Any Trim material
👁 Invicon Snout Armor Trim Smithing Template.png: Inventory sprite for Snout Armor Trim Smithing Template in Minecraft as shown in-game linking to Snout Armor Trim Smithing Template with description: Snout Armor Trim Smithing Template Applies to:  Armor Ingredients:  Ingot & Crystals
👁 Invicon Netherite Helmet.png: Inventory sprite for Netherite Helmet in Minecraft as shown in-game linking to Netherite Helmet with description: Netherite Helmet When on Head: +3 Armor +3 Armor Toughness +1 Knockback Resistance
👁 Invicon Iron Chestplate.png: Inventory sprite for Iron Chestplate in Minecraft as shown in-game linking to Iron Chestplate with description: Iron Chestplate When on Chest: +6 Armor
👁 Invicon Golden Leggings.png: Inventory sprite for Golden Leggings in Minecraft as shown in-game linking to Golden Leggings with description: Golden Leggings When on Legs: +3 Armor
👁 Invicon Diamond Boots.png: Inventory sprite for Diamond Boots in Minecraft as shown in-game linking to Diamond Boots with description: Diamond Boots When on Feet: +3 Armor +2 Armor Toughness
👁 Invicon Chainmail Chestplate.png: Inventory sprite for Chainmail Chestplate in Minecraft as shown in-game linking to Chainmail Chestplate with description: Chainmail Chestplate When on Chest: +5 Armor
👁 Invicon Leather Pants.png: Inventory sprite for Leather Pants in Minecraft as shown in-game linking to Leather Pants with description: Leather Pants When on Legs: +2 Armor
👁 Invicon Turtle Shell.png: Inventory sprite for Turtle Shell in Minecraft as shown in-game linking to Turtle Shell with description: Turtle Shell When on Head: +2 Armor
👁 Invicon Amethyst Shard.png: Inventory sprite for Amethyst Shard in Minecraft as shown in-game linking to Amethyst Shard with description: Amethyst Shard
👁 Invicon Copper Ingot.png: Inventory sprite for Copper Ingot in Minecraft as shown in-game linking to Copper Ingot with description: Copper Ingot
👁 Invicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to Diamond with description: Diamond
👁 Invicon Emerald.png: Inventory sprite for Emerald in Minecraft as shown in-game linking to Emerald with description: Emerald
👁 Invicon Gold Ingot.png: Inventory sprite for Gold Ingot in Minecraft as shown in-game linking to Gold Ingot with description: Gold Ingot
👁 Invicon Iron Ingot.png: Inventory sprite for Iron Ingot in Minecraft as shown in-game linking to Iron Ingot with description: Iron Ingot
👁 Invicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to Lapis Lazuli with description: Lapis Lazuli
👁 Invicon Nether Quartz.png: Inventory sprite for Nether Quartz in Minecraft as shown in-game linking to Nether Quartz with description: Nether Quartz
👁 Invicon Netherite Ingot.png: Inventory sprite for Netherite Ingot in Minecraft as shown in-game linking to Netherite Ingot with description: Netherite Ingot
👁 Invicon Redstone Dust.png: Inventory sprite for Redstone Dust in Minecraft as shown in-game linking to Redstone Dust with description: Redstone Dust
👁 Invicon Diamond.png: Inventory sprite for Diamond in Minecraft as shown in-game linking to Diamond with description: Diamond
👁 Invicon Emerald.png: Inventory sprite for Emerald in Minecraft as shown in-game linking to Emerald with description: Emerald
👁 Invicon Lapis Lazuli.png: Inventory sprite for Lapis Lazuli in Minecraft as shown in-game linking to Lapis Lazuli with description: Lapis Lazuli
👁 Invicon Redstone Dust.png: Inventory sprite for Redstone Dust in Minecraft as shown in-game linking to Redstone Dust with description: Redstone Dust
👁 Invicon Amethyst Trim Netherite Helmet.png: Inventory sprite for Amethyst Trim Netherite Helmet in Minecraft as shown in-game linking to Amethyst Trim Netherite Helmet with description: Netherite Helmet Upgrade:  Snout Armor Trim  Amethyst Material When on Head: +3 Armor +3 Armor Toughness +1 Knockback Resistance
👁 Invicon Copper Trim Iron Chestplate.png: Inventory sprite for Copper Trim Iron Chestplate in Minecraft as shown in-game linking to Copper Trim Iron Chestplate with description: Iron Chestplate Upgrade:  &zSnout Armor Trim  Copper Material When on Body: +6 Armor
👁 Invicon Diamond Trim Golden Leggings.png: Inventory sprite for Diamond Trim Golden Leggings in Minecraft as shown in-game linking to Diamond Trim Golden Leggings with description: Golden Leggings Upgrade:  Snout Armor Trim  Diamond Material When on Legs: +3 Armor
👁 Invicon Emerald Trim Diamond Boots.png: Inventory sprite for Emerald Trim Diamond Boots in Minecraft as shown in-game linking to Emerald Trim Diamond Boots with description: Diamond Boots Upgrade:  Snout Armor Trim  Emerald Material When on Feet: +3 Armor +2 Armor Toughness
👁 Invicon Gold Trim Chainmail Chestplate.png: Inventory sprite for Gold Trim Chainmail Chestplate in Minecraft as shown in-game linking to Gold Trim Chainmail Chestplate with description: Chainmail Chestplate Upgrade:  Snout Armor Trim  Gold Material When on Body: +5 Armor
👁 Invicon Iron Trim Leather Pants.png: Inventory sprite for Iron Trim Leather Pants in Minecraft as shown in-game linking to Iron Trim Leather Pants with description: Leather Pants Upgrade:  Snout Armor Trim  Iron Material When on Legs: +2 Armor
👁 Invicon Lapis Trim Turtle Shell.png: Inventory sprite for Lapis Trim Turtle Shell in Minecraft as shown in-game linking to Lapis Trim Turtle Shell with description: Turtle Shell Upgrade:  Snout Armor Trim  Lapis Material When on Head: +2 Armor
👁 Invicon Quartz Trim Netherite Helmet.png: Inventory sprite for Quartz Trim Netherite Helmet in Minecraft as shown in-game linking to Quartz Trim Netherite Helmet with description: Netherite Helmet Upgrade:  Snout Armor Trim  Quartz Material When on Head: +3 Armor +3 Armor Toughness +1 Knockback Resistance
👁 Invicon Netherite Trim Iron Chestplate.png: Inventory sprite for Netherite Trim Iron Chestplate in Minecraft as shown in-game linking to Netherite Trim Iron Chestplate with description: Iron Chestplate Upgrade:  Snout Armor Trim  Netherite Material When on Body: +6 Armor
👁 Invicon Redstone Trim Golden Leggings.png: Inventory sprite for Redstone Trim Golden Leggings in Minecraft as shown in-game linking to Redstone Trim Golden Leggings with description: Golden Leggings Upgrade:  &ySnout Armor Trim  Redstone Material When on Legs: +3 Armor
👁 Invicon Diamond Trim Diamond Boots.png: Inventory sprite for Diamond Trim Diamond Boots in Minecraft as shown in-game linking to Diamond Trim Diamond Boots with description: Diamond Boots Upgrade:  Snout Armor Trim  Diamond Material When on Feet: +3 Armor +2 Armor Toughness
👁 Invicon Emerald Trim Chainmail Chestplate.png: Inventory sprite for Emerald Trim Chainmail Chestplate in Minecraft as shown in-game linking to Emerald Trim Chainmail Chestplate with description: Chainmail Chestplate Upgrade:  Snout Armor Trim  Emerald Material When on Body: +5 Armor
👁 Invicon Lapis Trim Leather Pants.png: Inventory sprite for Lapis Trim Leather Pants in Minecraft as shown in-game linking to Lapis Trim Leather Pants with description: Leather Pants Upgrade:  Snout Armor Trim  Lapis Material When on Legs: +2 Armor
👁 Invicon Redstone Trim Turtle Shell.png: Inventory sprite for Redstone Trim Turtle Shell in Minecraft as shown in-game linking to Redstone Trim Turtle Shell with description: Turtle Shell Upgrade:  &ySnout Armor Trim  Redstone Material When on Head: +2 Armor

Problem is, the code balloons a lot, looks cumbersome and is a slog to manually recreate all the tool-tips.

|[&eNetherite Helmet]Amethyst Trim Netherite Helmet[&7Upgrade:/ &uSnout Armor Trim/ Amethyst Material//&7When on Head:/&9+3 Armor/&9+3 Armor Toughness/&9+1 Knockback Resistance]; 
[&eIron Chestplate]Copper Trim Iron Chestplate[&7Upgrade:/ &zSnout Armor Trim/ Copper Material//&7When on Body:/&9+6 Armor]; 
[&eGolden Leggings]Diamond Trim Golden Leggings[&7Upgrade:/ &sSnout Armor Trim/ Diamond Material//&7When on Legs:/&9+3 Armor]; 
[&eDiamond Boots]Emerald Trim Diamond Boots[&7Upgrade:/ &qSnout Armor Trim/ Emerald Material//&7When on Feet:/&9+3 Armor/&9+2 Armor Toughness];
[&eChainmail Chestplate]Gold Trim Chainmail Chestplate[&7Upgrade:/ &pSnout Armor Trim/ Gold Material//&7When on Body:/&9+5 Armor];
[&eLeather Pants]Iron Trim Leather Pants[&7Upgrade:/ &iSnout Armor Trim/ Iron Material//&7When on Legs:/&9+2 Armor];
[&eTurtle Shell]Lapis Trim Turtle Shell[&7Upgrade:/ &tSnout Armor Trim/ Lapis Material//&7When on Head:/&9+2 Armor];
[&eNetherite Helmet]Quartz Trim Netherite Helmet[&7Upgrade:/ &hSnout Armor Trim/ Quartz Material//&7When on Head:/&9+3 Armor/&9+3 Armor Toughness/&9+1 Knockback Resistance];
[&eIron Chestplate]Netherite Trim Iron Chestplate[&7Upgrade:/ &jSnout Armor Trim/ Netherite Material//&7When on Body:/&9+6 Armor];
[&eGolden Leggings]Redstone Trim Golden Leggings[&7Upgrade:/ &ySnout Armor Trim/ Redstone Material//&7When on Legs:/&9+3 Armor];
[&eDiamond Boots] Diamond Trim Diamond Boots[&7Upgrade:/ &sSnout Armor Trim/ Diamond Material//&7When on Feet:/&9+3 Armor/&9+2 Armor Toughness];
[&eChainmail Chestplate]Emerald Trim Chainmail Chestplate[&7Upgrade:/ &qSnout Armor Trim/ Emerald Material//&7When on Body:/&9+5 Armor];
[&eLeather Pants]Lapis Trim Leather Pants[&7Upgrade:/ &tSnout Armor Trim/ Lapis Material//&7When on Legs:/&9+2 Armor];
[&eTurtle Shell]Redstone Trim Turtle Shell[&7Upgrade:/ &ySnout Armor Trim/ Redstone Material//&7When on Head:/&9+2 Armor]

I suggest modifying the template so it looks at the first slot to detect what type of template it's displaying, and applying its name to the tool-tip of the finished item, that way it can also work when it displays Any Armor Trim Smithing Template as seen in Smithing_Template#Usage. If such isn't possible, then some field that can be specified.

--The 404-11 (talk) 17:40, 27 August 2025 (UTC)

Retrieved from "https://minecraft.wiki/w/Template_talk:Smithing?oldid=3129558"

Navigation menu