Template:Dailynews: Difference between revisions

Jump to navigation Jump to search
Brian Blank (talk | contribs)
No edit summary
Brian Blank (talk | contribs)
No edit summary
Line 17: Line 17:
* <nowiki>{{News2|0}}</nowiki> will display today's news, like this
* <nowiki>{{News2|0}}</nowiki> will display today's news, like this
=== example display (today & yesterday's news) ===
=== example display (today & yesterday's news) ===
{{News2|0}}
{{dailynews|0}}
{{News2|1}}
{{dailynews|1}}
</noinclude>
</noinclude>

Revision as of 19:57, 3 February 2009

Template usage

  • use like

{{News2|1}} to display yesterday's news.

  • {{News2|0}} will display today's news, like this

example display (today & yesterday's news)

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

|resultsheader=

December 29

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

|resultsheader=

December 28

|includepage=* |includemaxlength=300 }}