Difference between revisions of "Template:MLBBioRet"

From blackwiki
Jump to navigation Jump to search
imported>Adavidb
(added conditional Display to cover when an alternate name for the Team is wanted)
imported>Muboshgu
(defaulting to right)
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 }};"
+
<includeonly>{| style="width: 100px; font-size: 90%; float:{{{Align|right}}}; 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]]

Revision as of 14:43, 14 February 2014

This infobox shows an image representing the retired number of Major League Baseball player.

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
}}
95px
Babe Ruth's number 3 was retired by the New York Yankees in 1948.

See also