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;}} | + | {{Tracker kite|style=border-left: 0 !important; border-radius:20px 0 0 20px; flex-grow:0 !important;|parentstyle=flex-grow: 0!important;}} |
{{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}} | ||
{{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}} |
Revision as of 08:32, 11 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. 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. |