Template:Blast resistance values: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
m added mushroom block to the whitelist
gotta specify the variants separately
Line 12: Line 12:
}}{{ #vardefine: $block | {{ #ifeq: {{ #explode: {{ #var: $block }} || -1 }} | block<!-- strip "block" -->
}}{{ #vardefine: $block | {{ #ifeq: {{ #explode: {{ #var: $block }} || -1 }} | block<!-- strip "block" -->
     | {{ #switch: {{ #var: $block }}
     | {{ #switch: {{ #var: $block }}
       | redstone block | grass block | mushroom block = {{ #var: $block }}
       | redstone block | grass block | mushroom block | brown mushroom block | red mushroom block = {{ #var: $block }}
       | #default = {{ #replace: {{ #var: $block }} | block }}
       | #default = {{ #replace: {{ #var: $block }} | block }}
     }}
     }}

Revision as of 16:41, 28 October 2014

[create] [refresh]Documentation
This template has no documentation. If you know how to use this template, please create it.