Difference between revisions of "Template:Baseball year/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
(Adjusted capitalization to reflect current template name. Used live template instead of substituted text in one example.)
imported>Sawol
m
 
Line 11: Line 11:
 
=== See also ===
 
=== See also ===
  
 
+
<includeonly>{{sandbox other||
<includeonly>
 
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Baseball templates|{{PAGENAME}}]]
+
[[Category:Baseball templates]]
 
+
}}</includeonly>
</includeonly>
 

Latest revision as of 15:56, 27 November 2017

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