Template:Cite letter/doc
Appearance
This is a documentation subpage for Template:Cite letter. It may contain usage information, categories and other content that is not part of the original template page. |
This template is a Citation Style 1 meta-template based on {{Cite press release}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
Purpose
[edit]This template allows for the easy citing and linking to of letters.
Syntax
[edit]Horizontal
[edit]Basic set of parameters:
{{cite letter |first= |last= |recipient= |subject= |date= |url= |access-date= |author-mask= |language= |ref=}}
Full set of parameters:
{{cite letter |first= |last= |author= |author-link= |recipient= |subject= |language= |date= |url= |format= |location= |publisher= |access-date= |archive-url= |archive-date= |url-status= |author-mask= |ref= |mode= |id=}}
Vertical
[edit]Basic set of parameters:
{{cite letter
| first =
| last =
| recipient =
| subject =
| date =
| url =
| access-date =
| author-mask =
| language =
| ref =
}}
Full set of parameters:
{{cite letter
| first =
| last =
| author =
| author-link =
| recipient =
| subject =
| language =
| date =
| url =
| format =
| location =
| publisher =
| access-date =
| archive-url =
| archive-date =
| url-status =
| author-mask =
| ref =
| mode =
| id =
}}
Examples
[edit]All parameters specified
[edit]{{cite letter
| first = Harry
| last = Anduze
| recipient = Leo Díaz
| subject = RE: P. de la C. 1422
| language = es
| date = February 28, 1995
| url = http://www.oslpr.org/1993-1996/A1U0VX96.pdf
| access-date = August 4, 2013
| author-mask = 1
}}
can be linked from Anduze 1995 and will display as:
— (February 28, 1995). "RE: P. de la C. 1422" (PDF) (in Spanish). Letter to Leo Díaz. Retrieved August 4, 2013.
Required parameters only
[edit]{{cite letter
| first = Harry
| last = Anduze
| recipient = Leo Díaz
| subject = RE: P. de la C. 1422
| date = February 28, 1995
}}
will display as:
Anduze, Harry (February 28, 1995). "RE: P. de la C. 1422". Letter to Leo Díaz.
Parameters
[edit]Parameter | Description | Requirement |
---|---|---|
first
|
the first name (and optionally the middle name) of the author | optional |
last
|
the last name of the author | optional |
author
|
the author's name (used for corporate authors or authors whose name begins with a surname) | optional |
author-link
|
title of existing Wikipedia article about the author | optional |
recipient
|
to whom was the letter addressed (the intended recipient of the letter) | required |
subject
|
the subject of the letter; if this parameter is empty or omitted, the template will emit a Missing or empty |title= error message
|
required |
language
|
language in which the letter was written | optional |
date
|
date the letter was sent | required |
url
|
URL hosting a copy of the letter | optional |
format
|
the format of a linked copy of the letter (use if the letter is in a PDF file, for example) | optional |
location
|
publication/authorship location | optional |
publisher
|
organization, corporation or agency publishing the letter | optional |
access-date
|
date the URL hosting the letter was accessed successfully | optional |
archive-url
|
URL hosting an archived copy of the letter | optional |
archive-date
|
date an archive was made | optional |
url-access
|
set to live if the original URL is not dead and the main link will still be used; otherwise omit and the subject of the letter will link to the archived copy
|
optional |
author-mask
|
set to n to replace author name by the specified number of em dashes
|
optional |
ref
|
set to harv to generate a citation anchor from last and date parameters, or to a specific anchor
|
optional |
mode
|
set to cs2 to emulate Citation Style 2, which is the formatting style used by {{citation}}
|
optional |
id
|
an ID number for the letter | optional |