Difference between revisions of "Template:Getting started tracker"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) m |
m (<br> in link text instead of 2 split links) |
||
(6 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:fallpage|{{{fallpage|2022 ACF Fall}}}}}{{#vardefine:winterpage|{{{winterpage|2022 ACF Winter}}}}}{{#vardefine:regionalspage|{{{regionalspage|2023 ACF Regionals}}}}}{{#vardefine:nationalspage|{{{nationalspage|2023 ACF Nationals}}}}}{{#vardefine:falldate|{{{falldate|xx}}}}}{{#vardefine:winterdate|{{{winterdate|xx}}}}}{{#vardefine:regionalsdate|{{{regionalsdate|xx}}}}}{{#vardefine:nationalsdate|{{{nationalsdate|xx}}}}}{{#vardefine:today|{{#time:Ymd}}}}{{#vardefine:acfindex|{{#iferror:{{#time:Ymd|{{#var:falldate}}}}|0|{{#ifexpr:{{#var:today}}<{{#time:Ymd|{{#var:falldate}}}}|1|{{#iferror:{{#time:Ymd|{{#var:winterdate}}}}|1|{{#ifexpr:{{#var:today}}<{{#time:Ymd|{{#var:winterdate}}}}|2|{{#iferror:{{#time:Ymd|{{#var:regionalsdate}}}}|2|{{#ifexpr:{{#var:today}}<{{#time:Ymd|{{#var:regionalsdate}}}}|3|{{#iferror:{{#time:Ymd|{{#var:nationalsdate}}}}|3|{{#ifexpr:{{#var:today}}<{{#time:Ymd|{{#var:nationalsdate}}}}|4|5}}}}}}}}}}}}}}}}}}<div style="display:flex; flex-direction: row; background: #f9f9f9; padding: 12px; border-radius: 20px; overflow-x: overlay;"> | {{#vardefine:fallpage|{{{fallpage|2022 ACF Fall}}}}}{{#vardefine:winterpage|{{{winterpage|2022 ACF Winter}}}}}{{#vardefine:regionalspage|{{{regionalspage|2023 ACF Regionals}}}}}{{#vardefine:nationalspage|{{{nationalspage|2023 ACF Nationals}}}}}{{#vardefine:falldate|{{{falldate|xx}}}}}{{#vardefine:winterdate|{{{winterdate|xx}}}}}{{#vardefine:regionalsdate|{{{regionalsdate|xx}}}}}{{#vardefine:nationalsdate|{{{nationalsdate|xx}}}}}{{#vardefine:today|{{#time:Ymd}}}}{{#vardefine:acfindex|{{#iferror:{{#time:Ymd|{{#var:falldate}}}}|0|{{#ifexpr:{{#var:today}}<{{#time:Ymd|{{#var:falldate}}}}|1|{{#iferror:{{#time:Ymd|{{#var:winterdate}}}}|1|{{#ifexpr:{{#var:today}}<{{#time:Ymd|{{#var:winterdate}}}}|2|{{#iferror:{{#time:Ymd|{{#var:regionalsdate}}}}|2|{{#ifexpr:{{#var:today}}<{{#time:Ymd|{{#var:regionalsdate}}}}|3|{{#iferror:{{#time:Ymd|{{#var:nationalsdate}}}}|3|{{#ifexpr:{{#var:today}}<{{#time:Ymd|{{#var:nationalsdate}}}}|4|5}}}}}}}}}}}}}}}}}}<div style="display:flex; flex-direction: row; background: #f9f9f9; padding: 12px; border-radius: 20px; overflow-x: overlay;"> | ||
− | {{Tracker kite|style=border-left: 0 !important; border-radius:20px 0 0 20px; flex-grow:0 !important;|parentstyle=flex-grow: 0!important;}} | + | {{Tracker kite|style=border-left: 0 !important; border-radius:20px 0 0 20px; flex-grow:0 !important;|parentstyle=flex-grow: 0!important;|bgcolor=#ffc}} |
− | {{Tracker kite|[[How to start a team|Start | + | {{Tracker kite|'''[[How to start a team|Start<br/>a team]]'''|lines=2|bgcolor=#ffc}} |
− | {{Tracker kite|[[How to run a practice|Run a | + | {{Tracker kite|'''[[How to run a practice|Run a<br/>practice]]'''|lines=2|bgcolor=#fc8}} |
− | {{Tracker kite|[[ | + | {{Tracker kite|'''[[How to study|Study for a<br/>tournament]]'''|lines=2|bgcolor=#f84}} |
− | {{#ifexpr:{{#var:acfindex}}=0|{{Tracker kite|narrow=yes}}}} | + | {{#ifexpr:{{#var:acfindex}}=0|{{Tracker kite|narrow=yes|bgcolor=#f84}}}} |
− | {{Tracker kite|[[{{#var:fallpage}}|ACF Fall]]<br/>{{{falldatetext|{{{falldate|Unannounced}}}}}}|lines=2|light={{#ifexpr:{{#var:acfindex}}<1|y}}|active={{#ifexpr:{{#var:acfindex}}=1|y}}}} | + | {{Tracker kite|'''[[{{#var:fallpage}}|ACF Fall]]'''<br/>{{{falldatetext|{{{falldate|Unannounced}}}}}}|lines=2|light={{#ifexpr:{{#var:acfindex}}<1|y}}|active={{#ifexpr:{{#var:acfindex}}>=1|y}}}} |
{{#ifexpr:{{#var:acfindex}}=1|{{Tracker kite|narrow=yes|active=yes}}}} | {{#ifexpr:{{#var:acfindex}}=1|{{Tracker kite|narrow=yes|active=yes}}}} | ||
− | {{Tracker kite|[[{{#var:winterpage}}|ACF Winter]]<br/>{{{winterdatetext|{{{winterdate|Unannounced}}}}}}|lines=2|light={{#ifexpr:{{#var:acfindex}}<2|y}}|active={{#ifexpr:{{#var:acfindex}}=2|y}}}} | + | {{Tracker kite|'''[[{{#var:winterpage}}|ACF Winter]]'''<br/>{{{winterdatetext|{{{winterdate|Unannounced}}}}}}|lines=2|light={{#ifexpr:{{#var:acfindex}}<2|y}}|active={{#ifexpr:{{#var:acfindex}}>=2|y}}}} |
{{#ifexpr:{{#var:acfindex}}=2|{{Tracker kite|narrow=yes|active=yes}}}} | {{#ifexpr:{{#var:acfindex}}=2|{{Tracker kite|narrow=yes|active=yes}}}} | ||
− | {{Tracker kite|[[{{#var:regionalspage}}|ACF Regionals]]<br/>{{{regionalsdatetext|{{{regionalsdate|Unannounced}}}}}}|lines=2|light={{#ifexpr:{{#var:acfindex}}<3|y}}|active={{#ifexpr:{{#var:acfindex}}=3|y}}}} | + | {{Tracker kite|'''[[{{#var:regionalspage}}|ACF Regionals]]'''<br/>{{{regionalsdatetext|{{{regionalsdate|Unannounced}}}}}}|lines=2|light={{#ifexpr:{{#var:acfindex}}<3|y}}|active={{#ifexpr:{{#var:acfindex}}>=3|y}}}} |
{{#ifexpr:{{#var:acfindex}}=3|{{Tracker kite|narrow=yes|active=yes}}}} | {{#ifexpr:{{#var:acfindex}}=3|{{Tracker kite|narrow=yes|active=yes}}}} | ||
− | {{Tracker kite|[[{{#var:nationalspage}}|ACF Nationals]]<br/>{{{nationalsdatetext|Unannounced}}}|lines=2|light= | + | {{Tracker kite|'''[[{{#var:nationalspage}}|ACF Nationals]]'''<br/>{{{nationalsdatetext|Unannounced}}}|lines=2|light={{#ifexpr:{{#var:acfindex}}<3|y}}|active={{#ifexpr:{{#var:acfindex}}>=4|y}}}} |
− | {{Tracker kite|narrow=yes|light= | + | {{Tracker kite|narrow=yes|light={{#ifexpr:{{#var:acfindex}}<3|y}}|active={{#ifexpr:{{#var:acfindex}}=4|y}}}} |
− | {{Tracker kite|narrow=yes|light= | + | {{Tracker kite|narrow=yes|light={{#ifexpr:{{#var:acfindex}}<3|y}}|active={{#ifexpr:{{#var:acfindex}}=4|y}}}} |
</div><noinclude> | </div><noinclude> | ||
{| class="wikitable" | {| class="wikitable" |
Latest revision as of 11:35, 20 July 2024
Argument | Use |
---|---|
fallpage | Name of page for tournament, e.g. "2022 ACF Fall" |
winterpage | |
regionalspage | |
nationalspage | |
falldate | The first or only day the tournament is held in a "pretty" format, e.g. "October 15, 2022". |
winterdate | |
regionalsdate | |
nationalsdate | |
falldatetext | Optional text indicating the date of the tournament to be displayed if a tournament spans multiple days or is otherwise "not pretty". Can also be used if date is unknown, but that complicates the code for coloring. |
winterdatetext | |
regionalsdatetext | |
nationalsdatetext | Text indicating the range of dates that the tournament is on. Mandatory because Nationals is always multiple days. |