We continue to develop resources related to the COVID-19 pandemic. See COVID-19 initiatives on Appropedia for more information.

Changes

Jump to navigation Jump to search

User:RichardF/Sandbox3

No change in size, 00:46, 1 August 2013
no edit summary
----
<table style="border-collapse:collapse; width:100%;">
<tr><td colspan="5" style="text-align:center">'''{{CURRENTMONTHNAME}} Edits/Day:''' {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->244821 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182213) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }}</td></tr>{{bar percent|barwidth=100%|{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTTIME}}|#A3BFA3| {{#expr: (( {{NUMBEROFEDITS:R}} - <!--update edits offset-->244821 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182213) + ({{CURRENTHOUR}}+.01)/24 ) /<!--125 e/d--> 250)*100 ROUND 0 }} | {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->244821 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182213) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }} }}
{{bar percent|barwidth=100%|July |#A3BFA3|{{#expr: (63/<!--125 e/d--> 250)*100 }} | 63 }}
</table>
The Monthly Edits are adjusted by changing the offset in the related equation, e.g., <nowiki>{{formatnum:{{#expr: {{NUMBEROFEDITS:R}} - <!--update edits offset-->244821}}}}</nowiki> The bars are adjusted so the longest previous value is about 90%, e.g., <nowiki>{{#expr: 90}}</nowiki>. The current period is formatted to hit the 90% value at a pace of about 125 Edits/Day, e.g., <nowiki>{{#expr: ({{<!--update edits offset-->NUMBEROFEDITS:R}} - 244821) / 43 }}</nowiki>.
The Edits/Day bar lengths are adjusted to have the target length be about 50% at 125 Edits/Day, e.g., <nowiki>{{#expr: (( {{NUMBEROFEDITS:R}} - <!--update edits offset-->244821 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182213) + ({{CURRENTHOUR}}+.01)/24 ) /<!--125 e/d--> 250)*100 ROUND 0 }} | {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->244821 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182213) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }} }}</nowiki> and <nowiki>{{#expr: (126/250)*100 }}</nowiki>.
The Days in Edits/Day are adjusted by changing the offset in the related equation, e.g., <nowiki>{{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->244821 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182213) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }})</nowiki>. The calculation of Days in Edits/Day works as follows; Current Year Weeks: {{#expr: ( {{CURRENTWEEK}} ) }} but Subtract 1 week if not Sunday: {{#ifeq: {{CURRENTDOW}}|0| -0| -1}} means {{#expr: ( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )}} weeks * 7: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7)}} plus Week Full Days: {{#expr: {{CURRENTDOW}} -1 }} goes to Year Full Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 }}. Year Full Days Offset: 31+28+31+30+31+30+31+1 = {{#expr: 31+28+31+30+31+30+31+1}} means Current Month Full Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 - (31+28+31+30+31+30+31+1) }}. Today Current Hour: {{#expr: {{CURRENTHOUR}} }} means Today Current Hour: {{#expr: {{CURRENTHOUR}} /24 ROUND 2 }} makes Current Month Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 - (31+28+31+30+31+30+31+1) + ( {{CURRENTHOUR}} /24) ROUND 2 }}
=== History ===
|
|-
| {{CURRENTYEAR}} {{CURRENTMONTH}} {{CURRENTDAY}} {{CURRENTTIME}} || {{NUMBEROFPAGES:R}} || {{NUMBEROFFILES:R}} || {{NUMBEROFARTICLES:R}} || {{NUMBEROFACTIVEUSERS:R}} || {{NUMBEROFEDITS:R}} || {{#expr: {{NUMBEROFEDITS:R}} / {{NUMBEROFPAGES:R}} round 0}} || {{#expr: {{NUMBEROFEDITS:R}} / {{NUMBEROFARTICLES:R}} round 0}} || {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->244821 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->182213) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }} || {{NUMBEROFVIEWS:R}} || {{#expr: {{NUMBEROFVIEWS:R}} / {{NUMBEROFEDITS:R}} round 0 }} || {{formatnum: {{#expr: ( {{NUMBEROFVIEWS:R}} - <!--update views offset-->41161113 ) / ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->244821 ) round 0 }} }}
|}

Navigation menu