
內容簡介
這個外掛能以多種格式顯示 Corona (COVID-19) 的即時統計數據。你可以新增卡片,卡片內包含全球統計數據、國家統計數據、以及有圖表的國家統計數據,還可以顯示所有國家的數據表格。
使用方法
請參考演示和可用參數/設定於https://covid19-wp.netlify.app/
這裡是簡單短碼的清單。
COVID-19 全球統計數據卡片
[covid-widget type=”global-card”]
COVID-19 全球統計寬版 (滿版寬度)
[covid-widget type=”global-wide” bgcolor=”#043785″ textcolor=”#ffffff”]
COVID-19 單國家統計數據卡片
[covid-widget type=”country-card” country=”USA” bgcolor=”#043785″]
國家統計數據卡片短碼
[covid-widget type=”country-chart” country=”US” charttype=”bar”]
圖表類型:條形圖(bar)、水平條形圖(horizontalBar)、環圖(doughnut)、曲線圖(line)、雷達圖(radar)、極區圖(polarArea)
COVID-19 受影響國家數據表格
[covid-widget type=”table”]
注意:你必須使用資料源中定義的國家名稱。請檢視https://covid19-wp.netlify.app/的國家名稱清單。例如:“United States” 無法使用,但 “USA” 可以使用。同樣地,“South Korea” 也無法使用,但 S.Korea 可以使用。這是因為資料來源將這些名稱列成那樣。你必須使用短碼生成器,從下拉選單中選擇國家,然後複製完整短碼或將定義的國家名稱複製到你的短碼中。
資料來源:NovelCOVID/API。有關說明,請參見此處。請查看隱私政策和許可證。
外掛標籤
開發者團隊
② 後台搜尋「Coronavirus (COVID-19) Live Stats & Updates – Beautiful Graphics, Charts, Wordlwide / Country Stats (USA, Spain, China, Pakistan …)」→ 直接安裝(推薦)
原文外掛簡介
This plugins displays Corona (COVID-19) Live Stats in multiple formats. You can add card with Global Stats, Country Stats, Country Stats with Chart and Table with data for all countries.
USAGE
Please check demo and available parameters/settings on https://covid19-wp.netlify.app/
Here is the list of basic shortcodes.
COVID-19 Global Stats Card
[covid-widget type=”global-card”]
COVID-19 Global Stats Wide (full width)
[covid-widget type=”global-wide” bgcolor=”#043785″ textcolor=”#ffffff”]
COVID-19 Single Country Stats Card
[covid-widget type=”country-card” country=”USA” bgcolor=”#043785″]
Country Card with Chart Shortcode
[covid-widget type=”country-chart” country=”US” charttype=”bar”]
chart types: bar, horizontalBar, doughnut, line, radar, polarArea
COVID-19 Affected Countries Data Table
[covid-widget type=”table”]
Note: You must have to use country name as defined in data source. Please check country name list on https://covid19-wp.netlify.app/. e.g: “United States” will not work but “USA” will work. Similarly “South Korea” won’t work, S.Korea should work. This is because the data source listed those names like that. You have to use shortcode generator, select country from drop-down and then copy full shortcode or copy defined country name inside your shortcode.
Data Source: NovelCOVID/API. Documentation can be found here. Please check Privacy Policy here and License here
