Topic on Help talk:TemplateData

Custom format - two parameters on one row

2
Summary by Whatamidoing (WMF)
Kozuch (talkcontribs)

I want to format the template but use two parameters on one row like this:

{{TemplateName
 | param1 | param2
 | param3 | param4
}}

This is because I have a gallery - first param is name, second description for the same item, so should be on same row to make it nice.

{{Gallery
 | name1 | description1
 | name2 | description2
}}

Formating syntax tried (two pipes) but gave error:
{{_\n| _ = _ | _ = _\n}}
{{_\n| _ | _\n}}

I use nameless params - {{{1}}} {{{2}}} etc.

Tried syntax with multiple pipes but that gave errors. Is there a way to do this?

Whatamidoing (WMF) (talkcontribs)

Unfortunately, this can't be done right now. phab:T275457 is the ticket for the feature request.