Template:Charms calculator/doc

From Darkan
Jump to navigation Jump to search
Documentation This is a documentation subpage for Template:Charms calculator.
It contains usage information, categories, and other content that is not part of the original template page.

This template displays a calculator for charms.

Usage

This template can be used by entering the following onto a relevant Charm page.

A basic line of code looks like this:

{{#if:{{{1}}} | {{#if{{{2}}} > 49 | {{{1}}}/{{{2}}} }} }}

This is interpreted as follows: If (The first value is set) Then:

If(The second value is greater than 49) Then:
Calculate First Value/Second Value, and return that.

Each line adds two more numbers in the same format

{{Charms calculator}}