Difference between revisions of "Template:Infobox Olympic sport/doc"

From blackwiki
Jump to navigation Jump to search
imported>Ha98574
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{Lua|Module:Infobox|Module:InfoboxImage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
This infobox is used in the articles included in the "'''''Sport'' at the Summer/Winter Olympics'''" series. Briefly, it displays:
 
This infobox is used in the articles included in the "'''''Sport'' at the Summer/Winter Olympics'''" series. Briefly, it displays:
Line 28: Line 29:
 
;otherlinks: optional display of other related links
 
;otherlinks: optional display of other related links
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:Olympics infobox templates]]
 
[[Category:Olympics infobox templates]]
Line 34: Line 35:
 
[[ko:틀:올림픽 경기 종목 정보]]
 
[[ko:틀:올림픽 경기 종목 정보]]
 
[[sv:Mall:Infobox olympisk sport]]
 
[[sv:Mall:Infobox olympisk sport]]
</includeonly>
+
}}</includeonly>

Latest revision as of 20:43, 25 April 2020

This infobox is used in the articles included in the "Sport at the Summer/Winter Olympics" series. Briefly, it displays:

  • a free-licensed unofficial pictogram of the sport (default), or an optional alternative image with description;
  • details about the sport (e.g. international governing body, number of events held at the latest Games);
  • a chronological navigation section, with links to the "Sport at the year Summer/Winter Olympics"-type articles of the Games where the sport was featured;
  • links to the sport's list of medalists and, if available, list of records.

Usage

{{Infobox Olympic sport
| sport       =
| image       =
| size        =
| caption     =
| menevents   =
| womenevents =
| mixedevents =
| otherlinks  =
}}
sport
name of a current or past Olympic sport, written in lowercase letters and unlinked
image
link to an alternative image (e.g. "Image.xxx" in "File:Image.xxx")
size
size of alternative image (e.g. 200px); this parameter is only active if image is defined
caption
brief description of the alternative image; this parameter is only active if image is defined
menevents
number of events exclusive for men
womenevents
number of events exclusive for women
mixedevents
number of events where both genders can compete simultaneously
otherlinks
optional display of other related links