×
Namespaces

Variants
Actions
(Difference between revisions)

Template:Sandbox3

From Nokia Developer Wiki
Jump to: navigation, search
hamishwillee (Talk | contribs)
m (Hamishwillee -)
hamishwillee (Talk | contribs)
m (Hamishwillee - - Default List)
 
(45 intermediate revisions by one user not shown)
Line 1: Line 1:
<noinclude>{{Abstract|Test code for [[Template:SignpostBoxWindowsPhoneTile]]}}  
+
<noinclude>{{InternalUse|visible=true}}{{UnderConstruction|This is a draft (experimental) template for category pages }}
 +
{{Abstract|visible=true|Lists recently edited articles in specified categorie(s)}}. Minor edits are ignored and results are specified in descending order of edit date.
  
{{InternalUse|visible=true}}
+
The template allows you to control the appearance and content of the list by restricting the number of items shown, add categories, show hidden articles, specify the language etc.
  
{{UnderConstruction|This is a draft (experimental) template for category pages }} [[Category:Draft]] <!-- Remove these when template is complete -->
+
It is also possible to automatically add a heading IFF there are items in the list, and to make it collapsible and default collapsed.
 
+
This is intended for use by Nokia Developer moderation.
+
  
 +
[[Category:FNWiki]]
 
== Usage ==
 
== Usage ==
  <nowiki>{{Sandbox3</nowiki>
+
  <nowiki>{{ListRecentlyEdited</nowiki>|''category name''}}
|title=Your title
+
where ''category name'' is any category. The maximum number of topics that can be listed will be displayed. If no category is specified, recently edited 'English' topics will be displayed.
  |link=page name or url
+
Other parameters may be passed as pipe separated values
  <nowiki>}}</nowiki>
+
* Un named parameters: Up to 7 un-named parameters are treated as additional categories included in the search (ie the union of all topics in all categories specified as unnamed parameters will be part of the results set)
The parameters are:
+
* ''count'': The number of values to return. If unspecified this will be the maximum number that can be returned by DPL
* ''title'': Main title of signpost. Keep very short
+
* ''language'': The category of the specific language returned values are to be restricted to. If no ''language'' is specified then English topics will be returned
* ''link'': Main title of signpost. Ideally restrict to one line
+
* ''andcategory'' (and ''andcategory2 to andcategory10''): Topics returned will be in the intersection of unnamed parameters and categories specified in ''andcategory''
 +
* ''notcategory'' (and ''notcategory2 to notcategory20''): Topics returned will not include articles in these categories
 +
* ''platformfilter'': Filters topics on the categories associated with the platform - values are:-[[Template:PlatformCategoriesWindowsPhone|Windows Phone]], Nokia Asha, Symbian, Meego, [[Template:PlatformCategoriesJavaME|Java ME]]
 +
By default the author is shown, categories are not shown, article names are displayed full length and knowledgbase articles are included in the output. These can be changed using the following parameters:
 +
* ''columns'': Sets the number of columns. Default is to list articles in one column
 +
* ''crop'': If specified, article titles will be restricted to this length
 +
* ''adduser=false'': Hides the author - by default the author is shown
 +
* ''showkb=false'': Be default knowledgebase articles are included. If this parameter is specified as false, the articles will be removed
 +
* ''addcategories=true'': If specified, categories will be listed in output
 +
* ''showdrafts=true'': If true, draft items will be shown (hidden by default)
 +
* ''showhidden=true'': If true, articles in categories Archived, FNWiki and Advertising are shown (hidden by default)
 +
* ''addeditdate=true'': If specified, date is shown.
 +
** ''userdateformat'': If specified, used formatstring with letters like "y,Y,m,M,d,D,h,H,i,I,s"
 +
* ''uses'': Specify the templates that must be in articles in the list .Note that to specify multiple templates use the half pipe - e.g.
 +
  uses=Template:KBKI '''¦''' Template:KBTS '''¦''' Template:KBCS
 +
