Difference between revisions of "Template:Activehs"

From QBWiki
Jump to navigation Jump to search
 
Line 4: Line 4:
 
}}|[[Category: High school players active in {{{1}}}]]}}}}
 
}}|[[Category: High school players active in {{{1}}}]]}}}}
 
</includeonly><noinclude>Shorthand for adding active years for high school players.
 
</includeonly><noinclude>Shorthand for adding active years for high school players.
 +
 +
Also see: [[Template:Active]] and [[Template:Activems]].
  
 
*{{{1}}} - start year (inclusive)
 
*{{{1}}} - start year (inclusive)

Latest revision as of 13:18, 8 December 2025

Shorthand for adding active years for high school players.

Also see: Template:Active and Template:Activems.

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

The end year can be an arbitrary number of years after the start year, thanks to a loop.

Usage:

input output
{{activehs|2005}} [[Category: High school players active in 2005]]
{{activehs|2005|2005}} [[Category: High school players active in 2005]]
{{activehs|2005|2004}}
{{activehs|2005|2006}} [[Category: High school players active in 2005]] [[Category: High school players active in 2006]]
{{activehs|2005|2007}} [[Category: High school players active in 2005]] [[Category: High school players active in 2006]] [[Category: High school players active in 2007]]
{{activehs|2005|2008}} [[Category: High school players active in 2005]] [[Category: High school players active in 2006]] [[Category: High school players active in 2007]] [[Category: High school players active in 2008]]