Template:BTD6 change list by name: Difference between revisions

made it so different changes from the same version are grouped together
m added a disclaimer option
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{autofill}}{{#cargo_query:table=btd6_changes
<includeonly>{{#if:{{{disclaimer|}}}|<div class="hatnote">Icons indicate whether a change is beneficial or detrimental to the subject of this article, not to the player.</div>}}{{#if:{{{hide header|}}}||{{autofill}}}}{{change list by name|table=btd6_changes|updates table=btd6_updates|header level={{{header level|3}}}|before={{{before|}}}|since={{{since|}}}|{{{1|}}}|{{{2|}}}|{{{3|}}}}}</includeonly><noinclude>{{/doc}}</noinclude>
|fields=version, GROUP_CONCAT(quote)=quote, GROUP_CONCAT(changes SEPARATOR "\n")=changes
|where=names HOLDS '{{{1|}}}'
|order by=version
|group by=version
 
|format=template
|template=BTD6 change list row
|named args=yes
|delimiter=\n
|default=No changes found.
}}</includeonly><noinclude>{{/doc}}</noinclude>