Template:Dailynews: Difference between revisions
Jump to navigation
Jump to search
Jacki Buros (talk | contribs) No edit summary |
Jacki Buros (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#dpl: | <includeonly>{{#dpl: | ||
category=Published&{{#time:F j, Y|-{{{prev}}} days}} | category=Published&{{#time:F j, Y|{{#ifeq:{{{prev|}}}|||-{{{prev}}} days}}}} | ||
|namespace=News | |namespace=News | ||
|notcategory=Disputed | |notcategory=Disputed |
Revision as of 21:16, 3 February 2009
Template usage
- use like
- {{Dailynews|prev=1}} to display yesterday's news.
- {{Dailynews|prev=0}} will display today's news, like this
example display (today & yesterday's news)
{{#dpl: category=Published&January 28, 2025 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |noresultsheader=
|resultsheader=
January 28
|includepage=* |includemaxlength=300 }} {{#dpl: category=Published&January 27, 2025 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |noresultsheader=
|resultsheader=
January 27
|includepage=* |includemaxlength=300 }}