Difference between revisions of "Template:MLBBioRet/doc"
Jump to navigation
Jump to search
(→Usage) |
imported>Jonesey95 (ref) |
||
| (6 intermediate revisions by 6 users not shown) | |||
| Line 4: | Line 4: | ||
This infobox shows an image representing the retired number of Major League Baseball player. | 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. | |
| − | + | ||
| + | <div style="width:250px; background:#ddd; border:1px solid black; padding:0.5em 1em 0.5em 1em;"> | ||
| + | <pre>{{MLBBioRet | ||
| + | |Align = | ||
| + | |Image = | ||
| + | |Name = | ||
| + | |Number = | ||
| + | |Team = | ||
| + | |Display= | ||
| + | |Year = | ||
| + | |Ref = <!-- <ref></ref> --> | ||
| + | }}</pre></div> | ||
=== Parameters === | === Parameters === | ||
| Line 14: | Line 25: | ||
!style="width:140px; text-align:left;"| Parameter | !style="width:140px; text-align:left;"| Parameter | ||
!style="text-align:left;"| Explanation | !style="text-align:left;"| Explanation | ||
| − | |- | + | |- |
| '''''Align''''' | | '''''Align''''' | ||
| − | | left, right or center; defaults to | + | | left, right or center; defaults to right |
| − | |- | + | |- |
| '''''Image''''' | | '''''Image''''' | ||
| The full name of the image without markup | | The full name of the image without markup | ||
| − | |- | + | |- |
| '''''Name''''' | | '''''Name''''' | ||
| Name of the player | | Name of the player | ||
| Line 28: | Line 39: | ||
|- | |- | ||
| '''''Team''''' | | '''''Team''''' | ||
| − | | | + | | Name of team Wikipedia article |
| + | |- | ||
| + | | '''''Display''''' | ||
| + | | Displayed team name (if different from article name) | ||
|- | |- | ||
| '''''Year ''''' | | '''''Year ''''' | ||
| Year of retirement | | Year of retirement | ||
| + | |- | ||
| + | | '''''Ref ''''' | ||
| + | | A reference supporting the retired number claim. Use {{tag|ref}} tags. | ||
|} | |} | ||
| Line 38: | Line 55: | ||
<pre>{{MLBBioRet | <pre>{{MLBBioRet | ||
|Image = YankeesRetired3.svg | |Image = YankeesRetired3.svg | ||
| − | |Name = Babe Ruth | + | |Name = Babe Ruth |
|Number = 3 | |Number = 3 | ||
|Team = New York Yankees | |Team = New York Yankees | ||
| Line 46: | Line 63: | ||
{{MLBBioRet | {{MLBBioRet | ||
|Image = YankeesRetired3.svg | |Image = YankeesRetired3.svg | ||
| − | |Name = Babe Ruth | + | |Name = Babe Ruth |
|Number = 3 | |Number = 3 | ||
|Team = New York Yankees | |Team = New York Yankees | ||
| Line 55: | Line 72: | ||
=== See also === | === See also === | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Baseball player infobox templates]] | [[Category:Baseball player infobox templates]] | ||
| − | </includeonly> | + | }}</includeonly> |
Latest revision as of 01:39, 20 December 2020
| This is a documentation subpage for Template:MLBBioRet. It contains usage information, categories and other content that is not part of the original template page. |
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
}}| Babe Ruth's number 3 was retired by the New York Yankees in 1948. |