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

25 bytes added, 00:19, 1 July 2013
no edit summary
|-
|{{purge|'''Update'''}}
<br>Current Month Edits: {{#expr: ( {{NUMBEROFEDITS:R}} - 240931 242864 ) }}
<br>Current Year Weeks: {{#expr: ( {{CURRENTWEEK}} ) }}
<br>Subtract 1 week if not Sunday: {{#ifeq: {{CURRENTDOW}}|0| -0| -1}} means
<br>Week Full Days: {{#expr: {{CURRENTDOW}} -1 }}
<br>Year Full Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 }}
<br>Year Full Days Offset: 31+28+31+30+31+30+1 = {{#expr: 31+28+31+30+31+30+1}} means<br>Current Month Full Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 - (31+28+31+30+31+30+1) }}
<br>Today Current Hour: {{#expr: {{CURRENTHOUR}} }} means
<br>Today Current Hour: {{#expr: {{CURRENTHOUR}} /24 ROUND 2 }} makes
<br>Current Month Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 - (31+28+31+30+31+30+1) + ( {{CURRENTHOUR}} /24) ROUND 2 }}
| valign=top style="width:60%" |
----
<table style="border-collapse:collapse; width:100%;">
<tr><td colspan="5" style="text-align:center">'''{{CURRENTMONTHNAME}} Edits:''' {{formatnum:{{#expr: {{NUMBEROFEDITS:R}} - <!--update edits offset-->240931242864}}}}</td></tr>{{bar percent|barwidth=100%|{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTTIME}}|#A3BFA3|{{#expr: ({{<!--update edits offset-->NUMBEROFEDITS:R}} - 240931242864) /<!--compare @ 31 days/mo:43--> 43 }}|{{formatnum:{{#expr: {{NUMBEROFEDITS:R}} - <!--update edits offset-->240931242864}}}}}}{{bar percent|barwidth=100%|May June |#A3BFA3| {{#expr:3892 /<!--compare @ 31 days/mo:43--> 43}} | 31,892933}}
</table>
----
<table style="border-collapse:collapse; width:100%;">
<tr><td colspan="5" style="text-align:center">'''{{CURRENTMONTHNAME}} Edits/Day:''' {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->240931 242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->152182) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }}</td></tr>{{bar percent|barwidth=100%|{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTTIME}}|#A3BFA3| {{#expr: (( {{NUMBEROFEDITS:R}} - <!--update edits offset-->240931 242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->152182) + ({{CURRENTHOUR}}+.01)/24 ) /<!--125 e/d--> 250)*100 ROUND 0 }} | {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->240931 242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->152182) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }} }}{{bar percent|barwidth=100%|May June |#A3BFA3|{{#expr: (126/<!--125 e/d--> 250)*100 }} | 126 64 }}
</table>
|}<noinclude>
The above table is updated automatically, except for the number and bar values in the graphic over time sections, which can be selected from any of the values on the history table below.
The Monthly Edits are adjusted by changing the offset in the related equation, e.g., <nowiki>{{formatnum:{{#expr: {{NUMBEROFEDITS:R}} - <!--update edits offset-->240931242864}}}}</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}} - 240931242864) / 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-->240931 242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->152182) + ({{CURRENTHOUR}}+.01)/24 ) /<!--125 e/d--> 250)*100 ROUND 0 }} | {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->240931 242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->152182) + ({{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-->240931 242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->152182) + ({{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+1 = {{#expr: 31+28+31+30+31+30+1}} means Current Month Full Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 - (31+28+31+30+31+30+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+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-->240931 242864 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->152182) + ({{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-->240931 242864 ) round 0 }} }}
|}

Navigation menu