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&December 27, 2024 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |noresultsheader=
|resultsheader=
December 27
|includepage=* |includemaxlength=300 }} {{#dpl: category=Published&December 26, 2024 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |noresultsheader=
|resultsheader=
December 26
|includepage=* |includemaxlength=300 }}