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

From blackwiki
Jump to navigation Jump to search
imported>DixonDBot
m (Migrating 2 interwiki links, now provided by Wikidata on d:Q6712275)
imported>Enterprisey
(Made code snippets code)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
Use this template to link to "This year in baseball" articles from a particular year. For example, <nowiki>{{Baseball Year|1998}}</nowiki> or <nowiki>{{BY|1998}}</nowiki> will create the following link: [[1998 in baseball|1998]].
+
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: [[1998 in baseball|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.
 
'''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.

Revision as of 01:46, 5 January 2014

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.

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