Template:Infobox block: Difference between revisions

m add sounds per talk
I'm aware that this is going to mess everything up probably, but I'm prepared to roll this back instantly
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  = {{InvSprite|Pickaxe Required|link=Pickaxe|This block can be broken with any tool, but a pickaxe is the quickest}}
   | pick  | pickaxe  = {{AnimateSprite|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    = {{AnimateSprite|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    = {{AnimateSprite|Stone Pickaxe|link=Pickaxe|title=A stone pickaxe or better is required to mine this block}}
   | iron pickaxe      = {{InvSprite|Iron Pickaxe|link=Pickaxe|title=An iron pickaxe or better is required to mine this block}}
   | iron pickaxe      = {{AnimateSprite|Iron Pickaxe|link=Pickaxe|title=An iron 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}}
   | diamond pickaxe  = {{AnimateSprite|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      = {{AnimateSprite|Gold Pickaxe|link=Pickaxe|title=A gold pickaxe or better is required to mine this block}}
   | spade  | shovel  = {{InvSprite|Shovel Required|link=Shovel|This block can be broken with any tool, but a shovel is the quickest}}
   | spade  | shovel  = {{AnimateSprite|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    = {{AnimateSprite|Wooden Shovel|link=Shovel|title=A wooden shovel or better is required to mine this block}}
   | axe              = {{InvSprite|Axe Required|link=Axe|This block can be broken with any tool, but an axe is the quickest}}
   | axe              = {{AnimateSprite|Axe Required|link=Axe|This block can be broken with any tool, but an axe is the quickest}}
   | hoe              = {{InvSprite|Hoe Required|link=Hoe|This block can be broken with any tool, but a hoe is the quickest}}
   | hoe              = {{AnimateSprite|Hoe Required|link=Hoe|This block can be broken with any tool, but a hoe is the quickest}}
   | bucket | pail    = {{InvSprite|Bucket Required|link=Bucket|This block can only be picked up using a bucket}}
   | bucket | pail    = {{AnimateSprite|Bucket Required|link=Bucket|This block can only be picked up using a bucket}}
   | 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}}
   | sword            = {{AnimateSprite|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            = {{AnimateSprite|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 28: Line 28:
   #if: {{{tool2|}}} | {{
   #if: {{{tool2|}}} | {{
     #switch: {{ lc: {{{tool2}}} }}
     #switch: {{ lc: {{{tool2}}} }}
     | pick  | pickaxe = {{InvSprite|Pickaxe Required|link=Pickaxe}}
     | pick  | pickaxe = {{AnimateSprite|Pickaxe Required|link=Pickaxe}}
     | wooden pickaxe  = {{InvSprite|Wooden Pickaxe|link=Pickaxe}}
     | wooden pickaxe  = {{AnimateSprite|Wooden Pickaxe|link=Pickaxe}}
     | stone pickaxe  = {{InvSprite|Stone Pickaxe|link=Pickaxe}}
     | stone pickaxe  = {{AnimateSprite|Stone Pickaxe|link=Pickaxe}}
     | iron pickaxe    = {{InvSprite|Iron Pickaxe|link=Pickaxe}}
     | iron pickaxe    = {{AnimateSprite|Iron Pickaxe|link=Pickaxe}}
     | diamond pickaxe = {{InvSprite|Diamond Pickaxe|link=Pickaxe}}
     | diamond pickaxe = {{AnimateSprite|Diamond Pickaxe|link=Pickaxe}}
     | gold pickaxe    = {{InvSprite|Gold Pickaxe|link=Pickaxe}}
     | gold pickaxe    = {{AnimateSprite|Gold Pickaxe|link=Pickaxe}}
     | spade | shovel  = {{InvSprite|Shovel Required|link=Shovel}}
     | spade | shovel  = {{AnimateSprite|Shovel Required|link=Shovel}}
     | axe            = {{InvSprite|Axe Required|link=Axe}}
     | axe            = {{AnimateSprite|Axe Required|link=Axe}}
     | hoe            = {{InvSprite|Hoe Required|link=Hoe}}
     | hoe            = {{AnimateSprite|Hoe Required|link=Hoe}}
     | shears          = {{InvSprite|Shears|link=Shears}}
     | shears          = {{AnimateSprite|Shears|link=Shears}}
   }}
   }}
}} }}
}} }}