Difference between revisions of "Template:Baseball alternative 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}}}|3}}<noinclude>
| Arizona Diamondbacks = background: black
 
| Atlanta Braves = background: #AF0039
 
| Baltimore Orioles = background: black
 
| Boston Red Sox = background: #0D2B56
 
| Chicago Cubs = background: #D82427
 
| Chicago White Sox = background: silver
 
| Cincinnati Reds = background: black
 
| Cleveland Indians = background: #023465
 
| Colorado Rockies = background: black
 
| Detroit Tigers = background: #BD5D29
 
| Houston Astros = background: #FF7F00
 
| Kansas City Royals = background: #000572
 
| Los Angeles Angels of Anaheim = background: #0F437C
 
| Los Angeles Dodgers = background: #083C6B
 
| Miami Marlins = background: #007BB2
 
| Milwaukee Brewers = background: #B6922E
 
| Minnesota Twins = background: #C6011F
 
| New York Mets = background: #F47937
 
| New York Yankees = background: #C0C0C0
 
| Oakland Athletics = background: #00483A
 
| Philadelphia Phillies = background: #294898
 
| Pittsburgh Pirates = background: #FFB40B
 
| San Diego Padres = background: #CCC59B
 
| San Francisco Giants = background: #FD5A1E
 
| Seattle Mariners = background: #005C5C
 
| St. Louis Cardinals = background: #04437D
 
| Tampa Bay Rays = background: #092C5C
 
| Texas Rangers = background: #BD1021
 
| Toronto Blue Jays = background: #041E42
 
| Washington Nationals = background: #11225B
 
| Chunichi Dragons = background: #000066
 
| Hanshin Tigers = background: #000000
 
| Yomiuri Giants = background: #000000
 
| Yokohama BayStars | Yokohama DeNA BayStars = background: #303550
 
| Tokyo Yakult Swallows = background: #ff0000
 
| Hiroshima Toyo Carp = background: #cc0000
 
| Hokkaido Nippon Ham Fighters = background: #999900
 
| Tohoku Rakuten Golden Eagles = background: #660000
 
| Saitama Seibu Lions = background: #BB0119
 
| Chiba Lotte Marines = background: #666666
 
| Orix Buffaloes = background: #ffcc00
 
| Fukuoka SoftBank Hawks = background: #ffcc00
 
| Doosan Bears= background: #ffff00
 
| LG Twins = background: #ff0000
 
| Kia Tigers = background: #000000
 
| KT Wiz = background: #EC1C24
 
| Samsung Lions = background: #c0c0c0
 
| NC Dinos = background: #AF917B
 
| Nexen Heroes = background:#ffcc00
 
| Lotte Giants = background: #ff6600
 
| Hanwha Eagles = background: #000000
 
| SK Wyverns = background: #ff6600
 
| Uni-President Lions = background: #FFA500
 
| Uni-President 7-Eleven Lions = background: #FFA500
 
| EDA Rhinos = background: Gray
 
| Lamigo Monkeys = background: #008080
 
| dmedia T-REX = background: #000000
 
| Brother Elephants = background: #000000
 
| Beijing Tigers = background: #000000
 
| Tianjin Lions = background: #BDBDB7
 
| Sichuan Dragons = background: #8B52A1
 
| Guangdong Leopards = background: #191970
 
| Jiangsu Hopestars = background: #FFA500
 
| Shanghai Golden Eagles = background: #ED1C24
 
| Adelaide Bite = background: #D21044
 
| Brisbane Bandits = background: #950500
 
| Canberra Cavalry = background: #000000
 
| Melbourne Aces = background: #110E3D
 
| Perth Heat = background: #000000
 
| Sydney Blue Sox = background: #000000
 
| background: #dcdcdc
 
}}<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 14:31, 5 April 2015

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

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

Usage

This template can be used to automatically fill the primary color used by each respective team in Major League Baseball, Nippon Professional Baseball, Korea Baseball Championship, Chinese Professional Baseball League, China Baseball League and Australian Baseball League. It can be used in conjunction with Template:Baseball alternative secondary color.

See also