Template:RecentChangesListbox: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
style="width:100%;" for table style?
Shane (talk | contribs)
Add category, might not be best but at least this makes it findable
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="wikitable" style="width:100%;"
{| 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:#efcbfc; 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|hidepreviousrevisions=1|limit={{#if:{{{catlimit|}}}|{{{catlimit}}}|10 }}|days=365}}
|}
|}


Line 29: Line 27:
: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.
[[Category:Templates navbox]]
</noinclude>
</noinclude>

Latest revision as of 19:05, 15 January 2025

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.