Template:Acad/sandbox
A Cambridge Alumni Database. University of Cambridge http://venn.lib.cam.ac.uk/acad/2016/search-2016.html. {{cite encyclopedia}}
: Missing or empty |title=
(help) missing id
. missing name
.
This is the template sandbox page for Template:Acad (diff). See also the companion subpage for test cases. |
This template is used on approximately 6,600 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is a Citation Style 1 specific-source template based on {{Cite encyclopedia}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
Usage
[edit]This template is a wrapper template for {{cite encyclopedia}}
. It links to the website ACAD (A Cambridge Alumni Database), which is an online enhanced version of Alumni Cantabrigienses, a book that catalogues graduates of Cambridge University through 1900.
{{acad |id= |name=
|volume=
|year=
|ref= |access-date= |hide errors=}}
Required parameters
[edit]- id : the alphanumeric ID (e.g., "DNKS873WA") of the person's biographical entry. It appears in small print in the right-hand column header for each ACAD search result, and can be hard to spot (search within the web page for the phrase "unique identifier").
- name : name of the person/biography
For example:
{{Acad|id=MLN900AA|name=Milne, Alan Alexander}}
- "Milne, Alan Alexander (MLN900AA)". A Cambridge Alumni Database. University of Cambridge.
and may also be written:
{{Acad|MLN900AA|Milne, Alan Alexander}}
- "Milne, Alan Alexander (MLN900AA)". A Cambridge Alumni Database. University of Cambridge.
Optional parameters
[edit]- mode: see
{{cite encyclopedia}}
. it defaults to cs1 but can be changed, e.g.:mode=cs2
to match the mode used by the{{citation}}
template.
- ref: see
{{cite encyclopedia}}
. This can be used in combination with {{harv}}, {{harvnb}} and {{sfn}} templates to link short format citations to this one. Unless overridden by the content of|ref=
, {{acad}} creates an anchor id using the content of|id=
. To link to the {{acad}} citation, use, for example,{{sfn|ACAD|<id>}}
where<id>
is the value from|id=
. - access-date: full date that ACAD was consulted
- hide errors: when set to
yes
, hides error messages
Error messages
[edit]If required parameters are empty or omitted, the template will add appropriate error messages to the end of the citation.
- missing
id
. –|id=
is required to create the proper url link to the database; defaults to the database search page; - missing
name
. –|name=
is required to create the correct title in the rendered citation;
{{acad}} citations with missing |name=
or |id=
are placed in the hidden maintenance category Category:ACAD citations missing parameters when those pages are in article namespace.
Related templates
[edit]{{vennAC}}
– a template for citing Alumni Cantabrigienses facsimiles held at Internet Archive