• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:Cite letter

  • Language
  • Watch
  • View source
Template documentation[view] [edit] [history] [purge]
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.

Contents

  • 1 Purpose
  • 2 Syntax
    • 2.1 Horizontal
    • 2.2 Vertical
  • 3 Examples
    • 3.1 All parameters specified
    • 3.2 Required parameters only
  • 4 Parameters

Purpose

This template allows for the easy citing and linking to of letters.

Syntax

Horizontal

Basic set of parameters: <syntaxhighlight lang="wikitext">. Letter to. {{cite press release}}: Missing or empty |title= (help)CS1 maint: others (link)</syntaxhighlight>

Full set of parameters: <syntaxhighlight lang="wikitext">. Letter to. {{cite press release}}: Missing or empty |title= (help)CS1 maint: others (link)</syntaxhighlight>

Vertical

Basic set of parameters: <syntaxhighlight lang="wikitext">. Letter to. {{cite press release}}: Missing or empty |title= (help)CS1 maint: others (link)</syntaxhighlight>

Full set of parameters: <syntaxhighlight lang="wikitext">. Letter to. {{cite press release}}: Missing or empty |title= (help)CS1 maint: others (link)</syntaxhighlight>

Examples

All parameters specified

<syntaxhighlight lang="wikitext">— (February 28, 1995). "RE: P. de la C. 1422" (PDF) (in español). Letter to Leo Díaz. Retrieved August 4, 2013.</syntaxhighlight>

can be linked from Anduze 1995 and will display as:

— (February 28, 1995). "RE: P. de la C. 1422" (PDF) (in español). Letter to Leo Díaz. Retrieved August 4, 2013.

Required parameters only

<syntaxhighlight lang="wikitext">Anduze, Harry (February 28, 1995). "RE: P. de la C. 1422". Letter to Leo Díaz.</syntaxhighlight>

will display as:

Anduze, Harry (February 28, 1995). "RE: P. de la C. 1422". Letter to Leo Díaz.

Parameters

Parameter Description Requirement
<syntaxhighlight lang="text" class="" style="" inline="1">first</syntaxhighlight> the first name (and optionally the middle name) of the author optional
<syntaxhighlight lang="text" class="" style="" inline="1">last</syntaxhighlight> the last name of the author optional
<syntaxhighlight lang="text" class="" style="" inline="1">author</syntaxhighlight> the author's name (used for corporate authors or authors whose name begins with a surname) optional
<syntaxhighlight lang="text" class="" style="" inline="1">author-link</syntaxhighlight> title of existing Wikipedia article about the author optional
<syntaxhighlight lang="text" class="" style="" inline="1">recipient</syntaxhighlight> to whom was the letter addressed (the intended recipient of the letter) required
<syntaxhighlight lang="text" class="" style="" inline="1">subject</syntaxhighlight> the subject of the letter; if this parameter is empty or omitted, the template will emit a Missing or empty |title= error message required
<syntaxhighlight lang="text" class="" style="" inline="1">language</syntaxhighlight> language in which the letter was written optional
<syntaxhighlight lang="text" class="" style="" inline="1">date</syntaxhighlight> date the letter was sent required
<syntaxhighlight lang="text" class="" style="" inline="1">url</syntaxhighlight> URL hosting a copy of the letter optional
<syntaxhighlight lang="text" class="" style="" inline="1">format</syntaxhighlight> the format of a linked copy of the letter (use if the letter is in a PDF file, for example) optional
<syntaxhighlight lang="text" class="" style="" inline="1">location</syntaxhighlight> publication/authorship location optional
<syntaxhighlight lang="text" class="" style="" inline="1">publisher</syntaxhighlight> organization, corporation or agency publishing the letter optional
<syntaxhighlight lang="text" class="" style="" inline="1">access-date</syntaxhighlight> date the URL hosting the letter was accessed successfully optional
<syntaxhighlight lang="text" class="" style="" inline="1">archive-url</syntaxhighlight> URL hosting an archived copy of the letter optional
<syntaxhighlight lang="text" class="" style="" inline="1">archive-date</syntaxhighlight> date an archive was made optional
<syntaxhighlight lang="text" class="" style="" inline="1">url-access</syntaxhighlight> 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
<syntaxhighlight lang="text" class="" style="" inline="1">author-mask</syntaxhighlight> set to n to replace author name by the specified number of em dashes optional
<syntaxhighlight lang="text" class="" style="" inline="1">ref</syntaxhighlight> set to harv to generate a citation anchor from last and date parameters, or to a specific anchor optional
<syntaxhighlight lang="text" class="" style="" inline="1">mode</syntaxhighlight> set to cs2 to emulate Citation Style 2, which is the formatting style used by {{citation}} optional
<syntaxhighlight lang="text" class="" style="" inline="1">id</syntaxhighlight> an ID number for the letter optional
The above documentation is transcluded from Template:Cite letter/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Cite_letter&oldid=6324906"
Last edited on 24 October 2021, at 10:01

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 24 October 2021, at 10:01.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop