I’ll show you some material graph code you can use for reference, but it will be most helpful to look through a few tutorials so that you can see how to create new parameters and all those little steps that would take millions of words to enumerate here.
Add tiling parameters:
Add a tint parameter:
Example tutorial (there is a lot for these subjects so search around if one author doesn’t make sense):