Template:Dailynews: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
* <nowiki>{{Dailynews|prev=1}}</nowiki> to display yesterday's news.
* <nowiki>{{Dailynews|prev=1}}</nowiki> to display yesterday's news.
* <nowiki>{{Dailynews|prev=0}}</nowiki> will display today's news, like this
* <nowiki>{{Dailynews|prev=0}}</nowiki> will display today's news, like this
{{#ifeq:{{{2}}}||300|{{{2}}}}}
{{#ifeq:{{{2|}}}||300|{{{2}}}}}
 
=== example display (today & yesterday's news) ===
=== example display (today & yesterday's news) ===
{{dailynews|prev=0}}
{{dailynews|prev=0}}

Revision as of 21:11, 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

300

example display (today & yesterday's news)

{{#dpl: category=Published&November 9, 2024 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |noresultsheader= 

|resultsheader=

November 9

|includepage=* |includemaxlength=300 }} {{#dpl: category=Published&November 8, 2024 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |noresultsheader= 

|resultsheader=

November 8

|includepage=* |includemaxlength=300 }}