Template:Interactive COVID-19 maps/common and Template:Interactive COVID-19 maps/common/sandbox: Difference between pages
(Difference between pages)
Content deleted Content added
m Updating map start date. |
scale |
||
Line 64: | Line 64: | ||
"type": "geopath", |
"type": "geopath", |
||
"value": "data", |
"value": "data", |
||
"scale": {{#expr:{{{scale|.8}}}* |
"scale": {{#expr:{{{scale|.8}}}*1}}, |
||
"center": [-180,125], |
"center": [-180,125], |
||
"translate": [0,0], |
"translate": [0,0], |
||
"projection": " |
"projection": "mercator" |
||
}, |
}, |
||
{ |
{ |
||
Line 124: | Line 124: | ||
"name": "currentDate", |
"name": "currentDate", |
||
// WugBot! humandate |
// WugBot! humandate |
||
"init": " |
"init": "Jun 28", |
||
"expr": "timeFormat({{#ifeq:{{CONTENTLANG}}|en|'%B %d %Y'|'%d/%m |
"expr": "timeFormat({{#ifeq:{{CONTENTLANG}}|en|'%B %d %Y'|'%d/%m'}},scaledHandlePosition)" |
||
/* %d = day (0-padded), %e = day (unpadded), %B = month name (English in all wikis), %m = month number, %Y = year. */ |
/* %d = day (0-padded), %e = day (unpadded), %B = month name (English in all wikis), %m = month number, %Y = year. */ |
||
/* Any order and characters between them is allowed. */ |
/* Any order and characters between them is allowed. */ |
||
Line 132: | Line 132: | ||
"name": "dateStamp", |
"name": "dateStamp", |
||
// WugBot! computerdate |
// WugBot! computerdate |
||
"init": " |
"init": "06/28/21", |
||
"expr": "timeFormat('%m/%d/%y',scaledHandlePosition)" |
"expr": "timeFormat('%m/%d/%y',scaledHandlePosition)" |
||
}, |
}, |