Difference between revisions of "Template:Baseball year/doc"
Jump to navigation
Jump to search
imported>MZMcBride (rm speedy tag, does not apply) |
imported>Sawol m |
||
| (13 intermediate revisions by 11 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | {{Documentation subpage}} | |
| + | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| − | <includeonly> | + | === Usage === |
| + | Use this template to link to "This year in baseball" articles from a particular year. For example, <code><nowiki>{{Baseball year|1998}}</nowiki></code> or <code><nowiki>{{by|1998}}</nowiki></code> will create the following link: {{Baseball year|1998}}. | ||
| + | |||
| + | There is an optional color param to set the text color: <code><nowiki>{{Baseball year|1998|color=purple}}</nowiki></code> or <code><nowiki>{{by|1998|color=purple}}</nowiki></code> will create the following link: {{Baseball year|1998|color=purple}}. | ||
| + | |||
| + | '''This template should not ordinarily be used in prose text'''. Such use is contrary to [[WP:EGG]], 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 === | ||
| + | |||
| + | <includeonly>{{sandbox other|| | ||
| + | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Baseball templates]] | [[Category:Baseball templates]] | ||
| − | + | }}</includeonly> | |
| − | |||
| − | </includeonly> | ||
Latest revision as of 15:56, 27 November 2017
| This is a documentation subpage for Template:Baseball year. It contains usage information, categories and other content that is not part of the original template page. |
Usage
Use this template to link to "This year in baseball" articles from a particular year. For example, {{Baseball year|1998}} or {{by|1998}} will create the following link: 1998.
There is an optional color param to set the text color: {{Baseball year|1998|color=purple}} or {{by|1998|color=purple}} will create the following link: 1998.
This template should not ordinarily be used in prose text. Such use is contrary to WP:EGG, 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.