Template:BTD6 change list by name: Difference between revisions

mNo edit summary
made it so different changes from the same version are grouped together
Line 1: Line 1:
<includeonly>{{autofill}}{{#cargo_query:table=btd6_changes
<includeonly>{{autofill}}{{#cargo_query:table=btd6_changes
|fields=version, quote, changes
|fields=version, GROUP_CONCAT(quote)=quote, GROUP_CONCAT(changes SEPARATOR "\n")=changes
|where=names HOLDS '{{{1|}}}'
|where=names HOLDS '{{{1|}}}'
|order by=version
|order by=version
|group by=version


|format=template
|format=template
Line 9: Line 10:
|delimiter=\n
|delimiter=\n
|default=No changes found.
|default=No changes found.
}}</includeonly><noinclude>{{/doc}}[[Category:Cargo query templates]][[Category:BTD6 templates]]</noinclude>
}}</includeonly><noinclude>{{/doc}}</noinclude>