Template:Navseasoncats with decades below year/doc

This is a helper template for building navigation boxes in by-year chronology templates.

It uses the Navseasoncats, and adds a row below of links to decades

'''This template uses intricate syntax, so it should not be deployed directly on categories. It should be used only in category header templates, such as Year in country category'''

Usage
This template relies on the category title already having been parsed and split. These split components are then used to build the navbox.


 * prefix = the text before the year
 * year = the year
 * suffix = the text before the year

Note that spaces must be reproduced exactly as per the page title. The template will not add or remove any spaces.

Examples

 * From Category:1857 in New York (state)


 * From Category:Organizations established in 1903

Example errors

 * From Category:1968 in Northern Ireland

This example breaks because there should be a space before the word "in".

Here it is done properly