Template:Dailynews: Difference between revisions
Jump to navigation
Jump to search
Brian Blank (talk | contribs) No edit summary |
Brian Blank (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
=== Template usage === | === Template usage === | ||
* use like | * use like | ||
<nowiki>{{News2|1}}</nowiki> to display yesterday's news. | * <nowiki>{{News2|1}}</nowiki> to display yesterday's news. | ||
* <nowiki>{{News2|0}}</nowiki> will display today's news, like this | * <nowiki>{{News2|0}}</nowiki> will display today's news, like this | ||
=== example display (today & yesterday's news) === | === example display (today & yesterday's news) === |
Revision as of 20:08, 3 February 2009
Template usage
- use like
- {{News2|1}} to display yesterday's news.
- {{News2|0}} will display today's news, like this
example display (today & yesterday's news)
{{#dpl: category=Published&January 13, 2025 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |noresultsheader=
|resultsheader=
January 13
|includepage=* |includemaxlength=300 }} {{#dpl: category=Published&January 12, 2025 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |noresultsheader=
|resultsheader=
January 12
|includepage=* |includemaxlength=300 }}