FANDOM


-- <nowiki>
-- Unit tests.  Click talk page to run tests.
local p ={
    main={--functioname
        options={nowiki=true}, --options 
        tests = {
            preprocess_equals_many ={
                {'days={{#expr:({{#time: U |now + 2 days }} -{{#time:U|{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}}}})/(3600*24) }}|notice=This message will self-destruct in ...', 'This message will self-destruct in ...'},
                {'days={{#expr:({{#time: U |now + 3 days }} -{{#time:U|{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}}}})/(3600*24) }}|notice=selfdestruct|template=true', '{{selfdestruct}}'},
                {'days=0|notice=This message will self-destruct in ...', ''},
                {'days=0|notice=This message will self-destruct in ...|template=1', ''},
 
            },
        },
    },
}
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.