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 6: | Line 6: | ||
|shownamespace=false | |shownamespace=false | ||
|ordermethod=lastedit | |ordermethod=lastedit | ||
|addauthor= | |addauthor=false | ||
|reset=categories | |reset=categories | ||
|noresultsheader= | |noresultsheader= | ||
|distinct=strict | |distinct=strict | ||
|resultsheader=<h3>{{#time:F j|{{#ifeq:{{{prev|}}}|||-{{{prev}}} days}}}}</h3> | |resultsheader=<h3>{{#time:F j|{{#ifeq:{{{prev|}}}|||-{{{prev}}} days}}}}</h3> | ||
|includepage= | |includepage={newsarticle}.dpl,{newsarticle2}.dpl | ||
| | |secseparators = \n,\n | ||
}}}}</includeonly><noinclude> | |dominantsection=1 | ||
|count={{#if:{{{articlecount|}}}|{{{articlecount}}}|100}}}}}}</includeonly><noinclude> | |||
=== Template usage === | === Template usage === | ||
* use like | * use like |
Revision as of 17:43, 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