Template:NewsTOC: Difference between revisions
Jacki Buros (talk | contribs) No edit summary |
Jacki Buros (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
'''Search News''' | '''Search News''' | ||
{{#form: | {{#form: | ||
{{#input: type = hidden | name = content | value = <nowiki>{{ | {{#input: type = hidden | name = content | value = <nowiki>{{#dpl:category=Published | ||
|debug=0 | |||
|allowcachedresults=false | |||
|namespace=News | |||
|notcategory=Disputed | |||
|notcategory=Not_published | |||
|uses=Template:Newstitle | |||
|shownamespace=false | |||
|ordermethod=sortkey | |||
|order=descending | |||
|addauthor=false | |||
|reset=categories | |||
|mode=userformat | |||
|format = ,,, | |||
|noresultsheader=* No results found - see all [[:Category:Published#All_articles_by_date|news articles]]) | |||
|distinct=true | |||
|resultsheader= | |||
|include={newsarticle}.dplsearch,{newstitle}.dpl | |||
|count=200 | |||
|includematch=/{{#result:searchnews|}}/si | |||
}}</nowiki>}} | |||
{{#input: type = text | {{#input: type = text | ||
| name = searchnews | | name = searchnews |
Revision as of 02:14, 20 February 2009
Search News {{#form: {{#input: type = hidden | name = content | value = {{#dpl:category=Published |debug=0 |allowcachedresults=false |namespace=News |notcategory=Disputed |notcategory=Not_published |uses=Template:Newstitle |shownamespace=false |ordermethod=sortkey |order=descending |addauthor=false |reset=categories |mode=userformat |format = ,,, |noresultsheader=* No results found - see all [[:Category:Published#All_articles_by_date|news articles]]) |distinct=true |resultsheader= |include={newsarticle}.dplsearch,{newstitle}.dpl |count=200 |includematch=/{{#result:searchnews|}}/si }}}} {{#input: type = text | name = searchnews | *Search news }} {{#input: type = ajax | value = Search news | update = searchnews-result}} }}
Recent news
Feb 2025
{{#dpl:debug=0 |category=Published&February 2025 |allowcachedresults=true |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=sortkey |order=descending |addauthor=false |reset=categories |mode=userformat |format = ,,, |noresultsheader=* (no results - default) |distinct=true |resultsheader= |include={newsarticle}.dplsearch,{newstitle}.dpl |count=200 }}
Jan 2025
{{#dpl:debug=0 |category=Published&January 2025 |allowcachedresults=true |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=sortkey |order=descending |addauthor=false |reset=categories |mode=userformat |format = ,,, |noresultsheader=* (no results - default) |distinct=true |resultsheader= |include={newsarticle}.dplsearch,{newstitle}.dpl |count=200 }}
Dec 2024
{{#dpl:debug=0 |category=Published&December 2024 |allowcachedresults=true |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=sortkey |order=descending |addauthor=false |reset=categories |mode=userformat |format = ,,, |noresultsheader=* (no results - default) |distinct=true |resultsheader= |include={newsarticle}.dplsearch,{newstitle}.dpl |count=200 }}
All articles by date
{{#dpl:debug=0 |category=Published |allowcachedresults=true |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=sortkey |order=descending |addauthor=false |reset=categories |mode=userformat |format = ,,, |noresultsheader=* (no results - default) |distinct=true |resultsheader= |include={newsarticle}.dplsearch,{newstitle}.dpl |count=200 }}
Archives
2025
{{#dpl:debug=0 |category=Published&2025 |allowcachedresults=true |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=sortkey |order=descending |addauthor=false |reset=categories |mode=userformat |format = ,,, |noresultsheader=* (no results - default) |distinct=true |resultsheader= |include={newsarticle}.dplsearch,{newstitle}.dpl |count=200 }}
2024
{{#dpl:debug=0 |category=Published&2024 |allowcachedresults=true |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=sortkey |order=descending |addauthor=false |reset=categories |mode=userformat |format = ,,, |noresultsheader=* (no results - default) |distinct=true |resultsheader= |include={newsarticle}.dplsearch,{newstitle}.dpl |count=200 }}
2023
{{#dpl:debug=0 |category=Published&2023 |allowcachedresults=true |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=sortkey |order=descending |addauthor=false |reset=categories |mode=userformat |format = ,,, |noresultsheader=* (no results - default) |distinct=true |resultsheader= |include={newsarticle}.dplsearch,{newstitle}.dpl |count=200 }}
2022
{{#dpl:debug=0 |category=Published&2022 |allowcachedresults=true |namespace=News |notcategory=Disputed |notcategory=Not_published |shownamespace=false |ordermethod=sortkey |order=descending |addauthor=false |reset=categories |mode=userformat |format = ,,, |noresultsheader=* (no results - default) |distinct=true |resultsheader= |include={newsarticle}.dplsearch,{newstitle}.dpl |count=200 }}