Template:CurrencyReportTableCell

From Tears of Themis Wiki
Revision as of 04:30, 25 February 2022 by imported>Harmonea (Initial copy from Elaeagnifolia@DragaliaLost wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template-info.png Documentation

Description

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

{{CRTC|type=|amount=}}

Example

{| 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 100 10 10 Total: 120