Template:etydate
Jump to navigation
Jump to search
First attested in the {{{1}}}.
- The following documentation is located at Template:etydate/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Usage
This template provides information about when a term was first attested, generally given to the nearest century. The template is placed in the etymology line.
Examples
- Will print "First attested in" if only a single year is given.
- e.g.,
{{etydate|1900}}
returns First attested in 1900.
- e.g.,
- A second year may be given if there is a considerable gap between attestations.
- e.g.,
{{etydate|1900|1950}}
returns First attested in 1900, but in common usage only as of 1950.
- e.g.,
- Will print "First attested in the" if text is given.
- e.g.,
{{etydate|first quarter of the 20th century}}
returns First attested in the first quarter of the 20th century.
- e.g.,
- Can take
|before=
in the first parameter to indicate that the first attestation was prior to the given date. - Can take
|c=
in the first parameter for circa. If this is done, the user can add text/numbers according to the above rules.- e.g.,
{{etydate|c|1900}}
returns First attested in c. 1900. - e.g.,
{{etydate|c|1900|1950}}
returns First attested in c. 1900, but in common usage only as of 1950. - e.g.,
{{etydate|c|1900|second half of the 20th century}}
returns First attested in c. 1900, but in common usage only as of the second half of the 20th century.
- e.g.,
- A range can be given with
|r=
. In this case three parameters are needed.- e.g.,
{{etydate|r|1900|1910}}
returns First attested in 1900–1910.
- e.g.,
- This can combine with yet a third date to show a gap in dates.
- Capitalization can be turned off in typical fashion with
|nocap=1
- e.g.,
{{etydate|1900|nocap=1}}
returns first attested in 1900.
- e.g.,
- Punctuation can be turned off in a similar fashion with
|nodot=1
- e.g.,
{{etydate|1900|nodot=1}}
returns First attested in 1900
- e.g.,
- References can be added using the
|ref=
parameter. If there are multiple references,|ref2=
and|ref3=
should be used. - References can then be named using the
|refn=
parameter. If there are multiple references,|ref2n=
and|ref3n=
should be used.