Template:Change list by name: Difference between revisions

mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{#cargo_query:table={{{table|???}}}
<includeonly>{{#cargo_query:table={{{table|???}}}
|fields=CONCAT("<h{{{header level|3}}}>[[", _pageName, "|Version ", version, "]] ", IF(version_note != "", CONCAT("(", version_note, ")"), ""), "</h{{{header level|3}}}>\n",
|fields=CONCAT("<h{{{header level|3}}}>[[", _pageName, "|Version ", version, "]] ", IF(version_note != "", CONCAT("(", version_note, ")"), ""), "</h{{{header level|3}}}>\n",
GROUP_CONCAT(changes ORDER BY priority DESC, changes SEPARATOR "\n")) = a
"{{{prefix|}}}",
GROUP_CONCAT(changes ORDER BY priority DESC, changes SEPARATOR "\n"),
"{{{suffix|}}}"
) = a


|where=(names HOLDS "{{{1|}}}"{{#if:{{{2|}}}| OR names HOLDS "{{{2|}}}"}}){{#if:{{{before|}}}| AND version < {{{before}}}}}{{#if:{{{since|}}}| AND version >= {{{since}}}}}
|where=(names HOLDS "{{{1|}}}"{{#if:{{{2|}}}| OR names HOLDS "{{{2|}}}"}}){{#if:{{{before|}}}| AND version < {{{before}}}}}{{#if:{{{since|}}}| AND version >= {{{since}}}}}