Difference between revisions of "Template:Infobox MLB All-Star Game/doc"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
imported>Frietjes
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
Example:
+
== Usage ==
 +
<pre style="overflow:auto">
 +
{{Infobox MLB All-Star Game
 +
| image = [[file:example.jpg]]
 +
| year = 2007
 +
| visitor = National
 +
| top1 = 0
 +
| top2 = 0
 +
| top3 = 0
 +
| top4 = 0
 +
| top5 = 0
 +
| top6 = 0
 +
| top7 = 2
 +
| top8 = 0
 +
| top9 = 1
 +
| visitor_r = 6
 +
| visitor_h = 17
 +
| visitor_e = 0
 +
| home = American
 +
| bot1 = 1
 +
| bot2 = 0
 +
| bot3 = 0
 +
| bot4 = 0
 +
| bot5 = 0
 +
| bot6 = 0
 +
| bot7 = 2
 +
| bot8 = 0
 +
| bot9 = 1
 +
| home_r = 8
 +
| home_h = 11
 +
| home_e = 1
 +
| date = June 28, 2007
 +
| venue = Metrodome
 +
| city = Minneapolis
 +
| VisitorManager = Lou Piniella
 +
| VisitorManagerTeam = [[Chicago Cubs|CHI]]
 +
| HomeManager = Ron Gardenhire
 +
| HomeManagerTeam = [[Minnesota Twins|MIN]]
 +
| MVP = Justin Morneau
 +
| MVPTeam = [[Minnesota Twins|MIN]]
 +
| TVstation = FOX
 +
| TVcommentators = Jack Buck, Tim McCarver
 +
| attendance = 20,000
 +
| firstpitch = Tony Gwynn
 +
}}</pre>
 +
== Basic example ==
 
<pre>
 
<pre>
 
{{Infobox MLB All-Star Game
 
{{Infobox MLB All-Star Game
Line 53: Line 98:
 
}}
 
}}
 
</pre>
 
</pre>
Example for years with two games:
+
== Example for years with two games ==
 
<pre>
 
<pre>
 
{{Infobox MLB All-Star Game
 
{{Infobox MLB All-Star Game
Line 97: Line 142:
 
| radio_announcers = [[Bob Neal (Cleveland sportscaster)|Bob Neal]] and [[Russ Hodges]]
 
| radio_announcers = [[Bob Neal (Cleveland sportscaster)|Bob Neal]] and [[Russ Hodges]]
 
| attendance = 55,105
 
| attendance = 55,105
| firstpitch = none
+
| firstpitch =  
 
| previous = [[1959 Major League Baseball All-Star Game (first game)|1959 (first game)]]
 
| previous = [[1959 Major League Baseball All-Star Game (first game)|1959 (first game)]]
 
| next = [[1960 Major League Baseball All-Star Game (first game)|1960 (first game)]]
 
| next = [[1960 Major League Baseball All-Star Game (first game)|1960 (first game)]]
 
}}
 
}}
 
</pre>
 
</pre>
 +
 
<includeonly>
 
<includeonly>
 
[[Category:Baseball infobox templates|MLB All-Star Game]]
 
[[Category:Baseball infobox templates|MLB All-Star Game]]

Revision as of 20:25, 5 December 2012

Usage

{{Infobox MLB All-Star Game
| image = [[file:example.jpg]]
| year = 2007
| visitor = National
| top1 = 0
| top2 = 0
| top3 = 0
| top4 = 0
| top5 = 0
| top6 = 0
| top7 = 2
| top8 = 0
| top9 = 1
| visitor_r = 6
| visitor_h = 17
| visitor_e = 0
| home = American
| bot1 = 1
| bot2 = 0
| bot3 = 0
| bot4 = 0
| bot5 = 0
| bot6 = 0
| bot7 = 2
| bot8 = 0
| bot9 = 1
| home_r = 8
| home_h = 11
| home_e = 1
| date = June 28, 2007
| venue = Metrodome
| city = Minneapolis
| VisitorManager = Lou Piniella
| VisitorManagerTeam = [[Chicago Cubs|CHI]]
| HomeManager = Ron Gardenhire
| HomeManagerTeam = [[Minnesota Twins|MIN]]
| MVP = Justin Morneau
| MVPTeam = [[Minnesota Twins|MIN]]
| TVstation = FOX
| TVcommentators = Jack Buck, Tim McCarver
| attendance = 20,000
| firstpitch = Tony Gwynn
}}

Basic example

{{Infobox MLB All-Star Game
| image = [[file:example.jpg]]
| year = 2007
| visitor = National
| top1 = 0
| top2 = 0
| top3 = 0
| top4 = 0
| top5 = 0
| top6 = 0
| top7 = 2
| top8 = 0
| top9 = 1
| top10 = 1
| top11 = 1
| top12 = 1
| visitor_r = 6
| visitor_h = 17
| visitor_e = 0
| home = American
| bot1 = 1
| bot2 = 0
| bot3 = 0
| bot4 = 0
| bot5 = 0
| bot6 = 0
| bot7 = 2
| bot8 = 0
| bot9 = 1
| bot10 = 1
| bot11 = 1
| bot12 = 2
| home_r = 8
| home_h = 11
| home_e = 1
| date = June 28, 2007
| venue = Metrodome
| city = Minneapolis
| VisitorManager = Lou Piniella
| VisitorManagerTeam = [[Chicago Cubs|CHI]]
| HomeManager = Ron Gardenhire
| HomeManagerTeam = [[Minnesota Twins|MIN]]
| MVP = Justin Morneau
| MVPTeam = [[Minnesota Twins|MIN]]
| TVstation = FOX
| TVcommentators = Jack Buck, Tim McCarver
| attendance = 20,000
| firstpitch = Tony Gwynn
}}

Example for years with two games

{{Infobox MLB All-Star Game
| image = [[File:1959MLBAllStarGame2.png|175px]]
| year = 1959
| name = 1959 Major League Baseball All-Star Game (second game)
| visitor = '''[[American League]]'''
| top1 = 0
| top2 = 1
| top3 = 2
| top4 = 0
| top5 = 0
| top6 = 0
| top7 = 1
| top8 = 1
| top9 = 0
| visitor_r = 5
| visitor_h = 6
| visitor_e = 0
| home = [[National League]]
| bot1 = 1
| bot2 = 0
| bot3 = 0
| bot4 = 0
| bot5 = 1
| bot6 = 0
| bot7 = 1
| bot8 = 0
| bot9 = 0
| home_r = 3
| home_h = 6
| home_e = 3
| date = August 3, 1959
| venue = [[Los Angeles Memorial Coliseum]]
| city = [[Los Angeles]], [[California]]
| VisitorManager = [[Casey Stengel]]
| VisitorManagerTeam = [[New York Yankees|NYY]]
| HomeManager = [[Fred Haney]]
| HomeManagerTeam = [[Atlanta Braves|MIL]]
| television = [[Major League Baseball on NBC|NBC]]
| tv_announcers = [[Mel Allen]] and [[Vin Scully]]
| radio = [[Major League Baseball on NBC Radio|NBC]]
| radio_announcers = [[Bob Neal (Cleveland sportscaster)|Bob Neal]] and [[Russ Hodges]]
| attendance = 55,105
| firstpitch = 
| previous = [[1959 Major League Baseball All-Star Game (first game)|1959 (first game)]]
| next = [[1960 Major League Baseball All-Star Game (first game)|1960 (first game)]]
}}