Template:Portal by year/doc

This template creates the basic features of a year-based portal. Once created, such a portal will automatically keep itself up to date.

It uses Dynamic Page Lists as created for the Wikinews project, in a format based on Wikinews-style portals (eg. Portal:Aviation on Wikinews).

Procedure

 * 1) Start a new portal
 * 2) Copy the text template into the new portal
 * 3) Save the page

Important notes

 * Any portal using this template must only use the year in the title, (ie.  or  ).  The template uses the page name as the basis for the dynamic page lists.
 * Do not transclude this page; it should be used as described under procedure.

Amendments
It is likely that the standard set of categories within this template is inappropriate for a specific year. Therefore, after the page has been saved (as described under Procedure) it can be altered to fit the specific requirements of a specific year. It may also be useful, for aesthetic reasons, to move some sections around (which can be done by cut-and-paste) or change their length.

A sample of a section will look like this:

Poems
 category=Poems category= works count=5 suppresserrors=true 

To adapt this to another use:
 * 1)   and the heading   should be changed to a new category.
 * 2) If necessary,   can be changed, replacing   with the appropriate year.
 * 3) If the year is featured in the main category, the   line can be removed altogether.

For example, to specify the category as Modern Poetry:

Modern poetry
 category=Modern poetry category= works count=5 suppresserrors=true 

To lengthen the section (provided there are enough works or pages to be listed), change the number in the  line to the maximum number of bullet points desired.

More information

 * DynamicPageList Extension at MediaWiki
 * DynamicPageList at Wikinews
 * Template:Countrycategory at Wikinews (an example of a template with DynamicPageLists