Site Notice

We have a limited coverage policy. Please check our coverage page to see which articles are allowed.
Please no leaked content less than one year old, or videos of leaks.
Content copied verbatim from other websites or wikis will be removed.

Difference between revisions of "Template:YearPrevNext"

From NintendoWiki, your source on Nintendo information. By fans, for fans.
Jump to navigation Jump to search
m
m
Line 4: Line 4:
 
{{#if: {{{prev|}}} |{{!}} style="{{roundy}};" {{!}}<- [[:Category:{{{prev}}} games|{{{prev}}}]]|}}  
 
{{#if: {{{prev|}}} |{{!}} style="{{roundy}};" {{!}}<- [[:Category:{{{prev}}} games|{{{prev}}}]]|}}  
 
|
 
|
|  [[Game by Year]]
+
|  [[:Category:Games by year|Games by year]]
 
|
 
|
 
{{#if: {{{next|}}} |{{!}} style="{{roundy}};" {{!}}[[:Category:{{{next}}} games|{{{next}}}]] ->}}
 
{{#if: {{{next|}}} |{{!}} style="{{roundy}};" {{!}}[[:Category:{{{next}}} games|{{{next}}}]] ->}}

Revision as of 16:49, 26 September 2015

Games by year


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