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

mali niŋ
Lists of records in swimming articles

World records:

{{Swimmingrecordlegend|ratifier=International Swimming Federation{{!}}FINA}}
Legend: # – Record awaiting ratification by FINA;
Records not set in finals: h – heat; sf – semifinal; r – relay 1st leg; rh – relay heat 1st leg; b – B final; – en route to final mark; tt – time trial

Continental records:

{{Swimmingrecordlegend|ratifier=Ligue Européenne de Natation{{!}}LEN|WR=yes}}
Legend: # – Record awaiting ratification by LEN; WRWorld record;
Records not set in finals: h – heat; sf – semifinal; r – relay 1st leg; rh – relay heat 1st leg; b – B final; – en route to final mark; tt – time trial

National records:

{{Swimmingrecordlegend|ratifier=British Swimming|WR=yes|ER=yes|CR=yes}}
Legend: # – Record awaiting ratification by British Swimming; WRWorld record; EREuropean record; CRCommonwealth record;
Records not set in finals: h – heat; sf – semifinal; r – relay 1st leg; rh – relay heat 1st leg; b – B final; – en route to final mark; tt – time trial

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}}
Legend: # – Record awaiting ratification by FISU; WRWorld record;
Records not set in finals: h – heat; sf – semifinal; r – relay 1st leg; rh – relay heat 1st leg

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}}
Legend: # – Record awaiting ratification by FINA; WRWorld record;
Records not set in finals: h – heat; – en route to final mark

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}}
Legend: # – Record awaiting ratification by IPC; WRWorld record;
Records not set in finals: h – heat; r – relay 1st leg; rh – relay heat 1st leg
Personal bests section of swimmer's biography article
{{swimmingrecordlegend|WR=yes|ER=yes|nation=Swedish}}
Legend: WRWorld record; EREuropean record; NRSwedish record;
Records not set in finals: h – heat; sf – semifinal; r – relay 1st leg; rh – relay heat 1st leg; b – B final; – en route to final mark; tt – time trial
World record progression article
{{swimmingrecordlegend|ratifier=FINA|yd=yes}}
Legend: # – Record awaiting ratification by FINA; yd – set in a pool measured in yards;
Records not set in finals: h – heat; sf – semifinal; r – relay 1st leg; rh – relay heat 1st leg; b – B final; – en route to final mark; tt – time trial

See also

mali niŋ