Template talk:Birth or death years in decade
(Redirected from Template talk:Birth or death years in decade/doc)
Latest comment: 16 years ago by RockMFR in topic Category
Template:Birth or death years in decade is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. This template does not have a testcases subpage. You can create the testcases subpage here. |
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)
<< | 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)
- Sure? Using parserFunctions is possible. {{#expr:{{{1}}}-1}}}9 for << link, and {{#expr:{{{1}}}+1}}}0 for >>. --Emijrp 18:03, 13 November 2007 (UTC)
- 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)
- Done - Nihiltres{t.l} 01:25, 14 November 2007 (UTC)
- Thanks. --Emijrp 09:01, 14 November 2007 (UTC)
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}}}|>>]] |}
Category
edit{{editprotected}}
Could the following category be added? GregorB (talk) 14:52, 20 April 2008 (UTC)
<noinclude>[[Category:Category header templates|{{PAGENAME}}]]</noinclude>
- Done. --- RockMFR 15:57, 20 April 2008 (UTC)