Get our free book (in Spanish or English) on rainwater now - To Catch the Rain.

Changes

Jump to navigation Jump to search

User:RichardF/Sandbox3

292 bytes removed, 01:26, 1 January 2014
no edit summary
|-
|{{purge|'''Update'''}}
<br>Current Month Edits: {{#expr: ( {{NUMBEROFEDITS:R}} - 252784 255812 ) }}<br>Current Year Weeks: {{#expr: ( 52+{{CURRENTWEEK}} ) }}
<br>Subtract 1 week if not Sunday: {{#ifeq: {{CURRENTDOW}}|0| -0| -1}} means
<br>{{#expr: ( 52+{{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )}} weeks * 7: {{#expr: (( 52+{{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7)}}
<br>Week Full Days: {{#expr: {{CURRENTDOW}} -1 }}
<br>Year Full Days: {{#expr: (( 52+{{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 }} <br>Year Full Days Offset: 31+28+31+30+31+30+31+31+30+31+301+1 = {{#expr: 31+28+31+30+31+30+31+31+30+31+301+1}} means<br>Current Month Full Days: {{#expr: (( 52+{{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 - (31+28+31+30+31+30+31+31+30+31+301+1) }}
<br>Today Current Hour: {{#expr: {{CURRENTHOUR}} }} means
<br>Today Current Hour: {{#expr: {{CURRENTHOUR}} /24 ROUND 2 }} makes
<br>Current Month Days: {{#expr: (( 52+{{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 - (31+28+31+30+31+30+31+31+30+31+301+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-->252784255812}}}}</td></tr>{{bar percent|barwidth=100%|{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTTIME}}|#A3BFA3|{{#expr: ({{<!--update edits offset-->NUMBEROFEDITS:R}} - 252784255812) /<!--compare @ 31 days/mo:43--> 43 }}|{{formatnum:{{#expr: {{NUMBEROFEDITS:R}} - <!--update edits offset-->252784 255812 }}}}}}{{bar percent|barwidth=100%|November December |#A3BFA3| {{#expr:2561 3028 /<!--compare @ 31 days/mo:43--> 43}} | 23,561028}}
</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-->252784 255812 ) / ( ( ( (52+{{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->3352) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }}</td></tr>{{bar percent|barwidth=100%|{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTTIME}}|#A3BFA3| {{#expr: (( {{NUMBEROFEDITS:R}} - <!--update edits offset-->252784 255812 ) / ( ( ( (52+{{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->3352) + ({{CURRENTHOUR}}+.01)/24 ) /<!--125 e/d--> 250)*100 ROUND 0 }} | {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->252784 255812 ) / ( ( ( (52+{{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->3352) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }} }}{{bar percent|barwidth=100%|November December |#A3BFA3|{{#expr: (8598/<!--125 e/d--> 250)*100 }} | 85 98 }}
</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-->252784255812}}}}</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}} - 252784255812) / 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-->252784 255812 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->3352) + ({{CURRENTHOUR}}+.01)/24 ) /<!--125 e/d--> 250)*100 ROUND 0 }} | {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->252784 255812 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->3352) + ({{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-->252784 255812 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->3352) + ({{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+31+30+31+301+1 = {{#expr: 31+28+31+30+31+30+31+31+30+31+301+1}} means Current Month Full Days: {{#expr: (( {{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7) +{{CURRENTDOW}} -1 - (31+28+31+30+31+30+31+31+30+31+301+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+31+30+31+301+1) + ( {{CURRENTHOUR}} /24) ROUND 2 }}
=== History ===
| 2014 01 1 00:00 || 42389 || 18974 || 5619 || 225 || 255812 || 6 || 46 || 98 || 50935290 || 199 || 966
|-
| {{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-->252784 255812 ) / ( ( ( (52+{{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->3352) + ({{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-->245689 ) round 0 }} }}
|}

Navigation menu