Template:HomeBuildsSplit: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=builds | tables=builds | ||
|fields= | |fields=Page,BuildName,Author,PlayerCharacter,CreatedAt,Votes | ||
|order by=builds.CreatedAt DESC | |order by=builds.CreatedAt DESC | ||
|limit={{#if:{{{LimitLeft|}}}|{{{LimitLeft}}}|6}} | |limit={{#if:{{{LimitLeft|}}}|{{{LimitLeft}}}|6}} | ||
|format= | |format=template | ||
| | |template=HomeBuildsSplit/Row | ||
|named args=yes | |||
|more results text= | |more results text= | ||
|default=<div class="mb-empty">No recent builds.</div> | |default=<div class="mb-empty">No recent builds.</div> | ||
| Line 33: | Line 22: | ||
{{#cargo_query: | {{#cargo_query: | ||
tables=builds | tables=builds | ||
|fields= | |fields=Page,BuildName,Author,PlayerCharacter,CreatedAt,Votes | ||
|order by=builds.Votes DESC,builds.CreatedAt DESC | |order by=builds.Votes DESC,builds.CreatedAt DESC | ||
|limit={{#if:{{{LimitRight|}}}|{{{LimitRight}}}|6}} | |limit={{#if:{{{LimitRight|}}}|{{{LimitRight}}}|6}} | ||
|format= | |format=template | ||
| | |template=HomeBuildsSplit/Row | ||
|named args=yes | |||
|more results text= | |more results text= | ||
|default=<div class="mb-empty">No top builds.</div> | |default=<div class="mb-empty">No top builds.</div> | ||