Difference between revisions of "Template:Activehs"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) (Created page with "[[Category:High school players active in {{{1}}}]]") |
Kevin Wang (talk | contribs) |
||
| Line 1: | Line 1: | ||
| − | [[Category:High school players active in {{{1}}}]] | + | <includeonly>{{#if:{{{2|}}} |
| + | <!----->|{{#iferror:{{#expr:{{{2}}}-{{{1}}}}} | ||
| + | <!-----><!----->|{{#switch:{{#expr:{{{2}}}-{{{1}}}}} | ||
| + | <!-----><!-----><!----->|1=[[Category:High school players active in {{{1}}}]] | ||
| + | <!-----><!-----><!----->[[Category:High school players active in {{{2}}}]] | ||
| + | <!-----><!-----><!----->|2=[[Category:High school players active in {{{1}}}]] | ||
| + | <!-----><!-----><!----->[[Category:High school players active in {{#expr:{{{1}}}+1}}]] | ||
| + | <!-----><!-----><!----->[[Category:High school players active in {{{2}}}]] | ||
| + | <!-----><!-----><!----->|3=[[Category:High school players active in {{{1}}}]] | ||
| + | <!-----><!-----><!----->[[Category:High school players active in {{#expr:{{{1}}}+1}}]] | ||
| + | <!-----><!-----><!----->[[Category:High school players active in {{#expr:{{{1}}}+2}}]] | ||
| + | <!-----><!-----><!----->[[Category:High school players active in {{{2}}}]] | ||
| + | <!-----><!-----><!----->|#default=[[Category:High school players active in {{{1}}}]] | ||
| + | <!-----><!----->}}|Error in the input}} | ||
| + | <!----->|[[Category:High school players active in {{{1}}}]] | ||
| + | }}</includeonly><noinclude>Shorthand for adding active years for high school player. | ||
| + | |||
| + | *{{{1}}} - start year (inclusive) | ||
| + | *{{{2}}} - end year (inclusive; optional)</noinclude> | ||
Revision as of 16:32, 17 March 2021
Shorthand for adding active years for high school player.
- {{{1}}} - start year (inclusive)
- {{{2}}} - end year (inclusive; optional)