Template:Dailynews: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
|distinct=strict
|distinct=strict
|mode=userformat
|mode=userformat
|format  = ,,,
|format  = ,,,\n
|resultsheader=\n<h3>{{#time:F j|{{#ifeq:{{{prev|}}}|||-{{{prev}}} days}}}}</h3>
|resultsheader=<h3>{{#time:F j|{{#ifeq:{{{prev|}}}|||-{{{prev}}} days}}}}</h3>
|includepage={newsarticle}.nodate,{newsarticle2}.nodate
|includepage={newsarticle}.nodate,{newsarticle2}.nodate
|secseparators  = \n,
|secseparators  = \n,

Revision as of 18:57, 17 March 2009

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


example display (today & yesterday's news)