String as many of these together as needed, they all have a default
Example:
https://thermometer.forwardaction.uk/?contributed=21321312&goal=52000000&contributions=123&datestr=1508167978&showperc=false&showdate=false&showcontributions=false&halfsize=true&top_left=TEST%20LABEL
?geturl=
Type: URL
Desc: Links to a correctly formatted XML document with the data source, it will fetch the data from this
?datestr=
Type: Unix Timestamp (eg. 1508168978
)
Desc: Controls the "as of" part
?contributed=
Type: Unformatted Number (eg. 37820504
)
Desc: The amount of money contributed
?goal=
Type: Unformatted Number (eg. 49000000
)
Desc: The money goal
?contributions=
Type: Unformatted Number (eg. 1248258
)
Desc: The amount of contributions made
?perc=
Type: Unformatted Number (eg. 1248258
)
Desc: This overwrites any other bar position calculation and shows the percentage given.
?showperc=
Type: Boolean (eg. true
)
Default: true
Desc: Shows the percentage number on the progress bar
?showdate=
Type: Boolean (eg. true
)
Default: true
Desc: Shows the date on the bottom right
?showcontributions=
Type: Boolean (eg. true
)
Default: true
Desc: Shows the amount of contributions on the bottom left
?halfsize=
Type: Boolean (eg. true
)
Default: false
Desc: Reduces the height of the image to 150px, rather than 200px.
Note: only use this if you have showperc
, showdate
and showcontributions
set to false
?transbg=
Type: Boolean (eg. true
)
Default: true
Desc: Sets whether you want a transparent background
Note: if you use this make sure you set the bgcolour
?showsignatures=
Type: Boolean (eg. true
)
Default: true
Desc: Sets whether you want to display signatures on petition.php
Note: only works on petition.php
?showcontributors=
Type: Boolean (eg. true
)
Default: true
Desc: Sets whether you want to display contributors on monthly.php
Note: only works on monthly.php
?showcontributed=
Type: Boolean (eg. true
)
Default: true
Desc: Sets whether you want to display contributed on therm.php
Note: only works on therm.php
?showgoal=
Type: Boolean (eg. true
)
Default: true
Desc: Sets whether you want to display the goal on therm.php
Note: only works on therm.php
?currency=
Type: Currency code
Default: GBP
Desc: Set it as GBP, EUR, USD, AUD, CAD, CHF
?textcolour=
Type: Hex Colour (eg. ff0000
)
Default: 1412cf
Desc: Sets colour of the contributions/goal text
?barcolour=
Type: Hex Colour (eg. ff0000
)
Default: 4bcc67
Desc: Sets colour of the thermometer bar
?labelcolour=
Type: Hex Colour (eg. ff0000
)
Default: 464646
Desc: Sets colour of the labels
?bgcolour=
Type: Hex Colour (eg. ff0000
)
Default: ffffff
Desc: Sets colour of the background
Note: to use this set transbg to false
for two words you may need to add %20
instead of the space ie. ?top_left=TEST%20LABEL
?top_left=
Type: String (eg. SIGNATURES
)
Default: SIGNATURES
dependant on which thermometer you use
Desc: Sets text of top left label
?top_right=
Type: String (eg. GOAL
)
Default: GOAL
dependant on which thermometer you use
Desc: Sets text of top right label
?bottom_left=
Type: String (eg. CONTRIBUTIONS
)
Default: CONTRIBUTIONS
dependant on which thermometer you use
Desc: Sets text of bottom left label