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

From blackwiki
Jump to navigation Jump to search
imported>Parutakupiu
(create doc)
 
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(6 intermediate revisions by 4 users 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:
 +
* 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);
 
* 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;
 
* 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;
Line 9: Line 11:
 
<pre>{{Infobox Olympic sport
 
<pre>{{Infobox Olympic sport
 
| sport      =
 
| sport      =
 +
| image      =
 +
| size        =
 +
| caption    =
 
| menevents  =
 
| menevents  =
 
| womenevents =
 
| womenevents =
 
| mixedevents =
 
| mixedevents =
 +
| otherlinks  =
 
}}</pre>
 
}}</pre>
  
 
;sport: name of a current or past Olympic sport, written in ''lowercase'' letters and unlinked
 
;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 <code>image</code> is defined
 +
;caption: brief description of the alternative image; this parameter is only active if <code>image</code> is defined
 
;menevents: number of events exclusive for men
 
;menevents: number of events exclusive for men
 
;womenevents: number of events exclusive for women
 
;womenevents: number of events exclusive for women
 
;mixedevents: number of events where both genders can compete simultaneously
 
;mixedevents: number of events where both genders can compete simultaneously
 +
;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]]
</includeonly>
+
 
 +
[[ko:틀:올림픽 경기 종목 정보]]
 +
[[sv:Mall:Infobox olympisk sport]]
 +
}}</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