Template:Current sport-related/doc

Revision as of 02:42, 25 October 2018 by TransportLayer (talk | contribs) (1 revision imported: Wikipedia Article Message Templates 181-190)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Guidelines

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

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

Examples

  • {{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

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

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