Template talk:Yearlist
Yearlist
Have you considered using the {{PAGENAME}} code in your timeline tags? At the least, it would save the user from having to type in the year, and there is a way to use math to account for the adjoining years. Here is example I use on my private wiki that has the previous and next year bookending the center column that depicts the century and decade, all using the {{PAGENAME}} code:
{| class="browser" align="center" border="2" style="background:#BDBDBD; text-align: center" |- | class="prev" width="75"|[[{{{1|{{#expr:{{PAGENAME}}-1}}}}}]] | class="topic" width="125"|[[{{nth|{{#expr:(({{PAGENAME}}-({{PAGENAME}} mod 100))/100)+1}}}} century]]<br />[[{{#expr: {{PAGENAME}} - ({{PAGENAME}} mod 10)}}s]] | class="next" width="75"|[[{{{2|{{#expr:{{PAGENAME}}+1}}}}}]] |}