Template:Infobox block: Difference between revisions

m Changed protection level for "Template:Block": change to directors protection ([Edit=Allow only directors] (indefinite) [Move=Allow only directors] (indefinite))
m replaced inventory slot files by inventory slot invsprites
Line 9: Line 9:
{{infobox row|label=Tool{{ #if: {{{tool2|}}} | s }}|class=pixel-image|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  = {{InvSprite|Pickaxe Required|link=Pickaxe|This block can be broken with any tool, but a pickaxe is the quickest]]
   | wooden pickaxe    = {{InvSprite|Wooden Pickaxe|link=Pickaxe|title=A wooden pickaxe or better is required to mine this block}}
   | wooden pickaxe    = {{InvSprite|Wooden Pickaxe|link=Pickaxe|title=A wooden pickaxe or better is required to mine this block}}
   | stone pickaxe    = {{InvSprite|Stone Pickaxe|link=Pickaxe|title=A stone pickaxe or better is required to mine this block}}
   | stone pickaxe    = {{InvSprite|Stone Pickaxe|link=Pickaxe|title=A stone pickaxe or better is required to mine this block}}
Line 15: Line 15:
   | diamond pickaxe  = {{InvSprite|Diamond Pickaxe|link=Pickaxe|title=A diamond pickaxe or better is required to mine this block}}
   | diamond pickaxe  = {{InvSprite|Diamond Pickaxe|link=Pickaxe|title=A diamond pickaxe or better is required to mine this block}}
   | gold pickaxe      = {{InvSprite|Gold Pickaxe|link=Pickaxe|title=A gold pickaxe or better is required to mine this block}}
   | 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  = {{InvSprite|Shovel Required|link=Shovel|This block can be broken with any tool, but a shovel is the quickest]]
   | wooden shovel    = {{InvSprite|Wooden Shovel|link=Shovel|title=A wooden shovel or better is required to mine this block}}
   | 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              = {{InvSprite|Axe Required|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              = {{InvSprite|Hoe Required|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    = {{InvSprite|Bucket Required|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            = {{InvSprite|Sword Required|link=Sword|This block can be broken with any tool, but a sword is the quickest; however it still takes double damage]]
   | shears            = {{InvSprite|Shears|link=Shears|title=This block can be broken with any tool, but shears are the quickest}}
   | 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