Good to hear from you again. Thanks for starting a new topic for your question, and for taking the time to include the source text from your shortcode.
I hope I understand your issue correctly. Your first template ([+template: Summary: ([+caption+]|[+ description +]|[+title+]) +]
) is taken from the “Content Templates” section of the Settings/Media Library Assistant Documentation tab. Your second example ({+template:({+description+}|{+caption+}|{+title+}| )+}
)looks like it comes from your own shortcode – the solution you ended up with; is that right?
You don’t specify the error that was displayed, but I did notice that the first example uses square brackets while the second example uses curly braces. The square brackets are appropriate for MLA custom style and markup templates. The curly braces must be used in the parameters of the shortcode itself. For example,:
[mla_gallery mla_caption="[+template:([+ description +]|[+caption+]|[+title+])+]"]
will generate an error. It must be coded as:
[mla_gallery mla_caption="{+template:({+description+}|{+caption+}|{+title+})+}"]
I entered that second form in my test system and it is working properly, without the extra pipe character at the end.
If I have missed some part of the issue or not understood it completely, any additional information you can provide will help me be more specific.
The whole square bracket/curly brace issue is an unfortunate result of my inexperience in the early MLA development days. By the time I discovered that square brackets could not be used in shortcode parameters it was too late to change their use in custom style and markup templates. Live and learn, I guess.
I will leave this topic unresolved until I hear back from you.