Jump to content

Template talk:Birth or death years in decade

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Jump backward and forward

[edit]

{{editprotect}}
Why don't add << and >> links to help navigation backward and forward in decades? --Emijrp 14:42, 13 November 2007 (UTC)[reply]

<< 1990s births: 1990-1991-1992-1993-1994-1995-1996-1997-1998-1999 >>
I don't know which template that is, but it doesn't seem to be this one. The likely reason it doesn't skip by 10 years is that the template parameter isn't set up that way. — Carl (CBM · talk) 17:19, 13 November 2007 (UTC)[reply]
Sure? Using parserFunctions is possible. {{#expr:{{{1}}}-1}}}9 for << link, and {{#expr:{{{1}}}+1}}}0 for >>. --Emijrp 18:03, 13 November 2007 (UTC)[reply]
Sorry, I misunderstood your request. I thought you were saying there were already arrows, but you are asking for the arrows to be added. This seems like an uncontroversial change. Write and test the code, and then put up a new request, and someone will copy your code to the template. — Carl (CBM · talk) 18:18, 13 November 2007 (UTC)[reply]
checkY Done - Nihiltres{t.l} 01:25, 14 November 2007 (UTC)[reply]
Thanks. --Emijrp 09:01, 14 November 2007 (UTC)[reply]

Code

[edit]
{| class="toccolours" align=right
|[[:Category:{{#expr:{{{1}}}-1}}9 {{{2}}}|<<]]
|[[:Category:{{{1}}}0s {{{2}}}|{{{1}}}0s {{{2}}}]]: 
|[[:Category:{{{1}}}0 {{{2}}}|{{{1}}}0]]-[[:Category:{{{1}}}1 {{{2}}}|{{{1}}}1]]-[[:Category:{{{1}}}2 {{{2}}}|{{{1}}}2]]-[[:Category:{{{1}}}3 {{{2}}}|{{{1}}}3]]-[[:Category:{{{1}}}4 {{{2}}}|{{{1}}}4]]-[[:Category:{{{1}}}5 {{{2}}}|{{{1}}}5]]-[[:Category:{{{1}}}6 {{{2}}}|{{{1}}}6]]-[[:Category:{{{1}}}7 {{{2}}}|{{{1}}}7]]-[[:Category:{{{1}}}8 {{{2}}}|{{{1}}}8]]-[[:Category:{{{1}}}9 {{{2}}}|{{{1}}}9]]
|[[:Category:{{#expr:{{{1}}}+1}}0 {{{2}}}|>>]]
|}

--Emijrp 09:01, 14 November 2007 (UTC)[reply]

Category

[edit]

{{editprotected}}

Could the following category be added? GregorB (talk) 14:52, 20 April 2008 (UTC)[reply]

<noinclude>[[Category:Category header templates|{{PAGENAME}}]]</noinclude>
Done. --- RockMFR 15:57, 20 April 2008 (UTC)[reply]