Module:Years generator/doc
Appearance
![]() | This is a documentation subpage for Module:Years generator. It may contain usage information, categories and other content that is not part of the original module page. |
Usage
Copy and paste the following code, substituting "start year" for the year you want to start the iteration from, and "template to transclude" with the template you want:
{{#invoke:Years generator|templateEveryYearToPresent|Start year|Template to transclude}}
This will result in the template being called for each year from Start year to the current year, with the year it's being called for as the first and only argument.