Template:Infobox block: Difference between revisions
Remove categories from non-mainspace and translation pages. |
Use Template:InvSprite for actual tool icons |
||
| Line 13: | Line 13: | ||
| {{Hardness values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }} | | {{Hardness values | {{#if: {{{title|}}} | {{{title}}} | {{#titleparts: {{BASEPAGENAME}} }} }} }} | ||
}} }} | }} }} | ||
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|field={{ | {{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|class=pixel-image|field={{ | ||
#switch: {{ lc: {{{tool|}}} }} | #switch: {{ lc: {{{tool|}}} }} | ||
| pick | pickaxe = [[File:Use-pickaxe.png|32px|link=Pickaxe|This block can be broken with any tool, but a pickaxe is the quickest]] | | pick | pickaxe = [[File:Use-pickaxe.png|32px|link=Pickaxe|This block can be broken with any tool, but a pickaxe is the quickest]] | ||
| wooden pickaxe = | | wooden pickaxe = {{InvSprite|Wooden Pickaxe|link=Pickaxe|title=A wooden pickaxe or better is required to mine this block}} | ||
| stone pickaxe = | | stone pickaxe = {{InvSprite|Stone Pickaxe|link=Pickaxe|title=A stone pickaxe or better is required to mine this block}} | ||
| iron pickaxe = | | iron pickaxe = {{InvSprite|Iron Pickaxe|link=Pickaxe|title=An iron pickaxe or better is required to mine this block}} | ||
| diamond pickaxe = | | diamond pickaxe = {{InvSprite|Diamond Pickaxe|link=Pickaxe|title=A diamond pickaxe or better is required to mine this block}} | ||
| gold pickaxe = | | gold pickaxe = {{InvSprite|Gold Pickaxe|link=Pickaxe|title=A gold pickaxe or better is required to mine this block}} | ||
| spade | shovel = [[File:Use-spade.png|32px|link=Shovel|This block can be broken with any tool, but a shovel is the quickest]] | | spade | shovel = [[File:Use-spade.png|32px|link=Shovel|This block can be broken with any tool, but a shovel is the quickest]] | ||
| wooden shovel = | | wooden shovel = {{InvSprite|Wooden Shovel|link=Shovel|title=A wooden shovel or better is required to mine this block}} | ||
| axe = [[File:Use-axe.png|32px|link=Axe|This block can be broken with any tool, but an axe is the quickest]] | | axe = [[File:Use-axe.png|32px|link=Axe|This block can be broken with any tool, but an axe is the quickest]] | ||
| hoe = [[File:Use-hoe.png|32px|link=Hoe|This block can be broken with any tool, but a hoe is the quickest]] | | hoe = [[File:Use-hoe.png|32px|link=Hoe|This block can be broken with any tool, but a hoe is the quickest]] | ||
| bucket | pail = [[File:Use-bucket.png|32px|link=Bucket|This block can only be picked up using a bucket]] | | bucket | pail = [[File:Use-bucket.png|32px|link=Bucket|This block can only be picked up using a bucket]] | ||
| sword = [[File:Use-sword.png|32px|link=Sword|This block can be broken with any tool, but a sword is the quickest; however it still takes double damage]] | | sword = [[File:Use-sword.png|32px|link=Sword|This block can be broken with any tool, but a sword is the quickest; however it still takes double damage]] | ||
| shears = | | shears = {{InvSprite|Shears|link=Shears|title=This block can be broken with any tool, but shears are the quickest}} | ||
| n/a | none = None | | n/a | none = None | ||
| all | alltools | any | anytool = Any tool | | all | alltools | any | anytool = Any tool | ||
| Line 35: | Line 35: | ||
#switch: {{ lc: {{{tool2}}} }} | #switch: {{ lc: {{{tool2}}} }} | ||
| pick | pickaxe = [[File:Use-pickaxe.png|32px|link=Pickaxe]] | | pick | pickaxe = [[File:Use-pickaxe.png|32px|link=Pickaxe]] | ||
| wooden pickaxe = | | wooden pickaxe = {{InvSprite|Wooden Pickaxe|link=Pickaxe}} | ||
| stone pickaxe = | | stone pickaxe = {{InvSprite|Stone Pickaxe|link=Pickaxe}} | ||
| iron pickaxe = | | iron pickaxe = {{InvSprite|Iron Pickaxe|link=Pickaxe}} | ||
| diamond pickaxe = | | diamond pickaxe = {{InvSprite|Diamond Pickaxe|link=Pickaxe}} | ||
| gold pickaxe = | | gold pickaxe = {{InvSprite|Gold Pickaxe|link=Pickaxe}} | ||
| spade | shovel = [[File:Use-spade.png|32px|link=Shovel]] | | spade | shovel = [[File:Use-spade.png|32px|link=Shovel]] | ||
| axe = [[File:Use-axe.png|32px|link=Axe]] | | axe = [[File:Use-axe.png|32px|link=Axe]] | ||
| hoe = [[File:Use-hoe.png|32px|link=Hoe]] | | hoe = [[File:Use-hoe.png|32px|link=Hoe]] | ||
| shears = | | shears = {{InvSprite|Shears|link=Shears}} | ||
}} | }} | ||
}} }} | }} }} | ||