Template:GB station number

From blackwiki
Jump to navigation Jump to search

Scope

This is intended to format the usage statistics for Template:Infobox GB station simple, although may be useful in a wider context.

It is not designed to be called directly from a wiki page, as its syntax is somewhat cumbersome.

Usage

{{GB_station_number
 | old     = 123456
 | new     = 145678
 | million = true
}}

Only the 'new' field is required.

If the 'million' field is set to 'true', then the number will be formatted as '0.146 million'.
In other cases, the number will be formatted as '145,678'.

If the 'old' field is provided, then an a triangle is added before the number to show how the 'new' figure differs from it.
If it is higher, an Increase symbol (Increase) is provided.
If lower, a Decrease symbol (Decrease) is used.
If the numbers are equal (or if no 'old' field is provided) a space is used instead.

All parameters (blank template)

{{GB station number
| old      =
| new      =
| million  =
}}