I need a semantic query result table template in which I can have both the cell results of a cell with row separators for some columns, and comma-separated columns in one table.
If I use the standard format = widescreen , for example, the result is separated by newline characters inside the table cells for all columns:
{{
If I create a template, all I can accomplish is a comma separated result:
<includeonly> {| class="wikitable sortable" ! style="width: 30%;" | Page !! style="width: 30%;" | Description !! style="width: 20%;" | Models !! style="width: 20%;" | Addons |- </includeonly> {{#ask:[[Category:Items]] |?Description |?Models |?Addons |format=template |template=QResTemplate }} <includeonly> |} </includeonly>
Here is the QResTemplate:
<includeonly> | {{{1}}} || {{{2}}} || {{{3}}} || {{{4}}} |- </includeonly>
Each element has several models and additions, so in table 3 and 4 in the table, I need one of them to be separated by a comma and the other to be divided into a new line.
If I add something after {{{3}}} as a new row, it is added after the last model in the table row, and not after each model as I want it.
source share