Template:Dailynews: Difference between revisions

Jump to navigation Jump to search
Brian Blank (talk | contribs)
No edit summary
Jacki Buros (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>{{Dailynews|1}}</nowiki> to display yesterday's news.
* <nowiki>{{News2|0}}</nowiki> will display today's news, like this
* <nowiki>{{Dailynews|0}}</nowiki> will display today's news, like this
=== example display (today & yesterday's news) ===
=== example display (today & yesterday's news) ===
{{dailynews|0}}
{{dailynews|0}}

Revision as of 20:09, 3 February 2009

Template usage

  • use like
  • {{Dailynews|1}} to display yesterday's news.
  • {{Dailynews|0}} will display today's news, like this

example display (today & yesterday's news)

{{#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 }} {{#dpl: category=Published&December 25, 2024 |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=lastedit |addauthor=false |noresultsheader= 

|resultsheader=

December 25

|includepage=* |includemaxlength=300 }}