Template:BCS change list by name: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
Created page with "<includeonly>{{#cargo_query:table=bcs_changes |fields=version, quote, changes |where=name='{{{1|}}}' |order by=version |format=template |template=BCS change list row |named args=yes |delimiter=\n }}</includeonly><noinclude>{{/doc}}Category:Cargo query templatesCategory:BCS templates</noinclude>"
 
No edit summary
Line 1: Line 1:
<includeonly>{{#cargo_query:table=bcs_changes
<includeonly>{{#cargo_query:table=bcs_changes
|fields=version, quote, changes
|fields=CONCAT("<h{{{header level|3}}}>[[Bloons Card Storm v", version, "|Version ", version, "]]</h{{{header level|3}}}>\n",
|where=name='{{{1|}}}'
COALESCE(CONCAT("{", "{quote", "{{!}}", quote, "{{!}}Version ", version, " update notes}", "}\n"), ""), changes)
 
|where=names HOLDS "{{{1|}}}"
|order by=version
|order by=version


|format=template
|format=list
|template=BCS change list row
|named args=yes
|delimiter=\n
|delimiter=\n
}}</includeonly><noinclude>{{/doc}}[[Category:Cargo query templates]][[Category:BCS templates]]</noinclude>
}}</includeonly><noinclude>{{/doc}}[[Category:Cargo query templates]][[Category:BCS templates]]</noinclude>

Revision as of 05:47, 20 October 2024

No description.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name 11

no description

Unknownoptional
Name 22

no description

Unknownoptional
Name 33

no description

Unknownoptional
Beforebefore

Only shows changes from versions up to, but *not* including, this version number.

Numberoptional
Sincesince

Only shows changes from versions after, *and* including, this version number.

Numberoptional
Header levelheader level

no description

Numberoptional

Example usage

{{BCS change list by name|Quick Ready}}
Error 1054: Unknown column 'quote' in 'field list'

Function: CargoSQLQuery::run Query: SELECT `bcs_changes`.`_pageID` AS `cargo_backlink_page_id_bcs_changes`,CONCAT("<h3>Version ", version, "</h3>\n", COALESCE(CONCAT("{", "{quote", "|", quote, "|Version ", version, " update notes}", "}\n"), ""), changes) AS `CONCAT( <h3>Version , version, </h3>\n , COALESCE(CONCAT( { , {quote , | , quote, |Version , version, update notes} , }\n ), ), changes)` FROM `cargo__bcs_changes` `bcs_changes` WHERE `bcs_changes`.`_ID` IN (SELECT `_rowID` FROM `cargo__bcs_changes__names` WHERE `_value`= "Quick Ready") ORDER BY `version` LIMIT 100