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

No change in size, 01:34, 1 November 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-->250223 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->274305) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }}</td></tr>{{bar percent|barwidth=100%|{{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTTIME}}|#A3BFA3| {{#expr: (( {{NUMBEROFEDITS:R}} - <!--update edits offset-->250223 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->274305) + ({{CURRENTHOUR}}+.01)/24 ) /<!--125 e/d--> 250)*100 ROUND 0 }} | {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->250223 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->274305) + ({{CURRENTHOUR}}+.01)/24 ) ROUND 0 }} }}{{bar percent|barwidth=100%|October |#A3BFA3|{{#expr: (109/<!--125 e/d--> 250)*100 }} | 199 109 }}
</table>
|}<noinclude>
The Monthly Edits are adjusted by changing the offset in the related equation, e.g., <nowiki>{{formatnum:{{#expr: {{NUMBEROFEDITS:R}} - <!--update edits offset-->250223}}}}</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}} - 250223) / 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-->250223 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->274305) + ({{CURRENTHOUR}}+.01)/24 ) /<!--125 e/d--> 250)*100 ROUND 0 }} | {{#expr: ( {{NUMBEROFEDITS:R}} - <!--update edits offset-->250223 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->274305) + ({{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-->250223 ) / ( ( ( ({{CURRENTWEEK}}{{#ifeq: {{CURRENTDOW}}|0| -0| -1}} )*7 +{{CURRENTDOW}}-1 ) - <!--update year days offset-->274305) + ({{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+1 = {{#expr: 31+28+31+30+31+30+31+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+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+31+30+31+1) + ( {{CURRENTHOUR}} /24) ROUND 2 }}
=== History ===

Navigation menu