* ''notuses'': Specify the templates that must not be in articles in the list .Note that to specify multiple templates use the half pipe - e.g.
 +
  notuses=Template:KBKI '''¦''' Template:KBTS '''¦''' Template:KBCS
 +
The following parameters are specialist (expected to be used by other templates)
 +
* ''lastrevisionbefore'': Displays only articles created before a certain date in YYYYMMDD format. Used primarily with order=ascending to show lists older than a particular date. By default, not used
 +
* ''order=ascending'': This can reverse the order of the list so that oldest non-minor edits are shown first.
 +
* ''ordermethod=title'': To change to alphabetic listing. Default is ordered by last edit.
  
  
The optional parameters are:
+
Heading mode - for displaying a heading automatically with the list
* ''itemcount'': (optional) count of items in linked category
+
* ''addheading=true'': Adds level 2 heading "Recently Edited" (in the supported language). In this mode the heading will disappear if there are no returned results
* ''colour'': (optional) colour of signpost: blue, brown, green etc (colours shown below in examples).  
+
** ''heading'': (optional) replaces the default heading with a heading of your choice.
** If not specified a random colour is used - note that the random colour is based on the length of URL and title and the value of the icon count - so it is possible to have multiple "random numbers" with same result.
+
** ''collapsible=true'': To make the heading collapsible - by default it is not collapsible and is expanded
** You can specify different numbers of ''randomseed'' for each tile to ensure that different colours are used.
+
*** ''collapsed=true'': To make the heading collapsed when loaded
** The random colour is restricted to colours known to work well together by Nokia
+
* ''icon'': (optional) filename  of icon to display: e.g. fred.png. Should be about 48px square
+
* ''icon-top-position'': (optional) vertical position of icon - required if default not OK
+
* ''itemcount-text-position'': (optional) vertical position of "item count" text
+
* ''text-colour'': (optional) Colour of text - defaults to white
+
* ''tile'': (optional) Image to use for background tile
+
* ''topright'': (optional) If any value is specified the tile move above the TOC. Useful on windows phone portal pages.
+
* ''linkleft'': If specified creates a link to the specified page as a "left arrow"
+
* ''linkright'': If specified creates a link to the specified page as a "rightarrow"
+
  
Uses [[File:WPSignpost-leftarrow.png]] and [[File:WPSignpost-rightarrow.png]]
+
Tab mode - for displaying the list in a tabber control
== Examples ==
+
* ''tab=true'': Adds list with in tab format.  
 +
** ''heading'': (optional) heading to be used for the tab - defaults to "Recently Edited"
 +
** ''tabheading'': (optional) heading to be used for the list INSIDE the tab. By default there is no such heading.
  
