Template:DecadeCategoryNav

From blackwiki
Revision as of 09:14, 28 March 2019 by imported>Fayenatic london (+portal:History)
Jump to navigation Jump to search

Usage

{{DecadeCategoryNav|decade=|topic=}}

Parameters:

  • decade - The first year of the decade to form the "center" of the navigation (e.g. 1980)
  • topic - (optional) The topic for the "DECADE in TOPIC" line (e.g. rail transport)

Example:

{{DecadeCategoryNav|decade=1980|topic=rail transport}}

results in:

Decades in rail transport: 1950s1960s • 1970s1980s1990s2000s2010s
Decades: 1950s1960s1970s1980s1990s2000s2010s

Error checking

This template should be capable of operating without parameters, by deriving the, from the page title. Tracking categories have been set up to test whether there are any valid exceptions:

Valid use are tracked at:

Script error: No such module "Purge".