Template:PortalPastSel/doc
Appearance
This is a documentation subpage for Template:PortalPastSel. It may contain usage information, categories and other content that is not part of the original template page. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Description
[edit]This template is designed to create the "Recently selected" links at the bottom of the Selected article and Selected picture abstracts on portals.
Usage
[edit]{{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: SkyTrain (Vancouver) - Beeching Axe - Scott Special