Template:RecentChangesListbox: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
default to root cat
mNo edit summary
 
(14 intermediate revisions by one other user not shown)
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable" style="width: 95%; margin: auto;"
! width=600px; style="font-family:Verdana, Geneva, sans-serif !important;; background-color:#036400; color:#ffffff;"  | Recently Changed Articles in
! style="text-align: center; font-family:Verdana, Geneva, sans-serif !important;; background-color:#efcbfc; color:#000000;"  | Recently changed articles in [[:Category:{{#if:{{{category|}}}|{{{category}}}|Root}}]]
 
Category:{{#if:{{{category|}}}|{{{category}}}|Root}}
|-
|-
| {{Special:RecentChangesLinked/Category:{{{category|}}}|hideminor=1|limit=10|days=365}}
| {{Special:RecentChangesLinked/Category:{{#if:{{{category|}}}|{{{category}}}|Root}}|hideminor=1|hidepreviousrevisions=1|limit={{#if:{{{catlimit|}}}|{{{catlimit}}}|10 }}|days=365}}
|}
|}


Line 28: Line 26:
;category
;category
:Specify the category you want to list the changes of.
:Specify the category you want to list the changes of.
;catlimit
:Number of related changes to show, default =10.


</noinclude>
</noinclude>

Latest revision as of 11:14, 27 June 2019

Recently changed articles in Category:Root
No changes during the given period match these criteria.


Documentation

This template is intended to be used to show recent changes with a category automatically. An argument is required for this template. Don't worry about the way it looks on this page: that's purely because no argument is specified.

Usage

Inserting the following text where required on the page to produce a list box showing recently changed articles in that category.

Abbreviated parameter list:

{{RecentChangesListbox
|category=
}}

Arguments

category
Specify the category you want to list the changes of.
catlimit
Number of related changes to show, default =10.