Difference between revisions of "Template:Baseball year"

From blackwiki
Jump to navigation Jump to search
imported>Happy-melon
(use {{documentation}})
imported>Davidgothberg
(Adding comment about categories and interwikis to the /doc page.)
Line 1: Line 1:
 
[[{{{1}}} in baseball|{{{1}}}]]<noinclude>
 
[[{{{1}}} in baseball|{{{1}}}]]<noinclude>
 +
 
{{pp-template|small=yes}}
 
{{pp-template|small=yes}}
{{documentation}}
+
{{Documentation}}
 +
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Revision as of 12:48, 18 April 2008

[[{{{1}}} in baseball|{{{1}}}]]

Template documentation[view] [edit] [history] [purge]

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.

See also