Template:Next cluedump

From SIPB Cluedumps

(Difference between revisions)
Jump to: navigation, search
(Templatize next cluedump logic)
m (Remove whitespace)
 
Line 1: Line 1:
-
<includeonly>
+
<includeonly>{{#ifexist: {{#timel: Y/m-d|@{{#expr: {{#timel: U}} + 604800 - ({{#timel: U}} - {{#timel: U|{{{1}}}}}) mod 604800}}}} |
-
{{#ifexist: {{#timel: Y/m-d|@{{#expr: {{#timel: U}} + 604800 - ({{#timel: U}} - {{#timel: U|{{{1}}}}}) mod 604800}}}} |
+
==Next cluedump==
==Next cluedump==
-
{{:{{#timel: Y/m-d|@{{#expr: {{#timel: U}} + 604800 - ({{#timel: U}} - {{#timel: U|{{{1}}}}}) mod 604800}}}}}}}}
+
{{:{{#timel: Y/m-d|@{{#expr: {{#timel: U}} + 604800 - ({{#timel: U}} - {{#timel: U|{{{1}}}}}) mod 604800}}}}}}
-
</includeonly>
+
}}</includeonly><noinclude><nowiki>{{Next cluedump|TIME}}</nowiki> automatically creates a Next cluedump section if a cluedump is scheduled on the day of the next time that is an integer number of weeks after TIME.</noinclude>
-
<noinclude>
+
-
<nowiki>{{Next cluedump|TIME}}</nowiki> automatically creates a Next cluedump section if a cluedump is scheduled on the day of the next time that is an integer number of weeks after TIME.
+
-
</noinclude>
+

Latest revision as of 21:25, 4 November 2010

{{Next cluedump|TIME}} automatically creates a Next cluedump section if a cluedump is scheduled on the day of the next time that is an integer number of weeks after TIME.

Personal tools