This template is within the scope of WikiProject Years, a collaborative effort to improve the coverage of
Years on Wikipedia. If you would like to participate, please visit the project page, where you can join
the discussion and see a list of open tasks.YearsWikipedia:WikiProject YearsTemplate:WikiProject YearsYears articles
This template is within the scope of WikiProject Categories, a collaborative effort to improve the coverage of
categories on Wikipedia. If you would like to participate, please visit the project page, where you can join
the discussion and see a list of open tasks.CategoriesWikipedia:WikiProject CategoriesTemplate:WikiProject CategoriesCategories articles
Using template to link to the following year
Is {{#expr:{{title year}}+1}} (e.g.
[1]) the most efficient way to automate links to succeeding years?
@
Fayenatic london: I actually came here to check if someone had done this yet, so I've done basic versions of {{Title year+1}} and {{Title year-1}}. They don't pass through the parameters to {{Title year}}, I leave that as an exercise for the reader, but I'm not sure it's that necessary. Likewise, I thought about having a general {{Title year+}} template, but it seemed unnecessarily ugly given the likely use cases, dedicated ones seemed more readable to me.
Le Deluge (
talk)
15:26, 23 May 2021 (UTC)reply
This template is within the scope of WikiProject Years, a collaborative effort to improve the coverage of
Years on Wikipedia. If you would like to participate, please visit the project page, where you can join
the discussion and see a list of open tasks.YearsWikipedia:WikiProject YearsTemplate:WikiProject YearsYears articles
This template is within the scope of WikiProject Categories, a collaborative effort to improve the coverage of
categories on Wikipedia. If you would like to participate, please visit the project page, where you can join
the discussion and see a list of open tasks.CategoriesWikipedia:WikiProject CategoriesTemplate:WikiProject CategoriesCategories articles
Using template to link to the following year
Is {{#expr:{{title year}}+1}} (e.g.
[1]) the most efficient way to automate links to succeeding years?
@
Fayenatic london: I actually came here to check if someone had done this yet, so I've done basic versions of {{Title year+1}} and {{Title year-1}}. They don't pass through the parameters to {{Title year}}, I leave that as an exercise for the reader, but I'm not sure it's that necessary. Likewise, I thought about having a general {{Title year+}} template, but it seemed unnecessarily ugly given the likely use cases, dedicated ones seemed more readable to me.
Le Deluge (
talk)
15:26, 23 May 2021 (UTC)reply