Template:NewsTOC: Difference between revisions

Jump to navigation Jump to search
No edit summary
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=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>}}
}}</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}} }}

NO RESULTS TO DISPLAY YET


Recent news

May 2024

{{#dpl:debug=0 |category=Published&May 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 }}

Apr 2024

{{#dpl:debug=0 |category=Published&April 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 }}

Mar 2024

{{#dpl:debug=0 |category=Published&March 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 }}