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 10: | Line 10: | ||
|resultsheader=<h3>{{#time:F j|-{{{prev}}} days}}</h3> | |resultsheader=<h3>{{#time:F j|-{{{prev}}} days}}</h3> | ||
|includepage=* | |includepage=* | ||
|includemaxlength=300 | |includemaxlength={{#if:{{{len}}}|{{{len}}}|300}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
=== Template usage === | === Template usage === |
Revision as of 20:52, 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&December 27, 2024 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |noresultsheader=
|resultsheader=
December 27
|includepage=* |includemaxlength={{{len}}} }} {{#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={{{len}}} }}