Difference between revisions of "Template:Cite letter/doc"
Jump to navigation
Jump to search
imported>Mxn (→Parameters: |middle= isn’t supported) |
imported>Imzadi1979 (+new parameters) |
||
| Line 115: | Line 115: | ||
| {{code|accessdate}} | | {{code|accessdate}} | ||
| date the URL hosting the letter was accessed successfully | | date the URL hosting the letter was accessed successfully | ||
| + | | ''optional'' | ||
| + | |- | ||
| + | | {{code|archiveurl}} | ||
| + | | URL hosting and archived copy of the letter | ||
| + | | ''optional'' | ||
| + | |- | ||
| + | | {{code|archivedate}} | ||
| + | | date an archive was made | ||
| + | | ''optional'' | ||
| + | |- | ||
| + | | {{code|deadurl}} | ||
| + | | set to <code>no</code> 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'' | | ''optional'' | ||
|} | |} | ||
<includeonly> | <includeonly> | ||
| − | |||
</includeonly> | </includeonly> | ||
Revision as of 06:22, 27 October 2014
| File:Edit-copy green.svg | This is a documentation subpage for Template:Cite letter. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Purpose
This template allows for the easy citing and linking to of letters.
Syntax
Horizontal
{{cite letter |first= |last= |recipient= |subject= |language= |date= |url= |accessdate= }}
Vertical
{{cite letter
| first =
| last =
| recipient =
| subject =
| language =
| date =
| type =
| url =
| accessdate =
}}
Examples
All parameters specified
{{cite letter
| first = Harry
| last = Anduze
| recipient = Leo Díaz
| subject = RE: P. de la C. 1422
| language = Spanish
| date = {{date|1995-02-28|mdy}}
| url = http://www.oslpr.org/1993-1996/A1U0VX96.pdf
| accessdate = {{date|2013-08-04|mdy}}
}}
will display as:
Anduze, Harry (February 28, 1995). "RE: P. de la C. 1422" (PDF) (in Spanish). Letter to Leo Díaz. Retrieved August 4, 2013.
Required parameters only
{{cite letter
| first = Harry
| last = Anduze
| recipient = Leo Díaz
| subject = RE: P. de la C. 1422
| date = {{date|1995-02-28|mdy}}
}}
will display as:
Anduze, Harry (February 28, 1995). "RE: P. de la C. 1422". Letter to Leo Díaz.
Parameters
| Parameter | Description | Requirement |
|---|---|---|
first
|
the first name (and optionally the middle name) of the author | required |
last
|
the last name of the author | required |
recipient
|
to whom was the letter addressed to (the intended recipient of the letter) | required |
subject
|
the subject of the letter | 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 |
accessdate
|
date the URL hosting the letter was accessed successfully | optional |
archiveurl
|
URL hosting and archived copy of the letter | optional |
archivedate
|
date an archive was made | optional |
deadurl
|
set to no 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 |