Difference between revisions of "Template:PortalPastSel"

From blackwiki
Jump to navigation Jump to search
test>Slambo
m (fix syntax)
test>Slambo
m (→‎Usage: weeknum -> week)
Line 9: Line 9:
 
* ''portalname'' - The name of the portal
 
* ''portalname'' - The name of the portal
 
* ''type'' - Either "article" or "picture"
 
* ''type'' - Either "article" or "picture"
* ''weeknum'' - The week number
+
* ''week'' - The week number
 
* ''year'' - The year
 
* ''year'' - The year
  

Revision as of 15:44, 28 December 2006

Description

This template is designed to create the "Recently selected" links at the bottom of the Selected article and Selected picture abstracts on portals.

Usage

{{PortalPastSel|portalname=|type=|week=|year=}}

The three parameters are:

  • portalname - The name of the portal
  • type - Either "article" or "picture"
  • week - The week number
  • year - The year

This template expects that links to the previous selections are stored in pages named like [[Portal:portalname/Selected type/Week week, year/link]]. The entire contents of the /link pages should be the exact link that will appear in the Recently selected list.

For example...

{{PortalPastSel|portalname=Trains|type=article|week=52|year=2006}}

produces:

Recently selected:  -  -