Template:CurrencyReportTableCell/doc

From Tears of Themis Wiki
Template-info.png Documentation

Description[edit source]

Used in conjunction with Template:CRTR to create a Currency Income Report table.

Adds amount to the type variable defined in the CRTR template to be used in later expressions.

Takes any text value for the currency flag and handles them as follows:

  • If not passed a currency type, defaults to Btn money s.pngS-Chip and adds amount to the total.
  • If passed the "Gem" currency type, multiplies amount by 10 before adding to the total.
  • If passed any other unhandled value, template assumes this is a type of Btn coin gacha s.pngTears of Themis and multiplies amount by 180 before adding to the total.

Usage[edit source]

{{CRTC|type=|amount=}}

Example[edit source]

{| class="wikitable"
{{CRTR|Events}}
{{CRTC|type=Events|amount=100}}
{{CRTC|type=Events|currency=Gem|amount=10}}
{{CRTC|type=Events|currency=Tears of Themis - Limited|amount=10}}
|'''Total:''' {{#var:Events}}
|}
Events Btn money s.png
100
Btn money2 s.png
10
Tears of Themis - Limited small icon.png
10
Total: 2000

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.