Template:Year nav topic/doc

From NationStates Sports Wiki
Jump to navigation Jump to search

Creates a sidebar navbox for years in a subject. For creating a "cycles" nav box (e.g. "{subject} cycles") see Template:Cycle nav topic.

Usage

The template expects two parameters: the cycle number, and the topic. It then extrapolates two cycles either side and generates the correct links.

If no topic is passed, the template inserts "subject", which will likely not work for your purposes, so make sure to enter a topic.

{{Year nav topic|2300|Osarian football}} or {{ynav|2300|Osarian football}} returns the top navbox on the right.

If no cycle number is passed, the template will also not function correctly.

{{Year nav topic||football}} or {{ynav||football}} returns the middle navbox on the right.

If no parameters are passed at all, the output defaults to "1093 in subject" as the middle year.

{{Year nav topic}} or {{ynav}} returns the bottom navbox on the right.