Template:Divyearbox

From Ballotpedia
Jump to: navigation, search
usage

This template can be used to create previous year and next year clickable banners with an arrow. It simplifies the creation of this by using a template.

What to copy

{{Divyearbox|previous=y|page2=PAGE|year2=YEAR|next=y|page=PAGE2|year=YEAR2}}

Example:

With both years

{{Divyearbox|previous=y|page2=State legislative elections, 2010|year2=2011|next=y|page=State legislative elections, 2013|year=2013}}

With previous year only

{{Divyearbox|previous=y|page2=Ohio State Senate elections, 2010|year2=2010}}