Difference between revisions of "Template:Active"

From QBWiki
Jump to navigation Jump to search
m
m
 
Line 7: Line 7:
 
*{{{1}}} - start year (inclusive)
 
*{{{1}}} - start year (inclusive)
 
*{{{2}}} - end year (inclusive; optional)
 
*{{{2}}} - end year (inclusive; optional)
 
End year can be up to 25 years after start year.
 
  
 
===Usage:===
 
===Usage:===

Latest revision as of 14:40, 7 November 2021

Shorthand for adding active years for players.

  • {{{1}}} - start year (inclusive)
  • {{{2}}} - end year (inclusive; optional)

Usage:

input output
{{active|2005}} [[Category: Players active in 2005]]
{{active|2005|2005}} [[Category: Players active in 2005]]
{{active|2005|2004}} n/a
{{active|2005|2006}} [[Category: Players active in 2005]] [[Category: Players active in 2006]]
{{active|2005|2007}} [[Category: Players active in 2005]] [[Category: Players active in 2006]] [[Category: Players active in 2007]]
{{active|2005|2008}} [[Category: Players active in 2005]] [[Category: Players active in 2006]] [[Category: Players active in 2007]] [[Category: Players active in 2008]]