Template:NewsTOC: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(44 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| border=0 class="toc plainlinks" |
{{#form:
|-
{{#input: type = hidden | name = content | value = <nowiki>{{searchnews2|cacheresults=false|find={{#request:searchnews}}|prevmon=0}}</nowiki>}}
! {{MediaWiki:Toc}}:  
{{#input: type  = text
| [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}}} Top] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ym}}}} {{#time:M y}}] {{#for:12|– [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ym|-$n$ months}} {{#time:F Y|-$n$ months}}]}}
| name  = searchnews
|}
| *Search news
}}
{{#input: type = ajax | value = Search news | update = searchnews-result}}
}}


[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}}} Top]
<div id="searchnews-result">NO RESULTS TO DISPLAY YET</div>


{{#time:Ym|-1 months}}


{{#for:12|* {{#time:Ym|-$n$ months}}}}
 
__TOC__
 
 
= All articles by date =
== {{#time:M Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}}}} ==
{{searchnews2|prevmon=0}}
 
== {{#time:M Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}} -1 month}} ==
{{searchnews2|prevmon=1}}
 
== {{#time:M Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}} -2 months}} ==
{{searchnews2|prevmon=2}}
 
== {{#time:M Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}} -3 months}} ==
{{searchnews2|prevmon=3}}
 
== {{#time:M Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}} -4 months}} ==
{{searchnews2|prevmon=4}}
 
= Archives =
== {{#time:Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}}}} ==
{{searchnews2|year={{CURRENTYEAR}}}}
 
== {{#time:Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}} -1 year}} ==
{{searchnews2|prevyear=1}}
 
== {{#time:Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}} -2 years}} ==
{{searchnews2|prevyear=2}}
 
== {{#time:Y|01-{{CURRENTMONTH}}-{{CURRENTYEAR}} -3 years}} ==
{{searchnews2|prevyear=3}}

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

Jun 2024

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

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

Feb 2024

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