User:Certes/Cat topic year

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation[view] [edit] [history] [purge]


Usage[edit]

{{Cat topic year|prefix|year|suffix}}
Alabama elections, year
Years
2005
2005
2006
2006
2008
2008
2010
2010
2012
2012
2013
2013| align=center | 2014
2014

Parameters (example {{Cat topic year|Alabama elections, |2010}} shown at right):

  • 1 - The prefix which appears before the year in the category name, including trailing space if any
  • 2 - The primary year for the center element of the links
  • 3 - The suffix which appears after the year in the category name, including leading space if any

The template will show up to three earlier and three later categories, checking up to five years at each step.