Template:R/GoldTracker/doc

Amrosa's Gold Tracker by Amrosa and QuickNick.

The Gold Tracker is something which Amrosa created as a blog page and which QuickNick converted into a template. It seems that a few people are now using it so I thought it would be a good idea to create a standard set of templates (as opposed to people using QuickNick's original template which might be changed or deleted).

How to Use You can use the Gold Tracker by invoking the Header   template followed by multiple invocations of the Row    template and finally ending the table by invoking the Trailer    template. For example ...

Fields I have switched to using named fields as this is the new standard AND might be easier for some users to understand AND won't cause problems if the field order is changed or fields are omitted. The order of the fields doesn't matter ... though I recommend using them in the above order. If a field is undefined/omitted/empty the default value (usually -) will be output. The template and fields can be placed on separate lines ...
 * |Date= ... this is a textual date field, use whatever format you want.
 * |Type= ... this is a set of case-insensitive types defined by Amrosa which you can use, ignore or change to suit your purposes ... see the Editing the Template section below
 * |Text= ... this is a freeform text field
 * |Gold= ... this is a number field so should be numeric or blank/undefined

... or it can all can go on one line ...

Date Sorting I've included a counter c which increments by 1 every time the Row template is called and is used to sort the Date column to ensure it sorts correctly regardless of the date format used!

It could also, for example, be used in the table Trailer row to display the number of entries and/or display the average per entry.

Types This is the current set of Type shortcuts. They are case-insensitive so CBuy is the same as cbuy and cBuY.
 * SB = Start Balance
 * DC = Check-In Bonus
 * Ads = Ad Views
 * CBuy = Car Purchase
 * CUpg = Car Upgrade
 * Cus = Customization
 * SR = Series Reward
 * CSER = Career SE Reward
 * SER = SE Reward
 * LTSR = LTS Reward
 * Ach = Achievements
 * LvUp = Level Up
 * Crew = Agent, Manager, or Engineer Hire
 * Drv = Drive (Increase or Refill)
 * Svc = Service (Increase Mechanics or Reduce Time)
 * Sk = Skip
 * TR = Team Reward
 * WTTT = Weekly Time Trial Tournament Reward
 * OMP = Online Multiplayer Reward

Editing the Template ''Please do NOT edit the main Wiki templates ... unless you know what you're doing!''

If you want to edit the template (e.g. add, remove, move columns etc) copy the three templates to your user area and edit your page so that it references your versions of the templates.

To move a column just cut-and-paste the template line to the desired position ... make sure to also change the Header template!

Copy the templates to your user area and have a play, you'll get the hang of it pretty quickly. If you need help there are lots of people on here (including Amrosa and QuickNick) who should be able to help you. Have fun!