Template:NBA color

From Simple English Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]
Team 1 2 3 4
Atlanta Hawks
Boston Celtics
Brooklyn Nets
Charlotte Bobcats
Chicago Bulls
Cleveland Cavaliers
Dallas Mavericks
Denver Nuggets
Detroit Pistons
Golden State Warriors
Houston Rockets
Indiana Pacers
Los Angeles Clippers
Los Angeles Lakers
Memphis Grizzlies
Miami Heat
Milwaukee Bucks
Minnesota Timberwolves
New Orleans Hornets
New York Knicks
Oklahoma City Thunder
Orlando Magic
Philadelphia 76ers
Phoenix Suns
Portland Trail Blazers
Sacramento Kings
San Antonio Spurs
Toronto Raptors
Utah Jazz
Washington Wizards
Eastern Conference
Western Conference
United States National Basketball Team

Usage[change source]

{{NBA color|team name|number}}

{{NBA color cell|team name}} returns a style that uses the primary color for the background and the secondary color for the font.

{{NBA color cell2|team name}} returns a similar style but uses the tertiary and quaternary colors instead of the primary and secondary, respectively.

Examples[change source]

<span style="color: #{{NBA color|Toronto Raptors|1}};">Lorem ipsum</span>

Lorem ipsum

<span style="{{NBA color cell|Toronto Raptors}}">Lorem ipsum</span>

Lorem ipsum

<span style="{{NBA color cell2|Toronto Raptors}}">Lorem ipsum</span>

Lorem ipsum