Template:Infobox MLB yearly: Difference between revisions
m Unprotected Template:MLB yearly infobox: Unprotection, Consensus at ANI appears to be that original protection level should be restored. using TW |
Spanneraol (talk | contribs) test |
||
Line 42: | Line 42: | ||
{{!}} width="135px" {{!}} [http://sports.espn.go.com/mlb/Statistics/Team/playerstats?team={{{espntn}}}&seasonYear={{{season}}}&seasonType=2&pagetype=batting ESPN.com]}} |
{{!}} width="135px" {{!}} [http://sports.espn.go.com/mlb/Statistics/Team/playerstats?team={{{espntn}}}&seasonYear={{{season}}}&seasonType=2&pagetype=batting ESPN.com]}} |
||
{{#if:{{{brtn<includeonly>|</includeonly>}}} | [http://www.baseball-reference.com/teams/{{{brtn}}}/{{{season}}}.shtml BB-reference]}} |
{{#if:{{{brtn<includeonly>|</includeonly>}}} | [http://www.baseball-reference.com/teams/{{{brtn}}}/{{{season}}}.shtml BB-reference]}} |
||
|- |
|||
| colspan="3" style="background:lightyellow;text-align:center;padding-top:0.75em;padding-bottom:0.75em;" | '''{{#ifeq: {{{prev_season}}}|none||{{#if:{{{prev_season<includeonly>|</includeonly>}}}|[[{{{prev_season}}}{{!}}Previous season]]|[[{{#expr:{{{season}}}-1}} {{{name}}} season{{!}}Previous season]]}}}} {{#ifeq: {{{next_season}}}|none||{{#if:{{{next_season<includeonly>|</includeonly>}}}|[[{{{next_season}}}{{!}}Next season]]|[[{{#expr:{{{season}}}+1}} {{{name}}} season{{!}}Next season]]}}}}''' |
|||
|}<noinclude>{{documentation}}</noinclude> |
|}<noinclude>{{documentation}}</noinclude> |
Revision as of 14:55, 6 December 2010
[[{{{season}}} Major League Baseball season|{{{season}}}]] {{{name}}} {{{misc}}} | ||
[[Image:{{{image}}}|{{{imgwidth}}}px|alt={{{alt}}}]] {{{caption}}} |
||
---|---|---|
Major league affiliations | ||
| ||
Location | ||
| ||
{{{season}}} information | ||
Owner(s) | {{{owners}}} | |
General manager(s) | {{{general managers}}} | |
Manager(s) | {{{managers}}} | |
Local television | {{{television}}} | |
Local radio | {{{radio}}} | |
Stats | ESPN.com | |
[[{{{prev_season}}}|Previous season]] [[{{{next_season}}}|Next season]] |
This template uses Lua: |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
Usage
{{Infobox MLB yearly
|name =
|image =
|image_size =
|caption =
|season =
|misc =
|league =
|division =
|ballpark =
|city =
|record =
|divisional_place =
|league_place =
|owner = <!-- or |owners = -->
|president =
|presbo =
|general_manager = <!-- or |general_managers = -->
|manager = <!-- or |managers = -->
|television =
|radio =
|espntn =
|brtn =
}}
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:
- If the team moved or its name changed, then set prev_season / next_season to the name of the article for the corresponding season. Examples: 2004 Montreal Expos season, 2005 Washington Nationals 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
TemplateData
TemplateData for Infobox MLB yearly
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No description.
|