Thread:Project:Support desk/Customization of the Wikieditor Toolbar

I'm trying to find something that can be used instead of adding buttons to the WikiEditor Toolbar for text that I add to a lot of articles, like what is used for the Cite function, I guess?

I've been using info from Extension:WikiEditor/Toolbar_customization to add buttons with the Encapsule feature to add text that I repeat on a lot of articles, mostly for adding things read into templates, like for adding variables to articles using Extension:Variables pre: ""

This works ok, but when I need to edit more sections of code at once, it is kind of inefficient, and I've been using extra buttons with different Pre/PeriMsg/Post-fields to not get to repeat the code parts of the typing. I figured I could achieve this by using something like what the Cite function uses, like a popup that can add different text into each section. pre: "" pre: ""

I guess I want something like "add button" but that it works in some "add template" type thing? I havent really understood what I should be looking for to be able to add something like this to my toolbar, any suggestions where to look or what would be needed to set this up would be much appreciated!