Jump to content

Template:HomeBuildsSplit: Difference between revisions

From Megabonk Wiki
No edit summary
No edit summary
Tag: Reverted
Line 2: Line 2:
   <div class="mb-col">
   <div class="mb-col">
     <h2>Last Builds</h2>
     <h2>Last Builds</h2>
    <div class="mb-list-cards">
<div class="mb-list-cards">
      {{#cargo_query:
{{#cargo_query:
        tables=builds
tables=builds
        |fields=builds.Page=Page,builds.BuildName=Name,builds.Author=Author,builds.PlayerCharacter=PlayerCharacter,builds.CreatedAt=CreatedAt,builds.Votes=Votes,builds.StartingWeapon=StartingWeapon,builds.Weapon2=Weapon2,builds.Weapon3=Weapon3,builds.Weapon4=Weapon4,builds.Tome1=Tome1,builds.Tome2=Tome2,builds.Tome3=Tome3,builds.Tome4=Tome4
|fields=builds.Page=Page,builds.BuildName=Name,builds.Author=Author,builds.PlayerCharacter=PlayerCharacter,builds.CreatedAt=CreatedAt,builds.Votes=Votes,builds.StartingWeapon=StartingWeapon,builds.Weapon2=Weapon2,builds.Weapon3=Weapon3,builds.Weapon4=Weapon4,builds.Tome1=Tome1,builds.Tome2=Tome2,builds.Tome3=Tome3,builds.Tome4=Tome4
        |order by=builds.CreatedAt DESC
|order by=builds._modificationDate DESC,builds.CreatedAt DESC,builds._pageID DESC
        |limit={{#if:{{{LimitLeft|}}}|{{{LimitLeft}}}|6}}
|limit={{#if:{{{LimitLeft|}}}|{{{LimitLeft}}}|6}}
        |format=template
|format=template
        |template=HomeBuildsSplit/Row
|template=HomeBuildsSplit/Row
        |named args=yes
|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>
        |default args=ShowGear=
|default args=ShowGear=
      }}
}}
    </div>
</div>
   </div>
   </div>



Revision as of 19:01, 8 October 2025

Last Builds

Error 1054: Unknown column 'cargo__builds._modificationDate' in 'ORDER BY'

Function: CargoSQLQuery::run Query: SELECT `cargo__builds`.`_pageID` AS `cargo_backlink_page_id_builds`,`cargo__builds`.`Page` AS `Page`,`cargo__builds`.`BuildName` AS `Name`,`cargo__builds`.`Author` AS `Author`,`cargo__builds`.`PlayerCharacter` AS `PlayerCharacter`,`cargo__builds`.`CreatedAt` AS `CreatedAt`,`cargo__builds`.`Votes` AS `Votes`,`cargo__builds`.`StartingWeapon` AS `StartingWeapon`,`cargo__builds`.`Weapon2` AS `Weapon2`,`cargo__builds`.`Weapon3` AS `Weapon3`,`cargo__builds`.`Weapon4` AS `Weapon4`,`cargo__builds`.`Tome1` AS `Tome1`,`cargo__builds`.`Tome2` AS `Tome2`,`cargo__builds`.`Tome3` AS `Tome3`,`cargo__builds`.`Tome4` AS `Tome4`,`cargo__builds`.`CreatedAt__precision` AS `CreatedAt__precision` FROM `cargo__builds` ORDER BY `cargo__builds`.`_modificationDate` DESC,`cargo__builds`.`CreatedAt` DESC,`cargo__builds`.`_pageID` DESC LIMIT 100

Top Rated Builds

by Xtra
by Xtra
by Rafaelo
by deevee
by Kalraas