Skip to content

lorentzengineering/FTC-Embeds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

FTC-Embeds

A IFrame library anyone can use to display FTC Stats for any team/competition

!! Beta !!

Some features are in beta, to use beta features, use beta.lorentzengineering.nl instead of lorentzengineering.nl

Usage

To use it simply add the following to your HTML

<iframe src="https://lorentzengineering.nl/iframes/<iframe>?option=value&secondOption=value"></iframe>

Iframes

Rankings

The rankings ellement will show a list of all teams in a event and the current ranking, when a team has driven more matches thant the average a warning sign will apear in front of it.
To display the rankings of a competition use the following:

<iframe src="https://lorentzengineering.nl/iframes/rankings"></iframe>

Options

Option Description Default
event The event to display 2223-NLD-NLMD
highlightTeam The team to highlight 19444
highlightColor The background color for the highlighted team 4c51bf
backgroundColorEven The background color when the row is even 1a202c
backgroundColorOdd The background color when the row is odd 1f2937
textColor The text color ffffff
headerColor The header color 111827
autoScrollToTeam If the page should scroll to the highlighted team true
autoScrollTeamsAmount The amount of teams above the highlighted team 4

More comming soon

Features planned (not in order):

  • Rankings
  • Url Generator
  • Matches
  • Awards
  • Team information

Generator

For a generator go to: https://lorentzengineering.nl/iframes/generator

About

A IFrame library anyone can use to display FTC Stats for any team/competition

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •