User:Proton/CostTemplateTest

From Guild Wars Wiki
Jump to navigationJump to search

Usage[edit]

  • {{Cost|Gold}}
    • Always displays the gold portion, and displays the platinum portion if it is greater than 0.
  • {{Cost|Gold|ng}}
    • Never displays the gold portion, even if it is greater than zero.

Examples[edit]

  • {{Cost|25}}
    • 25Gold
  • {{Cost|1000}}
    • 1Platinum 0Gold
  • {{Cost|1000|ng}}
    • 1Platinum
  • {{Cost|2450}}
    • 2Platinum 450Gold
  • {{Cost|123456789}}
    • 123456Platinum 789Gold

How Not to Use[edit]

When the template is being used improperly, an indicator will be present:

  • {{Cost}}
    • [?]
  • {{Cost|25|ng}}
    • [?]