Added an editor button for the Template BB-Code in the next release.
Contrary to what may have been alluded to in prior years, the implementation of this function is not fully WYSIWYG:
When you insert the template BB-Code in this way, that template itself is not invoked inside the editor. The editor still shows the raw template tag, but it can be picked using a tool that doesn't require a user to have prior knowledge of the template's parameters:
When clicking the template button, it will now open a dialog, which contains a page chooser for searching templates. When selecting a template, the dialog automatically updates its form with the parameters that exist in that template. Each parameter is a separate BB-Code editor field that the user can fill. When closing the dialog, the appropriate template BB-Code is then inserted into the main editor.
Since each parameter is a separate BB-Code editor, you can use any BB-Code there, including clicking the template button. This allows for nesting templates in an assisted way with lesser possibility for confusion.
You can highlight an existing template BB-Code in the editor, then click the button and it will auto-populate appropriately.
Template packs
We have created a new concept which we refer to as Template Packs. These are admin-defined groupings in the Presets section where you can create named "packs" of templates, and assign those packs to various areas. There will be a number of uses for these, but related to this request:
When the user clicks the template-BB-Code editor button, the templates are pre-filtered into the packs that were assigned to the area. The user can still search for other templates, but they see the packs first. This will allow the admin to make some templates much easier to find.
For example, let's say your wiki contains a bunch of different infobox templates that you have designed. You can make a pack called "Infobox templates", and put "Character Infobox", "Place Infobox", etc (assuming those exist in your wiki). When the user clicks the editor button, they will see "Infobox Templates", which unfolds to list "Character Infobox", "Place Infobox", and they can pick the one they want to use.
After upgrading to the next release, in XenForo 2.1 installations, you will need to manually update your editor button configuration to include the template button.