Difference between revisions of "Template:RecentChangesListbox"

From Nottinghack Wiki
Jump to navigation Jump to search
(Link to category - but need paler header for default link colors are dark blues and purples)
Line 1: Line 1:
 
{| class="wikitable" style="width: 95%; margin: auto;"
 
{| class="wikitable" style="width: 95%; margin: auto;"
!  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:#dcabea; color:#000000;"  | Recently Changed Articles in [[:Category:{{#if:{{{category|}}}|{{{category}}}|Root}}]]
 
 
Category:{{#if:{{{category|}}}|{{{category}}}|Root}}
 
 
|-
 
|-
| {{Special:RecentChangesLinked/Category:{{#if:{{{category|}}}|{{{category}}}|Root}}|hideminor=1|limit=10|days=365}}
+
| {{Special:RecentChangesLinked/Category:{{#if:{{{category|}}}|{{{category}}}|Root}}|hideminor=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>

Revision as of 11:39, 2 March 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.