الگو:MLB Year
ظاهر
[[{{{1}}} Major League Baseball season|{{{1}}}]]
Usage
[ویرایش]Use this template to link to لیگ برتر بیسبال آمریکا season articles from a particular year. For example, {{MLB Year|1998|disp=full}}
will create the following link: 1998 Major League Baseball season.
Parameter | Required? | Usage |
---|---|---|
1 (first parameter) |
آری | The year corresponding to a Major League Baseball season |
disp |
اختیاری | Sets display options. Use disp=full to link the full page title (e.g. 1998 Major League Baseball season), disp=abbr to abbreviate the link with "MLB" (e.g. 1998 MLB season) or, in contexts where it has already been indicated that Major League Baseball is the subject, use disp=seas to omit "MLB" (e.g. 1998 season). If this parameter is omitted, only the year will be linked (e.g. 1998).
|
This template should not ordinarily be used in prose text when piped only to show a year. Such use is contrary to ویکیپدیا:شیوهنامه/پیونددهی, and is likely to confuse readers. Instead, limit its use to tables, infoboxes, navboxes, and similar uses, where it is clear from the context that the link is to a particular year in baseball.
See also
[ویرایش]- {{Baseball Year}}