“模板:Current sport”的版本间的差异

wikilife>Zzyzx11
→‎top copying note added to Template:Current that "updates without valid and reliable references will be removed"
 
Ph9讨论 | 贡献
(导入1个版本)
 
(没有差异)

2020年12月27日 (日) 14:56的最新版本

{{#ifeq:|left|}}

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

{{#ifeq:current sport |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:模板:Current sport
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

Guidelines编辑

Do not subst.

  • 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.
  • 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.
  • 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, or for some team or league that is in season; if it were, thousands of articles would have this template, without informational consequence.
  • 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

Matches in progress编辑

If most of the rapid editing just involves updating the scores in real time while the match is in progress, an alternative is to merely tag the article's box score template or table with {{Match in progress}} instead.

Usage编辑

This template contains 3 optional parameters:

  • sport, automatically switches the image to be more specific to replace the football (soccer ball) image. Currently supports: American football, athletics, Australian rules football, baseball, basketball, boxing, cricket, cue sports, curling, cycling, golf, gymnastics, hockey, lacrosse, motorsports, netball, Olympics, poker, pro wrestling, rugby, soccer, softball, speed skating, squash, swimming, table tennis, tennis, volleyball
  • 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.

For example, the following code:

{{current sport|sport=tennis|event=tennis tournament}}

results in this:

{{#ifeq:|left|}}

To indicate a current sport section; fill the first parameter with "section"

{{current sport|section}}
{{#ifeq:|left|}}

Images used编辑

See also编辑

{{#if:{{#ifeq:Current|sandbox|1}}{{#ifeq:Current sport|doc|1}}|| }}