Battlerite Wiki
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Wiki Roadmap
Community portal
Recent changes
Random page
Admin noticeboard
Report a Bad Ad
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
FANDOM
Fan Central
BETA
Games
Anime
Movies
TV
Video
Wikis
Explore Wikis
Community Central
Start a Wiki
Don't have an account?
Register
Sign In
Sign In
Register
Battlerite Wiki
355
pages
Explore
Main Page
All Pages
Interactive Maps
navigation
Main page
Wiki Roadmap
Community portal
Recent changes
Random page
Admin noticeboard
Report a Bad Ad
Gamepedia
Gamepedia support
Report a bad ad
Help Wiki
Contact us
Editing
Editing Guide
(section)
Back to page
Edit
VisualEditor
View history
Talk (0)
Edit Page
Editing Guide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Cargo Tables == Cargo is a plugin for MediaWiki which acts as a sort of database. It makes use of traditional wiki functionality (templates, pages) to create tables which can be queried much like a traditional database. We use it here on the Battlerite wiki to make common tasks easier and to enable features otherwise not possible. Editing them is a little different than editing normal wiki pages but not much harder. For advanced users: Cargo allows for tables to be defined in a template, and data to be added to the table by calling that template. You can call that template from anywhere but we decided to make dedicated pages for each table where the data is also displayed. Some examples are [[Ability Data]] and [[Template:Ability Data]], [[Battlerite Data]] and [[Template:Battlerite Data]], [[Champion Data]] and [[Template:Champion Data]] (our Battlerite wiki abc ;). All tables can be seen at [[Special:CargoTables]] and more info on Cargo can be found [https://www.mediawiki.org/wiki/Extension:Cargo here] Let's look at an example. Imagine a new patch came out and Rooks HP got buffed to 420. Information about champions is stored on the [[Champion Data]] page. On that page there is a section for every champion. After clicking "Rook" on the table of contents click "edit source". Now you can see a lot of statements in the form of <code>name=value</code>, we want to edit HP which is called health here. So change <code>health=250</code> to <code>health=420</code> and save your edit. Now when the page refreshes you would see that the health has changed just as we intended. But if you'd go to the Rook page the old value would still be shown. This is because the old value is still in the [https://en.wikipedia.org/wiki/Cache_(computing) cache] and we need to clear (purge) the cache. One way to do this is to go to the page, go to the edit view and save it without changing anything (this is called null editing). This will purge the cache and make the wiki display the new value. For more info see [https://www.mediawiki.org/wiki/Manual:Purge here]. If you want to purge multiple pages at once see [[Easy Purge]]. === Cosmetic Data === This table is used to display cosmetics on the champion pages. To show cosmetics in the order as they are shown in the client the internal id of the rows in the table are used. When adding cosmetics the ids of those newly added cosmetics are added at the end of the list, so they will display as last item. To fix this recreate the table. This causes the ids to be in the order of the entries in [[Cosmetic Data]]. To recreate the table go to [[Template:Cosmetic Data]] and click "Recreate data" which is located in the menu on the top right under "More".
Summary:
Please note that all contributions to the Battlerite Wiki are considered to be released under the CC BY-NC-SA
Cancel
Editing help
(opens in new window)
Follow on IG
TikTok
Join Fan Lab