Jump to content

Template:Current sport-related/doc

From Wikipedia, the free encyclopedia

Guidelines

[edit]

Do not subst.

  • Note that every article on Wikipedia has a General disclaimer indicating that the article contents may not be accurate. As such, this template is redundant.
  • This template is for articles which involve an article about an evolving current sports-related event which is either changing rapidly or about which understanding is rapidly evolving. This is an advisory to readers that the article may be incomplete and subject to change.
  • As an advisory to editors, it may also be used in those occasions that many editors (perhaps a hundred or more) edit an article on the same day.
  • It is not intended to be used to mark an article that merely has recent news articles about the topic; if it were, thousands of articles would have this template.
  • Generally it is expected that this template and its closely related templates will appear on an article for perhaps a day or two, occasionally several days.
  • If you desire that an article be noticed as a topic about or related to a significant current event, see Wikipedia:How the Current events page works.
Check main (article) namespace links

Usage

[edit]

This template contains 4 optional image parameters:

  • mini, if set "mini=1", creates a smaller version of the template.
  • sport, automatically switches the image to be more specific to replace the football (soccer ball) image. Currently supports: American football, Australian rules football, basketball, baseball, cricket, cycling, golf, hockey, motorsports, netball, Olympics, rugby, tennis, volleyball, boxing, curling, squash, swimming, athletics, lacrosse
  • image, which can switch to an alternate image that is not supported.
  • event, which can change the event to something other than the default sports-related event text.

Images used

[edit]

Examples

[edit]
  • {{current sport-related|sport=tennis|2007 Australian Open}}

  • {{current sport-related|sport=tennis|mini=1|2007 Australian Open}}

  • An optional second link provision ({{{2}}}}) can be used to link from a generic page (New England Patriots [TEAM]) to last year and this year's articles as follows by defining the lead-in text parameter {{{second}}} and {{{2}}}} (which is always nested in square-brackets:

{{current sport-related

|sport=American football

|mini=1

|2007 New England Patriots season

|second=For the 2006 season

|2006 New England Patriots season

}}

Parameters

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Current sport-related in articles based on its TemplateData.

TemplateData for Current sport-related

Indicates that the article refers to a current sports event and provides a link to that event.

Template parameters

ParameterDescriptionTypeStatus
Name of page1

The title of the page describing the current event

Page namerequired
Sportsport

Name of the sport referred to

Lineoptional
Minimise templatemini

Make small version of template (enter 1 to minify)

Numberoptional
Image nameimage

File name of an image not supported by the template

Fileoptional
Second related event2

Title of a page describing another page related to the current event

Page nameoptional
Introduction to second eventsecond

Words to introduce the second event

Lineoptional

See also

[edit]