模板:Swimmingrecordlegend/doc

Usage

This template provides a legend to abbreviations used in List of ____ records in swimming articles; World record progression articles; and Personal bests sections in the biography articles of international competitive swimmers.

{{Swimmingrecordlegend
|ratifier=
|WR=
|IPCWR=
|AF=
|AM=
|AS=
|ER=
|OC=
|CR=
|NR=
|nation=
|yd=
|code1=
|legend1=
|code2=
|legend2=
|code3=
|legend3=
|code4=
|legend4=
|sf=
|r=
|rh=
|b=
|†=
|tt=
}}

The following table indicates which fields are displayed by default and how to turn on/off the optional fields.

Field Description Required/Optional? Not defined
or
Defined and blank
Defined and NOT blank
ratifier Ratifier of record / governing body Optional ☒N N/A
WR World record Optional ☒N checkY
IPCWR IPC World record Optional ☒N checkY
AF African record Optional ☒N checkY
AM Americas record Optional ☒N checkY
AS Asian record Optional ☒N checkY
ER European record Optional ☒N checkY
OC Oceania record Optional ☒N checkY
CR Commonwealth record Optional ☒N checkY
NR National record Optional ☒N checkY
nation National record - Nation Required if NR is defined and not blank ☒N N/A
yd Record set pool measured in yards Optional ☒N checkY
Record set in heat Always displayed checkY checkY
sf Record set in semifinal Optional checkY ☒N
r Record set in relay 1st leg Optional checkY ☒N
rh Record set in relay heat 1st leg Optional checkY ☒N
b Record set in B-final Optional checkY ☒N
Record set en route to final mark Optional checkY ☒N
tt Record set in a time trial Optional checkY ☒N
code1 Custom legend code Optional ☒N N/A
legend1 Custom legend description Required if code1 is defined and not blank ☒N N/A
code2 Custom legend code Optional ☒N N/A
legend2 Custom legend description Required if code2 is defined and not blank ☒N N/A
code3 Custom legend code Optional ☒N N/A
legend3 Custom legend description Required if code3 is defined and not blank ☒N N/A
code4 Custom legend code Optional ☒N N/A
legend4 Custom legend description Required if code4 is defined and not blank ☒N N/A

Generally we define the optional field as yes to display them (for default off fields) and no to remove them (for default on fields).

The examples below show how to use the ratifier, NR/nation and code1/legend1 fields.

Usage examples

Lists of records in swimming articles

World records:

{{Swimmingrecordlegend|ratifier=International Swimming Federation{{!}}FINA}}

说明: # – 记录等待 FINA批准;
非决赛中产生的纪录: h – 分组赛; sf – 准决赛; r – 接力第一棒; rh – 接力预赛第一棒; b – B决赛; – 途中最终成绩; tt – 计时赛

Continental records:

{{Swimmingrecordlegend|ratifier=Ligue Européenne de Natation{{!}}LEN|WR=yes}}

说明: # – 记录等待 LEN批准; WR世界纪录;
非决赛中产生的纪录: h – 分组赛; sf – 准决赛; r – 接力第一棒; rh – 接力预赛第一棒; b – B决赛; – 途中最终成绩; tt – 计时赛

National records:

{{Swimmingrecordlegend|ratifier=British Swimming|WR=yes|ER=yes|CR=yes}}

说明: # – 记录等待 British Swimming批准; WR世界纪录; ER欧洲纪录; CR共和联邦纪录英语List of Commonwealth records in swimming;
非决赛中产生的纪录: h – 分组赛; sf – 准决赛; r – 接力第一棒; rh – 接力预赛第一棒; b – B决赛; – 途中最终成绩; tt – 计时赛

Event/championships with no timetrials, no B-finals, and intermediate records not recognised:

{{swimmingrecordlegend|ratifier=International University Sports Federation{{!}}FISU|WR=yes|†=no|tt=no|b=no}}

说明: # – 记录等待 FISU批准; WR世界纪录;
非决赛中产生的纪录: h – 分组赛; sf – 准决赛; r – 接力第一棒; rh – 接力预赛第一棒

Event/championships with no timetrials, no semifinals, no relays and intermediate records not recognised:

{{swimmingrecordlegend|ratifier=FINA|WR=yes|r=no|sf=no|tt=no|b=no}}

说明: # – 记录等待 FINA批准; WR世界纪录;
非决赛中产生的纪录: h – 分组赛; – 途中最终成绩

Event/championships with no timetrials, no semifinals, no B-final, and intermediate records not recognised:

{{Swimmingrecordlegend|ratifier=International Paralympic Committee{{!}}IPC|IPCWR=yes|tt=no|sf=no|b=no|†=no}}

说明: # – 记录等待 IPC批准; WR世界纪录;
非决赛中产生的纪录: h – 分组赛; r – 接力第一棒; rh – 接力预赛第一棒

Personal bests section of swimmer's biography article
{{swimmingrecordlegend|WR=yes|ER=yes|nation=Swedish}}

说明: WR世界纪录; ER欧洲纪录; NRSwedish纪录;
非决赛中产生的纪录: h – 分组赛; sf – 准决赛; r – 接力第一棒; rh – 接力预赛第一棒; b – B决赛; – 途中最终成绩; tt – 计时赛

World record progression article
{{swimmingrecordlegend|ratifier=FINA|yd=yes}}

说明: # – 记录等待 FINA批准; yd – set in a pool measured in yards;
非决赛中产生的纪录: h – 分组赛; sf – 准决赛; r – 接力第一棒; rh – 接力预赛第一棒; b – B决赛; – 途中最终成绩; tt – 计时赛

See also