模板: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