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 17: | Line 17: | ||
* <nowiki>{{Dailynews|prev=0}}</nowiki> will display today's news, like this | * <nowiki>{{Dailynews|prev=0}}</nowiki> will display today's news, like this | ||
=== example display (today & yesterday's news) === | === example display (today & yesterday's news) === | ||
{{dailynews|prev=0}} | {{dailynews|prev=0|len=300}} | ||
{{dailynews|prev=1}} | {{dailynews|prev=1|len=300}} | ||
</noinclude> | </noinclude> | ||
[[Category:Not_published]] | [[Category:Not_published]] |
Revision as of 21:00, 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 27, 2025 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |noresultsheader=
|resultsheader=
January 27
|includepage=* |includemaxlength=300 }} {{#dpl: category=Published&January 26, 2025 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |noresultsheader=
|resultsheader=
January 26
|includepage=* |includemaxlength=300 }}