Place this template on pages or categories with 4-digit years in their titles to easily provide links to neighboring years, as well as years a decade away in each direction.


Notes on Module:YearNav since we can't currently have Module doc pages.

To get a year navigation template similar but not identical to this one, use

{{#invoke:YearNav|YearNav|pattern}}

Where pattern is what the output should be like. In place of years use #### with - or + and a number to represent where the links should go. The default pattern is: ####-10 ・・ ####-1 ・ '''####''' ・ ####+1 ・・ ####+10

The pattern used by the YearNav template is currently: <table style="background:linear-gradient(to right,rgba(255,255,255,0),#e1e7f6,rgba(255,255,255,0));"><tr><td>####-10 ・・ ####-1 ・ '''####''' ・ ####+1 ・・ ####+10</td></tr></table>
Community content is available under CC-BY-SA unless otherwise noted.