Template:NewsTOC: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Search News'''
{{#form:
{{#form:
{{#input: type = hidden | name = content | value = <nowiki>{{#dpl:category=Published
{{#input: type = hidden | name = content | value = <nowiki>{{searchnews2|cacheresults=false|find={{#request:searchnews}}|prevmon=0}}</nowiki>}}
|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
Line 30: Line 9:


<div id="searchnews-result">NO RESULTS TO DISPLAY YET</div>
<div id="searchnews-result">NO RESULTS TO DISPLAY YET</div>


__TOC__
__TOC__




= Recent news =
= All articles by date =
== {{#time:M Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}}}} ==
== {{#time:M Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}}}} ==
{{searchnews2|prevmon=0}}
{{searchnews2|prevmon=0}}
Line 44: Line 25:
{{searchnews2|prevmon=2}}
{{searchnews2|prevmon=2}}


= All articles by date =
== {{#time:M Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}} -3 months}} ==
{{searchnews2}}
{{searchnews2|prevmon=3}}
 
== {{#time:M Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}} -4 months}} ==
{{searchnews2|prevmon=4}}


= Archives =
= Archives =

Latest revision as of 02:58, 20 February 2009

{{#form: {{#input: type = hidden | name = content | value = {{searchnews2|cacheresults=false|find={{#request:searchnews}}|prevmon=0}}}} {{#input: type = text | name = searchnews | *Search news }} {{#input: type = ajax | value = Search news | update = searchnews-result}} }}

NO RESULTS TO DISPLAY YET



All articles by date

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 }}

Aug 2024

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

Jul 2024

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

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 }}