Template talk:OlympicYearHeader

Latest comment: 3 days ago by Jroberson108 in topic Sticky header

Parameters:

  • header - This is the text that appears in the far-left column. Will usually be "Event" or "Nation", I think.
  • sport - Which sport the table is for. This is essential, as it is used to check for articles and create links.
edit

The "sticky-header" class should not be in this template's list of classes since it requires transcluding {{sticky header}} for it to work. Because it is there, I cannot switch a table to using {{sticky table start}} without issue because other tables above it use {{sticky header}}. If someone want's to add it, they can do so with the template's class parameter. I suggest documenting the parameters too. Jroberson108 (talk) 19:28, 2 August 2024 (UTC)Reply

I removed it and also fixed the class parameter so you can add more. Jroberson108 (talk) 22:40, 2 August 2024 (UTC)Reply