Template:R:Farmer

John S[tephen] Farmer, compiler (1890) “A”, in Slang and Its Analogues Past and Present. [], volume I, [London: [] Thomas Poulter and Sons] [], →OCLC.


Usage edit

This template may be used in "References" and "Further reading" sections and on talk pages to format quotations from John Stephen Farmer and William Ernest Henley's work Slang and Its Analogues Past and Present (1st edition, 1890–1904, 7 volumes). It can be used to create a link to online versions of the work at the Internet Archive:

Parameters edit

The template takes the following parameters:

  • |1= or |volume=mandatory: the volume number quoted from in Arabic numerals or uppercase Roman numerals, from |volume=1 to |volume=7 or |volume=I to |volume=VII.
  • |2=, |chapter=, or |entry=
    • If quoting from the prefatory note, specify |chapter=Prefatory Note.
    • Otherwise, specify the entry or headword in the work to be quoted from. If this parameter is omitted, the template uses the name of the Wiktionary entry. By default, the template indicates the value assigned to the parameter in small capital letters. To turn off the default formatting for the purpose of specifying a different formatting using wikitext markup and templates, specify |noformat=1 or |noformat=yes.
  • |pos= or |part of speech= – the part of speech of the entry. By default, the template italicizes the value assigned to the parameter and adds a full stop (period) to the end.
  • |column= or |columns= – the column number(s) quoted from, either |column=1 or |column=2. If quoting from both columns, either omit this parameter or separate the column numbers with an en dash, like this: |columns=1–2.
  • |3= or |page=, or |pages=mandatory in some cases: the page number(s) quoted from in Arabic or lowercase Roman numerals, as the case may be. If quoting a range of pages, note the following:
    • Separate the first and last page number of the range with an en dash, like this: |pages=10–11 or |pages=v–vi.
    • You must also use |pageref= to indicate the page to be linked to (usually the page on which the Wiktionary entry appears).
This parameter must be specified to have the template link to an online version of the work.
  • |4=, |text=, or |passage= – a passage quoted from the work.
  • |nodot= – by default, the template adds a full stop (period) at the end of the citation. To suppress this punctuation, use |nodot=1 or |nodot=yes.

Examples edit

  • Wikitext:
    • {{R:Farmer|volume=I|entry=Beauty-Sleep|pos=subs|page=159|column=1|passage=Sleep before midnight, the idea being that early hours conduce to health and beauty.|nodot=1}}; or
    • {{R:Farmer|I|Beauty-Sleep|pos=subs|159|column=1|Sleep before midnight, the idea being that early hours conduce to health and beauty.|nodot=1}}
  • Result:
    • John S[tephen] Farmer, compiler (1890) “Beauty-Sleep, subs.”, in Slang and Its Analogues Past and Present. [], volume I, [London: [] Thomas Poulter and Sons] [], →OCLC, page 159:Sleep before midnight, the idea being that early hours conduce to health and beauty.
  • Wikitext: {{R:Farmer|volume=I|entry={{smallcaps|Abraham-Cove}}, {{smallcaps|Abraham-Man}}, {{smallcaps|Abram-Cove}}, {{smallcaps|Abram-Man}}, {{smallcaps|Tom of Bedlam’s Man}}, or {{smallcaps|Bedlam Beggar}}|noformat=1|pos=subs|pages=9–10|pageref=9}}
  • Result:
    • John S[tephen] Farmer, compiler (1890) “Abraham-Cove, Abraham-Man, Abram-Cove, Abram-Man, Tom of Bedlam’s Man, or Bedlam Beggar, subs.”, in Slang and Its Analogues Past and Present. [], volume I, [London: [] Thomas Poulter and Sons] [], →OCLC, pages 9–10.