Difference between revisions of "Template:Getting started tracker"
Jump to navigation
Jump to search
Kevin Wang (talk | contribs) m |
Kevin Wang (talk | contribs) m |
||
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=#fcc}} |
− | {{Tracker kite|[[How to start a team|Start]]<br/>[[How to start a team|a team]]|lines=2}} | + | {{Tracker kite|'''[[How to start a team|Start]]<br/>[[How to start a team|a team]]'''|lines=2|bgcolor=#fcc}} |
− | {{Tracker kite|[[How to run a practice|Run a]]<br/>[[How to run a practice|practice]]|lines=2}} | + | {{Tracker kite|'''[[How to run a practice|Run a]]<br/>[[How to run a practice|practice]]'''|lines=2|bgcolor=#f88}} |
− | {{Tracker kite|[[Studying|Study for a]]<br/>[[Studying|tournament]]|lines=2}} | + | {{Tracker kite|'''[[Studying|Study for a]]<br/>[[Studying|tournament]]'''|lines=2|bgcolor=#f44}} |
− | {{#ifexpr:{{#var:acfindex}}=0|{{Tracker kite|narrow=yes}}}} | + | {{#ifexpr:{{#var:acfindex}}=0|{{Tracker kite|narrow=yes|bgcolor=#f33}}}} |
− | {{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=yes}} | + | {{Tracker kite|'''[[{{#var:nationalspage}}|ACF Nationals]]'''<br/>{{{nationalsdatetext|Unannounced}}}|lines=2|light=yes}} |
{{Tracker kite|narrow=yes|light=yes}} | {{Tracker kite|narrow=yes|light=yes}} | ||
{{Tracker kite|narrow=yes|light=yes}} | {{Tracker kite|narrow=yes|light=yes}} |
Revision as of 21:01, 12 September 2022
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. |