Hey Traxes,
There is a TemplateTool hack in Wurst 6 (I know, I know, I should port it to Wurst 7) that lets you create a template by simply scanning something that you've built in Minecraft. That's what I used to make this template.
You could also edit the JSON text manually or use a third-party tool. This is explained here on the wiki: https://wurst.wiki/autobuild#creating_templates
With either approach, you need to keep in mind that AutoBuild will build the entire template using whatever type of block you are holding in your main hand. AutoBuild cannot automatically switch between different block types (though you can use AutoSwitch to build chaotic rainbow wool structures).
I'm not sure what you mean by "change the block we want instead of ip". In the example above, you switch between cactus, sand, and string blocks by simply selecting them in your hotbar. This is not a part of the template.
Hope this helps!