Difference between revisions of "Template:Infobox MLB yearly/doc"

From blackwiki
Jump to navigation Jump to search
imported>777sms
imported>Brianreading
(Updating documentation to coincide with major overhaul of infobox)
Line 7: Line 7:
 
| name = Team Name  
 
| name = Team Name  
 
| image = Relevant seasonal image
 
| image = Relevant seasonal image
| imgwidth = Width of the image
 
| alt = Alternative text for the image
 
 
| caption = Caption for the image
 
| caption = Caption for the image
 
| season = Season Year  
 
| season = Season Year  
| misc =  
+
| misc = Mainly used for championships
 
| current league = <nowiki>[[name of league]]</nowiki>  
 
| current league = <nowiki>[[name of league]]</nowiki>  
 
| y1 = Year team started playing in league  
 
| y1 = Year team started playing in league  
Line 20: Line 18:
 
| city = <nowiki>[[city]]</nowiki>  
 
| city = <nowiki>[[city]]</nowiki>  
 
| y5 = Year team started playing in city  
 
| y5 = Year team started playing in city  
 +
| record = The overall record for the season with percentage
 +
| divisional place = The place in which the team finished within its division
 
| owners = <nowiki>[[Team owner(s)]]</nowiki>
 
| owners = <nowiki>[[Team owner(s)]]</nowiki>
 
| managers = <nowiki>[[Team manager(s)]]</nowiki>
 
| managers = <nowiki>[[Team manager(s)]]</nowiki>
Line 39: Line 39:
 
** If the article is about the franchise's inaugural season, set prev_season to "none". Example: [[1882 Cincinnati Red Stockings season]]
 
** If the article is about the franchise's inaugural season, set prev_season to "none". Example: [[1882 Cincinnati Red Stockings season]]
 
** If the article is about the franchise's final season, then set next_season to "none". Example: [[1915 Baltimore Terrapins season]]
 
** If the article is about the franchise's final season, then set next_season to "none". Example: [[1915 Baltimore Terrapins season]]
 
== Microformat ==
 
{{UF-hcard-org}}
 
 
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Baseball infobox templates|MLB yearly]]
 
[[Category:Baseball infobox templates|MLB yearly]]
 
</includeonly>
 
</includeonly>

Revision as of 05:35, 7 November 2013

Usage

{{Infobox MLB yearly
| name = Team Name 
| image = Relevant seasonal image
| caption = Caption for the image
| season = Season Year 
| misc = Mainly used for championships
| current league = [[name of league]] 
| y1 = Year team started playing in league 
| division = [[name of division]] 
| y2 = Year team started playing in division 
| ballpark = [[ballpark]] 
| y4 = Year team started playing in ballpark 
| city = [[city]] 
| y5 = Year team started playing in city 
| record = The overall record for the season with percentage
| divisional place = The place in which the team finished within its division
| owners = [[Team owner(s)]]
| managers = [[Team manager(s)]]
| general managers = [[General manager(s)]]
| television = [[local television network]]
| radio = [[local radio network]] 
| espntn = three character team abbreviation of team from espn
| brtn = three character team abbreviation from baseball-reference
}}

For the pre-1969 info box, see Template:MLB yearly infobox-pre1969.

For the stats, enter the three character abbreviation from here. Milwaukee would be mil and Minnesota would be min. On the brtn, the name is just the espntn capitalized. You can find the 3 character name from here.

Optional parameters:

  • prev_season, next_season — The template automatically links to the franchise's previous and next seasons, using the team's name to form the name of the appropriate article. There are some cases, however, that have to be handled manually: