Template:NewsTOC: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
 
(30 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>}}
! News:  
{{#input: type  = text
| [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}}} All] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|{{CURRENTMONTH}}-{{CURRENTYEAR}}}}}} {{#time:M Y}}] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|-1 month}}&to={{#time:Ymd|-0 month}}}} {{#time:M Y|-1 months}}] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|-2 months}}&to={{#time:Ymd|-1 months}}}} {{#time:M Y|-2 months}}] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|-3 months}}&to={{#time:Ymd|-2 months}}}} {{#time:M Y|-3 months}}] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|-4 months}}&to={{#time:Ymd|-3 months}}}} {{#time:M Y|-4 months}}] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|-5 months}}&to={{#time:Ymd|-4 months}}}} {{#time:M Y|-5 months}}] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|-6 months}}&to={{#time:Ymd|-5 months}}}} {{#time:M Y|-6 months}}] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|-7 months}}&to={{#time:Ymd|-6 months}}}} {{#time:M Y|-7 months}}] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|-8 months}}&to={{#time:Ymd|-7 months}}}} {{#time:M Y|-8 months}}] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|-9 months}}&to={{#time:Ymd|-8 months}}}} {{#time:M Y|-9 months}}] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|-10 months}}&to={{#time:Ymd|-9 months}}}} {{#time:M Y|-10 months}}]
| name  = searchnews
|-
| *Search news
!
}}
| [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|Jan 1 - 1 year}}&to={{#time:Ymd|Jan 1 - 0 years}}}} {{#time:Y|Jan 1 - 1 year}}] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|Jan 1 - 2 years}}&to={{#time:Ymd|Jan 1 - 1 years}}}} {{#time:Y|Jan 1 - 2 years}}] – [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|from={{#time:Ymd|Jan 1 - 3 years}}&to={{#time:Ymd|Jan 1 - 2 years}}}} {{#time:Y|Jan 1 - 3 years}}]
{{#input: type = ajax | value = Search news | update = searchnews-result}}
|}
}}
 
<div id="searchnews-result">NO RESULTS TO DISPLAY YET</div>
 
 
 
__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

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