{{Sandbox3
+
== Default List ==
|title=blue
+
The default list includes recently edited English topics in any category, excluding minor edits.
|link=:Category:Windows Phone
+
</noinclude>{{#dpl:
|colour=blue
+
namespace={{{namespace|}}}|
}}
+
{{#ifeq: {{{platformfilter|}}}|Windows Phone|{{platformCategoriesWindowsPhone}}|}}|
 +
{{#ifeq: {{{platformfilter|}}}|Java ME|{{platformCategoriesJavaME}}|}}|
 +
{{#ifeq: {{{platformfilter|}}}|Nokia Asha|{{platformCategoriesJavaME}}¦Series 40¦Nokia Asha¦Nokia Asha Web Apps¦Nokia Asha Platform 1.0|}}|
 +
{{#ifeq: {{{platformfilter|}}}|Symbian|category=Symbian¦Symbian C++¦Flash Lite¦Symbian Web Runtime¦PySymbian|}}|
 +
{{#ifeq: {{{platformfilter|}}}|Meego|category=MeeGo Harmattan¦Maemo|}}|
 +
{{#if: {{{10|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}¦{{{5}}}¦{{{6}}}¦{{{7}}}¦{{{8}}}¦{{{9}}}¦{{{10}}}|
 +
{{#if: {{{9|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}¦{{{5}}}¦{{{6}}}¦{{{7}}}¦{{{8}}}¦{{{9}}}|
 +
{{#if: {{{8|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}¦{{{5}}}¦{{{6}}}¦{{{7}}}¦{{{8}}}|
 +
{{#if: {{{7|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}¦{{{5}}}¦{{{6}}}¦{{{7}}}|
 +
{{#if: {{{6|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}¦{{{5}}}¦{{{6}}}|
 +
{{#if: {{{5|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}¦{{{5}}}|
 +
{{#if: {{{4|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}¦{{{4}}}|
 +
{{#if: {{{3|}}}|category={{{1}}}¦{{{2}}}¦{{{3}}}|
 +
{{#if: {{{2|}}}|category={{{1}}}¦{{{2}}}|
 +
{{#if: {{{1|}}}|category={{{1}}}|}}
 +
}} }} }} }} }} }} }} }} }}|
 +
{{#ifeq: {{{language|}}}|notenglish|categorymatch=Lang-%|{{#ifeq: {{{language|}}}|all|<!-- DO NOT filter on languages -->|{{#if: {{{language|}}}|category={{{language}}}|notcategorymatch=Lang-%}} }} }}|
 +
{{#if: {{{andcategory|}}}|category={{{andcategory}}}|}}|
 +
{{#if: {{{andcategory2|}}}|category={{{andcategory2}}}|}}|
 +
{{#if: {{{andcategory3|}}}|category={{{andcategory3}}}|}}|
 +
{{#if: {{{andcategory4|}}}|category={{{andcategory4}}}|}}|
 +
{{#if: {{{andcategory5|}}}|category={{{andcategory5}}}|}}|
 +
{{#if: {{{andcategory6|}}}|category={{{andcategory6}}}|}}|
 +
{{#if: {{{andcategory7|}}}|category={{{andcategory7}}}|}}|
 +
{{#if: {{{andcategory8|}}}|category={{{andcategory8}}}|}}|
 +
{{#if: {{{andcategory9|}}}|category={{{andcategory9}}}|}}|
 +
{{#if: {{{andcategory10|}}}|category={{{andcategory10}}}|}}|
 +
{{#if: {{{andcategory11|}}}|category={{{andcategory11}}}|}}|
 +
{{#if: {{{andcategory12|}}}|category={{{andcategory12}}}|}}|
 +
{{#if: {{{notcategory|}}}|notcategory={{{notcategory}}}|}}|
 +
{{#if: {{{notcategory2|}}}|notcategory={{{notcategory2}}}|}}|
 +
{{#if: {{{notcategory3|}}}|notcategory={{{notcategory3}}}|}}|
 +
{{#if: {{{notcategory4|}}}|notcategory={{{notcategory4}}}|}}|
 +
{{#if: {{{notcategory5|}}}|notcategory={{{notcategory5}}}|}}|
 +
{{#if: {{{notcategory6|}}}|notcategory={{{notcategory6}}}|}}|
 +
{{#if: {{{notcategory7|}}}|notcategory={{{notcategory7}}}|}}|
 +
{{#if: {{{notcategory8|}}}|notcategory={{{notcategory8}}}|}}|
 +
{{#if: {{{notcategory9|}}}|notcategory={{{notcategory9}}}|}}|
 +
{{#if: {{{notcategory10|}}}|notcategory={{{notcategory10}}}|}}|
 +
{{#if: {{{notcategory11|}}}|notcategory={{{notcategory11}}}|}}|
 +
{{#if: {{{notcategory12|}}}|notcategory={{{notcategory12}}}|}}|
 +
{{#if: {{{notcategory13|}}}|notcategory={{{notcategory13}}}|}}|
 +
{{#if: {{{notcategory14|}}}|notcategory={{{notcategory14}}}|}}|
 +
{{#if: {{{notcategory15|}}}|notcategory={{{notcategory15}}}|}}|
 +
{{#if: {{{notcategory16|}}}|notcategory={{{notcategory16}}}|}}|
 +
{{#if: {{{notcategory17|}}}|notcategory={{{notcategory17}}}|}}|
 +
{{#if: {{{notcategory18|}}}|notcategory={{{notcategory18}}}|}}|
 +
{{#if: {{{notcategory19|}}}|notcategory={{{notcategory19}}}|}}|
 +
{{#if: {{{notcategory20|}}}|notcategory={{{notcategory20}}}|}}|
 +
{{#if: {{{notcategory21|}}}|notcategory={{{notcategory21}}}|}}|
 +
{{#if: {{{notcategory22|}}}|notcategory={{{notcategory22}}}|}}|
 +
{{#if: {{{notcategory23|}}}|notcategory={{{notcategory23}}}|}}|
 +
{{#if: {{{notcategory24|}}}|notcategory={{{notcategory24}}}|}}|
 +
{{#if: {{{notcategory25|}}}|notcategory={{{notcategory25}}}|}}|
 +
{{#if: {{{notcategory26|}}}|notcategory={{{notcategory26}}}|}}|
 +
{{#if: {{{notcategory27|}}}|notcategory={{{notcategory27}}}|}}|
 +
{{#if: {{{notcategory28|}}}|notcategory={{{notcategory28}}}|}}|
 +
{{#if: {{{notcategory29|}}}|notcategory={{{notcategory29}}}|}}|
 +
{{#if: {{{notcategory30|}}}|notcategory={{{notcategory30}}}|}}|
 +
{{#if: {{{notcategory31|}}}|notcategory={{{notcategory31}}}|}}|
 +
{{#if: {{{notcategory32|}}}|notcategory={{{notcategory32}}}|}}|
 +
{{#if: {{{notcategory33|}}}|notcategory={{{notcategory33}}}|}}|
 +
{{#if: {{{notcategory34|}}}|notcategory={{{notcategory34}}}|}}|
 +
{{#if: {{{notcategory35|}}}|notcategory={{{notcategory35}}}|}}|
 +
{{#if: {{{notcategory36|}}}|notcategory={{{notcategory36}}}|}}|
 +
{{#if: {{{notcategory37|}}}|notcategory={{{notcategory37}}}|}}|
 +
{{#if: {{{notcategory38|}}}|notcategory={{{notcategory38}}}|}}|
 +
{{#if: {{{notcategory39|}}}|notcategory={{{notcategory39}}}|}}|
 +
{{#if: {{{notcategory40|}}}|notcategory={{{notcategory40}}}|}}|
 +
{{#if: {{{columns|}}}|columns={{{columns}}}|}}|
 +
{{#if: {{{crop|}}}|titlemaxlength={{{crop}}}|}}|
 +
{{#ifeq: {{{showkb|}}}|false|notuses=Template:KBKI¦Template:KBTS¦Template:KBCS|}}|
 +
{{#ifeq: {{{showcategories|}}}|true|addcategories=true|}}|
 +
{{#ifeq: {{{addcategories|}}}|true|addcategories=true|}}|
 +
{{#ifeq: {{{adduser|}}}|false||adduser=true}}|
 +
{{#ifeq: {{{showdrafts|}}}|true||notcategory=Draft}}|
 +
{{#ifeq: {{{showhidden|}}}|true||notcategory=FNWiki}}|
 +
{{#ifeq: {{{showhidden|}}}|true||notcategory=Advert}}|
 +
{{#ifeq: {{{showhidden|}}}|true||notcategory=Advertising}}|
 +
{{#ifeq: {{{showhidden|}}}|true||notcategory=Archived}}|
 +
{{#ifeq: {{{showdate|}}}|true|addeditdate=true|}}| <!-- deprecated (and now not documented) -->
 +
{{#ifeq: {{{addeditdate|}}}|true|addeditdate=true|}}|
 +
{{#if: {{{userdateformat|}}}|userdateformat={{{userdateformat}}}|}}|
 +
{{#if: {{{uses|}}}|uses={{{uses}}}|}}|
 +
{{#if: {{{notuses|}}}|notuses={{{notuses}}}|}}|
 +
ordermethod={{{ordermethod|lastedit}}}|
 +
{{#ifeq: {{{ordermethod|}}}|title|adduser=false|}}|
 +
{{#ifeq: {{{ordermethod|}}}|title||minoredits={{{minoredits|exclude}}} }}|
 +
order={{{order|descending}}}|
 +
displaynewicon=30|
 +
{{#if: {{{tab|}}}|resultsheader={{!}}-{{!}} {{{heading|{{#switch: {{{language|}}} 
 +
| Lang-PT
 +
| Lang-Portuguese = Modificados recentemente
 +
| Lang-RU
 +
| Lang-Russian = Недавно измененные
 +
| Lang-CN
 +
| Lang-Chinese = 最近编辑
 +
| Lang-JP
 +
| Lang-Japanese = Recently Edited
 +
| #default = Recently Edited
 +
}} }}} {{=}} {{#if: {{{tabheading|}}}|<h2>{{{tabheading}}}</h2>|}} |<!-- not tab -->}}|
 +
{{#if: {{{addheading|}}}|resultsheader={{#if: {{{collapsible|}}}|<div class="mw-collapsible {{#if: {{{collapsed|}}}|mw-collapsed|}}">|}}<h2>{{{heading|{{#switch: {{{language|}}} 
 +
| Lang-PT
 +
| Lang-Portuguese = Modificados recentemente
 +
| Lang-RU
 +
| Lang-Russian = Недавно измененные
 +
| Lang-CN
 +
| Lang-Chinese = 最近编辑
 +
| Lang-JP
 +
| Lang-Japanese = Recently Edited
 +
| #default = Recently Edited
 +
}} }}}</h2>{{#if: {{{collapsible|}}}|<div class="mw-collapsible-content">|}}|}}|
 +
{{#if: {{{addheading|}}}|{{#if: {{{collapsible|}}}|resultsfooter=</div></div>|}}|}}|<!-- for collapsable headings close the divs -->
 +
{{#if: {{{addheading|}}}{{{tab}}}|<!-- empty -->|noresultsheader=None<!-- default-->}}|
 +
{{#if: {{{lastrevisionbefore|}}}|lastrevisionbefore={{{lastrevisionbefore}}}|}}|
 +
<!-- Fix formatting bugs in DPL. Note, this only adds page and revision, ignores adding author etc-->
 +
{{#if: {{{lastrevisionbefore|}}}|format=,\n* [[%PAGE%|%TITLE%]] (%DATE%)<!-- Need to fix formatting-->|<!-- Formatting OK -->}}|
  
{{Sandbox3
+
<!-- Only define count variable if count is specified and more is not specified -->
|title=brown
+
{{#if: {{{count|}}}|
|link=:Category:Windows Phone
+
<!-- count is defined
|colour=brown
+
-->  {{#if: {{{more|}}}|<!-- more defined -->|<!-- more not defined -->count={{{count|}}} }}
}}
+
|<!-- count is not defined --> }}|
  
{{Sandbox3
+
<!-- Add support for MORE button IF count is specified and more is specified-->
|title=green
+
{{#if: {{{count|}}}|
|link=:Category:Windows Phone
+
<!-- count is defined
|colour=green
+
-->  {{#if: {{{more|}}}|<!--
}}
+
more defined -->
 +
format=,\n* [[%PAGE%|%TITLE%]] .. [[User:%USER%]] %NR% res is {{result|%NR%|{{{count|}}} }} and truetest is {{#if: {{result|%NR%|{{{count|}}} }}|true|false}},,
 +
<!-- END more defined -->|<!-- more not defined -->}}
 +
|<!-- count is not defined --> }}|
  
{{Sandbox3
 
|title=lime
 
|link=:Category:Windows Phone
 
|colour=lime
 
}}
 
  
{{Sandbox3
 
|title=magenta
 
|link=:Category:Windows Phone
 
|colour=magenta
 
 
}}
 
}}
 
{{Sandbox3
 
|title=mango / orange
 
|link=:Category:Windows Phone
 
|colour=mango
 
}}
 
 
{{Sandbox3
 
|title=pink
 
|link=:Category:Windows Phone
 
|colour=pink
 
}}
 
 
{{Sandbox3
 
|title=purple
 
|link=:Category:Windows Phone
 
|colour=purple
 
}}
 
 
{{Sandbox3
 
|title=red
 
|link=:Category:Windows Phone
 
|colour=red
 
}}
 
 
{{Sandbox3
 
|title=teal / viridian
 
|link=:Category:Windows Phone
 
|colour=teal
 
}}
 
 
{{Sandbox3
 
|title=Item count
 
|link=:Category:Windows Phone
 
|itemcount=6
 
}}
 
 
{{Sandbox3
 
|link=:Category:Windows Phone
 
|itemcount=6
 
|icon=WP_Metro_Icon_Video.png
 
}}
 
 
{{Sandbox3
 
|title=nokiablue
 
|colour=nokiablue
 
|link=:Category:Windows Phone
 
}}
 
 
{{Sandbox3
 
|title=nokiapurple
 
|colour=nokiapurple
 
|link=:Category:Windows Phone
 
}}
 
 
{{Sandbox3
 
|title=nokiacyan
 
|colour=nokiacyan
 
|link=:Category:Windows Phone
 
}}
 
 
{|
 
|-
 
|}
 
 
== Appearance ==
 
 
</noinclude>{{#if:{{{topright|}}}|<div class="rightColumnTop" style="width:inherit;
 
padding-bottom:5px; margin-bottom:5px;">{{#if:{{{linkleft|}}}|<div style="position:relative;
 
margin-top: 45px;
 
margin-right: 5px;
 
float:left;
 
display: block;
 
">[[File:{{{tile|WPSignpost-leftarrow.png}}}|link={{{linkleft|}}}]]</div>|}}|}}<div style="position:relative;
 
float:left;
 
display: block;
 
height:110px;
 
width:110px;
 
margin:5px;
 
background-color:{{#switch: {{{colour|{{RandomSelector|offset={{{randomseed|{{#expr: {{#len: {{{title}}}{{{link}}}{{{icon|}}} }}{{{itemcount|}}} mod 8}} }}}|nokiablue|nokiapurple|teal|orange|magenta|nokiacyan|lime}} }}}
 
| nokiablue = #1080DD
 
| nokiapurple = #7F4098
 
| nokiacyan = #1BA1E2
 
| blue = #1BA1E2
 
| brown = #A05000
 
| green = #339933
 
| lime = #A2C139
 
| magenta = #D80073
 
| mango = #F09609
 
| orange = #F09609
 
| pink = #E671B8
 
| purple = #A200FF
 
| red = #E51400
 
| teal = #00ABA9
 
| viridian = #00ABA9
 
| random = #E51400
 
| default = #E51400
 
}};">
 
[[File:{{{tile|MultiMediaTile.png}}}|link={{{link|}}}|110x110px]]
 
{{#if: {{{icon|}}}|<div style="position:absolute;
 
left:20px;
 
top:{{{icon-top-position|20px}}};
 
">[[File:{{{icon}}}|70px|link={{{link|}}}]]</div>
 
|<!-- icon not defined, do nothing -->}}
 
<div style="position:absolute;
 
left:5px;
 
right:10px;
 
bottom:{{{text-position|5px}}};
 
color:{{{text-colour|white}}};">{{{title|Title}}}{{#if: {{#pos:{{{link|x}}}|http://}}|[{{{link}}} &nbsp;]|}}</div>
 
{{#if: {{{itemcount|}}}|<div style="position:absolute;
 
right:5px;
 
top:{{{itemcount-text-position|5px}}};
 
color:{{{text-colour|white}}};
 
font-size:1.5em;
 
text-decoration:  none;
 
">{{{itemcount}}}</div>
 
|<!-- item count not defined, do nothing -->}}
 
</div>{{#if:{{{topright|}}}|{{#if:{{{linkright|}}}|<div style="position:relative;
 
float:left;
 
display: block;
 
margin-top: 45px;
 
margin-left: 5px;
 
">[[File:{{{tile|WPSignpost-rightarrow.png}}}|link={{{linkright|}}}]]</div>|}}</div>|}}
 

Latest revision as of 03:15, 13 December 2013

Internal use only.

Underconstruction.pngUnder Construction: This article is under construction and it may have outstanding issues. If you have any comments please use the comments tab.

Lists recently edited articles in specified categorie(s). Minor edits are ignored and results are specified in descending order of edit date.

The template allows you to control the appearance and content of the list by restricting the number of items shown, add categories, show hidden articles, specify the language etc.

It is also possible to automatically add a heading IFF there are items in the list, and to make it collapsible and default collapsed.

[edit] Usage

{{ListRecentlyEdited|category name}}

where category name is any category. The maximum number of topics that can be listed will be displayed. If no category is specified, recently edited 'English' topics will be displayed. Other parameters may be passed as pipe separated values

  • Un named parameters: Up to 7 un-named parameters are treated as additional categories included in the search (ie the union of all topics in all categories specified as unnamed parameters will be part of the results set)
  • count: The number of values to return. If unspecified this will be the maximum number that can be returned by DPL
  • language: The category of the specific language returned values are to be restricted to. If no language is specified then English topics will be returned
  • andcategory (and andcategory2 to andcategory10): Topics returned will be in the intersection of unnamed parameters and categories specified in andcategory
  • notcategory (and notcategory2 to notcategory20): Topics returned will not include articles in these categories
  • platformfilter: Filters topics on the categories associated with the platform - values are:-Windows Phone, Nokia Asha, Symbian, Meego, Java ME

By default the author is shown, categories are not shown, article names are displayed full length and knowledgbase articles are included in the output. These can be changed using the following parameters:

  • columns: Sets the number of columns. Default is to list articles in one column
  • crop: If specified, article titles will be restricted to this length
  • adduser=false: Hides the author - by default the author is shown
  • showkb=false: Be default knowledgebase articles are included. If this parameter is specified as false, the articles will be removed
  • addcategories=true: If specified, categories will be listed in output
  • showdrafts=true: If true, draft items will be shown (hidden by default)
  • showhidden=true: If true, articles in categories Archived, FNWiki and Advertising are shown (hidden by default)
  • addeditdate=true: If specified, date is shown.
    • userdateformat: If specified, used formatstring with letters like "y,Y,m,M,d,D,h,H,i,I,s"
  • uses: Specify the templates that must be in articles in the list .Note that to specify multiple templates use the half pipe - e.g.
uses=Template:KBKI ¦ Template:KBTS ¦ Template:KBCS
  • notuses: Specify the templates that must not be in articles in the list .Note that to specify multiple templates use the half pipe - e.g.
notuses=Template:KBKI ¦ Template:KBTS ¦ Template:KBCS

The following parameters are specialist (expected to be used by other templates)

  • lastrevisionbefore: Displays only articles created before a certain date in YYYYMMDD format. Used primarily with order=ascending to show lists older than a particular date. By default, not used
  • order=ascending: This can reverse the order of the list so that oldest non-minor edits are shown first.
  • ordermethod=title: To change to alphabetic listing. Default is ordered by last edit.


Heading mode - for displaying a heading automatically with the list

  • addheading=true: Adds level 2 heading "Recently Edited" (in the supported language). In this mode the heading will disappear if there are no returned results
    • heading: (optional) replaces the default heading with a heading of your choice.
    • collapsible=true: To make the heading collapsible - by default it is not collapsible and is expanded
      • collapsed=true: To make the heading collapsed when loaded

Tab mode - for displaying the list in a tabber control

  • tab=true: Adds list with in tab format.
    • heading: (optional) heading to be used for the tab - defaults to "Recently Edited"
    • tabheading: (optional) heading to be used for the list INSIDE the tab. By default there is no such heading.

[edit] Default List

The default list includes recently edited English topics in any category, excluding minor edits.

 
×