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>{{#dpl:category=Published | {{#input: type = hidden | name = content | value = <nowiki>{{#dpl:category=Published|debug=5|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|distinct=true|resultsheader=|include={newsarticle}.dplsearch,{newstitle}.dpl|dominantsection=1|count=200|includematch=/{{#result:searchnews|}}/si | ||
|debug= | |||
|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 | |||
|distinct=true | |||
|resultsheader= | |||
|include={newsarticle}.dplsearch,{newstitle}.dpl | |||
|count=200 | |||
|includematch=/{{#result:searchnews|}}/si | |||
}}</nowiki>}} | }}</nowiki>}} | ||
{{#input: type = text | {{#input: type = text |
Revision as of 02:19, 20 February 2009
Search News {{#form: {{#input: type = hidden | name = content | value = {{#dpl:category=Published|debug=5|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|distinct=true|resultsheader=|include={newsarticle}.dplsearch,{newstitle}.dpl|dominantsection=1|count=200|includematch=/{{#result:searchnews|}}/si }}}} {{#input: type = text | name = searchnews | *Search news }} {{#input: type = ajax | value = Search news | update = searchnews-result}} }}
Recent news
Nov 2024
{{#dpl:debug=0 |category=Published&November 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 }}
Oct 2024
{{#dpl:debug=0 |category=Published&October 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 }}
Sep 2024
{{#dpl:debug=0 |category=Published&September 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
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 }}
2021
{{#dpl:debug=0 |category=Published&2021 |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 }}