Template:Dailynews

Revision as of 21:31, 3 February 2009 by Jacki Buros (talk | contribs)
Jump to navigation Jump to search

Template usage

  • use like
    • {{Dailynews}} to display today's news
    • {{Dailynews|prev=1}} to display yesterday's news.
    • {{Dailynews|len=200}} to display today's news and limit display length per article.
    • {{Dailynews|prev=1|len=200}} to display yesterday's news with length limit.
  • Note: default limit is 300 chars

|noresultsheader= 

example display (today & yesterday's news)

{{#dpl: category=Published&May 16, 2024 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |reset=categories |distinct=strict |supresserrors=true

|resultsheader=

May 16

|includepage=* |includemaxlength=300 }} {{#dpl: category=Published&May 15, 2024 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |reset=categories |distinct=strict |supresserrors=true

|resultsheader=

May 15

|includepage=* |includemaxlength=300 }}