Template:BTDB2 change list by name: Difference between revisions

mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{autofill}}{{#cargo_query:table=btdb2_changes
<includeonly>{{#if:{{{hide header|}}}||{{autofill}}}}{{change list by name|table=btdb2_changes|updates table=btdb2_updates|header level={{{header level|3}}}|before={{{before|}}}|since={{{since|}}}|{{{1|}}}|{{{2|}}}|{{{3|}}}}}</includeonly><noinclude>{{/doc}}</noinclude>
|fields=CONCAT("<h{{{header level|3}}}>[[", _pageName, "|Version ", version, "]] ", IF(version_note != "", CONCAT("(", version_note, ")"), ""), "</h{{{header level|3}}}>\n",
GROUP_CONCAT(CONCAT(IF(quote != "", CONCAT("{", "{quote", "{{!}}", quote, "{{!}}Update notes}", "}\n"), ""), "\n", changes) ORDER BY priority DESC, changes SEPARATOR "\n")) = a
 
|where=names HOLDS "{{{1|}}}"{{#if:{{{2|}}}| OR names HOLDS "{{{2|}}}"}}
|order by=(version+0)
|group by=_pageName, version, version_note
 
|format=list
|delimiter=\n
|default=No changes found.
}}</includeonly><noinclude>{{/doc}}</noinclude>