$execute if items entity @e[type=minecraft:item_frame,limit=1,sort=nearest] container.0 minecraft:polished_deepslate_slab positioned as @s run return run place template ws:strict_slate_$(side) ~1 ~ ~1
$execute if items entity @e[type=minecraft:item_frame,limit=1,sort=nearest] container.0 minecraft:mangrove_slab positioned as @s run return run place template ws:redwood_$(side) ~1 ~ ~1
$execute if items entity @e[type=minecraft:item_frame,limit=1,sort=nearest] container.0 minecraft:oak_slab positioned as @s run return run place template ws:classic_$(side) ~1 ~ ~1
$execute if items entity @e[type=minecraft:item_frame,limit=1,sort=nearest] container.0 minecraft:dark_oak_slab positioned as @s run return run place template ws:dark_mode_$(side) ~1 ~ ~1
$execute positioned as @s run place template ws:default_interior_$(side) ~1 ~ ~1