Template:LASTMONTHDATE

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

September 26


For use in Template:UnNewsArchive50y
See also Template:LASTMONTHmacro
See also Template:LASTMONTHNAME


The above switch removes the non-existing days of months with 30 days. It does cause a repeat, but if anyone has a better method, then by all means go for it! Replaces the previous format below, that allowed for nonexisting days that show up on UnNews as red links:

from:

==== {{LASTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}} ====
{{UnNews:{{CURRENTDAY}}_{{LASTMONTHNAME}}_{{CURRENTYEAR}}}}


to:

==== {{LASTMONTHDATE}}, {{CURRENTYEAR}} ====
{{UnNews:{{LASTMONTHmacro}}_{{CURRENTYEAR}}}}