Template:Year in Brazil/doc

Usage
This template is to appear at the top of "year in Brazil" pages. The current form is based on Year nav:

produces a navigational box on the right side of the page linking to relevant timeline, history, and year articles in the context of Brazil's history.

The  lines prevent links to Brazil years prior to 1822 or after 2024. Instead of linking to "1821 in Brazil", it links to the regular 1821 page. The same goes for decades.