Difference between revisions of "Template:Market info"

From CloakCoin Wiki
Jump to: navigation, search
Line 4: Line 4:
 
|data=id=id,name=name,symbol=symbol,rank=rank,price_usd=price_usd,price_btc=price_btc,24h_volume_usd=24h_volume_usd,market_cap_usd=market_cap_usd,available_supply=available_supply,total_supply=total_supply,percent_change_1h=percent_change_1h,percent_change_24h=percent_change_24h,percent_change_7d=percent_change_7d,last_updated=last_updated
 
|data=id=id,name=name,symbol=symbol,rank=rank,price_usd=price_usd,price_btc=price_btc,24h_volume_usd=24h_volume_usd,market_cap_usd=market_cap_usd,available_supply=available_supply,total_supply=total_supply,percent_change_1h=percent_change_1h,percent_change_24h=percent_change_24h,percent_change_7d=percent_change_7d,last_updated=last_updated
 
|cache seconds=60
 
|cache seconds=60
}}
 
{{#get_web_data:
 
url=https://explorer.cloakcoin.com/api/getdifficulty
 
|format=json
 
|data=proof-of-stake=proof-of-stake
 
|cache seconds=180
 
}}
 
{{#get_web_data:
 
url=https://explorer.cloakcoin.com/api/getblockcount
 
|format=CSV
 
|data=blockcount=1
 
|cache seconds=900
 
 
}}
 
}}
 
{| style="margin: auto;"
 
{| style="margin: auto;"
Line 40: Line 28:
 
|Total Supply
 
|Total Supply
 
|{{#external_value:available_supply}}
 
|{{#external_value:available_supply}}
|-
 
|Blockcount
 
|{{#external_value:blockcount}}
 
|-
 
|Difficulty
 
|{{#external_value:proof-of-stake}}
 
 
|-
 
|-
 
|24h Change
 
|24h Change
 
| {{#external_value:percent_change_24h}}%
 
| {{#external_value:percent_change_24h}}%
 
|}
 
|}

Revision as of 22:00, 14 February 2018

Error: No contents found at URL https://api.coinmarketcap.com/v1/ticker/cloakcoin/.

CloakCoin Statistics
Symbol Error: no local variable "symbol" was set.
Price USD Error: no local variable "price_usd" was set.$
Price BTC Error: no local variable "price_btc" was set.
24h Volume Error: no local variable "24h_volume_usd" was set.$
Market Cap Error: no local variable "market_cap_usd" was set.$
Total Supply Error: no local variable "available_supply" was set.
24h Change Error: no local variable "percent_change_24h" was set.%