Difference between revisions of "Template:MLBBioRet/sandbox"
Jump to navigation
Jump to search
imported>Gadget850 (fix) |
imported>Adavidb (Display param) |
||
| Line 1: | Line 1: | ||
| − | < | + | <includeonly>{| style="width: 100px; font-size: 90%; float:{{{Align|left}}}; border: 2px solid #aaa; margin: {{ #switch: {{{Align}}} | right = 0em 0em 0em 1em | center = auto | 0em 1em 0em 0em }};" |
| − | {| style="width: 100px; font-size: 90%; float:{{{Align|left}}}; border: 2px solid #aaa; margin: {{ #switch: {{{Align}}} | right = 0em 0em 0em 1em | center = auto | 0em 1em 0em 0em }};" | ||
|- | |- | ||
| colspan="2" style="text-align: center;" | [[image:{{{Image}}}|95px]] | | colspan="2" style="text-align: center;" | [[image:{{{Image}}}|95px]] | ||
|- | |- | ||
| − | | colspan="2" style="text-align: center;" | {{{Name}}}'s number {{{Number}}} was retired by the [[{{{Team}}}]] in {{{Year}}} | + | | colspan="2" style="text-align: center;" | {{{Name}}}'s number {{{Number}}} was [[List of Major League Baseball retired numbers|retired]] by the [[{{{Team}}}#Retired numbers|{{#if:{{{Display|}}}|{{{Display}}}|{{{Team}}}}}]] in {{{Year}}}. |
| − | |} | + | |}</includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 12:51, 24 November 2011
| This is the template sandbox page for Template:MLBBioRet (diff). See also the companion subpage for test cases. |
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
This infobox shows an image representing the retired number of Major League Baseball player.
Contents
Usage
This infobox may be added by copy-pasting the template as shown below into an article.
{{MLBBioRet
|Align =
|Image =
|Name =
|Number =
|Team =
|Display=
|Year =
|Ref = <!-- <ref></ref> -->
}}Parameters
All parameters must be capitalized.
| Parameter | Explanation |
|---|---|
| Align | left, right or center; defaults to right |
| Image | The full name of the image without markup |
| Name | Name of the player |
| Number | Player's number |
| Team | Name of team Wikipedia article |
| Display | Displayed team name (if different from article name) |
| Year | Year of retirement |
| Ref | A reference supporting the retired number claim. Use <ref>...</ref> tags.
|
Example
{{MLBBioRet
|Image = YankeesRetired3.svg
|Name = Babe Ruth
|Number = 3
|Team = New York Yankees
|Year = 1948
}}| File:YankeesRetired3.svg | |
| Babe Ruth's number 3 was retired by the New York Yankees in 1948. |
See also
| The above documentation is transcluded from Template:MLBBioRet/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |