Difference between revisions of "Template:Di-no source-auto"

From blackwiki
Jump to navigation Jump to search
imported>Ipatrol
(create)
 
imported>BrownHairedGirl
m (null edit to purge template)
 
Line 1: Line 1:
 
<includeonly>{{#ifexpr:{{#expr:{{#time:U|{{CURRENTTIMESTAMP}}}}-{{#time:U|{{{date|}}}}}}} < 587626|{{di-no source|date={{{date|}}}}}|{{db-f4}}}}</includeonly>
 
<includeonly>{{#ifexpr:{{#expr:{{#time:U|{{CURRENTTIMESTAMP}}}}-{{#time:U|{{{date|}}}}}}} < 587626|{{di-no source|date={{{date|}}}}}|{{db-f4}}}}</includeonly>
<noinclude>{{documentation}}</noinclude>
+
<noinclude>
 +
{{documentation}}
 +
</noinclude>

Latest revision as of 20:58, 21 March 2010


How it works

This uses {{di-no source}}, but after seven days becomes {{db-f4}} by comparing the date parameter with the current date with Parser functions.

Usage

Just use {{Di-no source-auto|date=January 14 2026}}. In the date do not put in anything other than the numerical date (e.g. commas, periods, etc.). The template currently lacks support for the "fair use" parameter, but that should be added shortly.