Site Notice |
---|
We have a limited coverage policy. Please check our coverage page to see which articles are allowed. |
Difference between revisions of "Template:YearPrevNext/doc"
Jump to navigation
Jump to search
(Created page with "== Purpose == The template is designed to be a way to navigate one, ten and possibly more years from the page one is looking at. To keep it simple, it uses no expressions. ...") |
m |
||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
== Purpose == | == Purpose == | ||
− | The template is designed to be a way to navigate one, ten and possibly more years from the | + | The template is designed to be a way to navigate one, ten and possibly more years from the category one is looking at. To keep it simple, it uses no expressions. |
− | |||
== Use == | == Use == | ||
Line 12: | Line 12: | ||
|next_10=2023}} | |next_10=2023}} | ||
</pre> | </pre> | ||
− | |||
− | |||
=== Parameters === | === Parameters === | ||
− | ''' | + | * '''prev''' - 1 year ago |
− | + | * '''prev_10''' - 10 years ago | |
− | * prev_10 - 10 | + | * '''next''' - 1 year into the future |
− | * next - 1 | + | * '''next_10''' - 10 years into the future |
− | * next_10 - 10 | ||
− | |||
− | |||
<noinclude>[[Category:Documentation pages|{{PAGENAME}}]]</noinclude> | <noinclude>[[Category:Documentation pages|{{PAGENAME}}]]</noinclude> |
Latest revision as of 20:53, 14 December 2023
Purpose
The template is designed to be a way to navigate one, ten and possibly more years from the category one is looking at. To keep it simple, it uses no expressions.
Use
Example
{{YearPrevNext |prev=2012 |prev_10=2003 |next=2014 |next_10=2023}}
Parameters
- prev - 1 year ago
- prev_10 - 10 years ago
- next - 1 year into the future
- next_10 - 10 years into the future