Difference between revisions of "Template:Baseball primary color"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(per request)
imported>Frietjes
(now merged as Module:Baseball color with data merged into Module:Baseball color/data, avoids the 4 color templates being out-of-sync, and improves efficiency by allowing the loading colors once, rather than 4 times in infobox MLB player)
Line 1: Line 1:
{{#switch: {{{1}}}
+
background: #{{#invoke:Baseball color|color|{{{1}}}|1}}<noinclude>
| Acereros de Monclova = background: #4f80bd
 
| Adelaide Bite = background: #00295B
 
| Arizona Diamondbacks = background: #A71930
 
| Atlanta Braves = background: #0F437C
 
| Baltimore Orioles = background: #D15809
 
| Beijing Tigers = background: #000000
 
| Boston Red Sox = background: #BA313C
 
| Brisbane Bandits = background: #000000
 
| Broncos de Reynosa = background: #087c58
 
| Brother Elephants = background: #FFD000
 
| Canberra Cavalry = background: #FF7721
 
| Chiba Lotte Marines = background: #000000
 
| Chicago Cubs = background: #0E3386
 
| Chicago White Sox = background: black
 
| Chunichi Dragons = background: #000099
 
| Cincinnati Reds = background: #C6011F
 
| Cleveland Indians = background: #CC0000
 
| Colorado Rockies = background: #333366
 
| Delfines de Ciudad del Carmen = background: #243c6f
 
| Detroit Tigers = background: #003366
 
| Diablos Rojos del México = background: #b9192f
 
| dmedia T-REX = background: #f00014
 
| Doosan Bears = background: #000080
 
| Florida Marlins = background: #249EA3
 
| Fukuoka SoftBank Hawks = background: #000000
 
| Guangdong Leopards = background: #191970
 
| Guerreros de Oaxaca = background: #d71f27
 
| Hanshin Tigers = background: #ffff00
 
| Hanwha Eagles = background: #ff6600
 
| Hiroshima Toyo Carp = background: #ff0000
 
| Hokkaido Nippon Ham Fighters = background: #006699
 
| Houston Astros = background: #072854
 
| Jiangsu Hopestars = background: #FFA500
 
| Kansas City Royals = background: #181EA5
 
| Kia Tigers = background: #ff0000
 
| KT Wiz = background: #000000
 
| Lamigo Monkeys = background: #008080
 
| Leones de Yucatán = background: #03451a
 
| LG Twins = background: #000000
 
| Los Angeles Angels of Anaheim = background: #BA0021
 
| Los Angeles Dodgers = background: #083C6B
 
| Lotte Giants = background: #000000
 
| Melbourne Aces = background: #AA2506
 
| Miami Marlins = background: #000000
 
| Milwaukee Brewers = background: #042462
 
| Minnesota Twins = background: #051C43
 
| NC Dinos = background: #315288
 
| New York Mets = background: #003581
 
| New York Yankees = background: #132448
 
| Nexen Heroes = background:#990000
 
| Oakland Athletics = background: #00483A
 
| Olmecas de Tabasco = background: #023928
 
| Orix Buffaloes = background: #000066
 
| Pericos de Puebla = background: #0a7c48
 
| Perth Heat = background: #B41502
 
| Petroleros de Minatitlán = background: #960707
 
| Philadelphia Phillies = background: #E81828
 
| Piratas de Campeche = background: #04204c
 
| Pittsburgh Pirates = background: black
 
| Rieleros de Aguascalientes = background: #1f3f5d
 
| Rojos del Águila de Veracruz = background: #c7161c
 
| Saitama Seibu Lions = background: #143D69
 
| Samsung Lions = background: #0066B3
 
| San Diego Padres =  background: #1C3465
 
| San Francisco Giants = background: black
 
| Saraperos de Saltillo = background: #000000
 
| Seattle Mariners = background: #0C2C56
 
| Shanghai Golden Eagles = background: #ED1C24
 
| Sichuan Dragons = background: #8B52A1
 
| EDA Rhinos = background: Green
 
| St. Louis Cardinals = background: #C41E3A
 
| SK Wyverns = background: #ff0000
 
| Sultanes de Monterrey = background: #032952
 
| Sydney Blue Sox = background: #56A0D3
 
| Tampa Bay Rays = background: #092C5C
 
| Texas Rangers = background: #003279
 
| Tianjin Lions = background: #008000
 
| Tigres de Quintana Roo = background: #0e034f
 
| Tohoku Rakuten Golden Eagles = background: #990000
 
| Tokyo Yakult Swallows = background: #000099
 
| Toronto Blue Jays = background: #003DA5
 
| Uni-President Lions = background: #004400
 
| Uni-President 7-Eleven Lions = background: #004400
 
| Vaqueros Laguna = background: #db6535
 
| Washington Nationals = background: #BA122B
 
| Yokohama BayStars | Yokohama DeNA BayStars = background: #0064c8
 
| Yomiuri Giants = background: #ff9933
 
| #default = background: #dcdcdc
 
}}<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 14:31, 5 April 2015

background: #Script error: No such module "Baseball color".

50px Template documentation[view] [edit] [history] [purge]

This template is designed to be used with templates to automatically fill the primary color used by each respective team in Major League Baseball and other professional leagues. It can be used in conjunction with Template:Baseball secondary color.

Usage

{{Baseball primary color|TEAMNAME}}

For example:

{{Baseball primary color|Arizona Diamondbacks}}
{{Baseball primary color|Miami Marlins}}

Supported teams

See also