Difference between revisions of "Template:Cite OED"
imported>Hairy Dude (correct punctuation for CS2) |
imported>Trappist the monk (sync from sandbox;) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{#invoke:template wrapper|{{#if:{{{_debug|}}}|list|wrap}}|_template=cite dictionary |
| − | + | |_exclude=id, short, term, _debug | |
| − | |url={{#ifeq: {{{term|{{{1|}}}<!-- -->}}}|<!--not set-->| | + | |
| − | |{{# | + | |url={{#ifeq:{{{term|{{{1|}}}<!-- -->}}}|<!--not set-->| |
| − | + | |{{#if:{{{id|}}} | |
|http://www.oed.com/view/Entry/{{{id}}} | |http://www.oed.com/view/Entry/{{{id}}} | ||
| − | + | |http://oed.com/search?searchType=dictionary&q={{urlencode:{{{term|{{{1|}}}}}}}} | |
| − | | | + | }} |
| − | + | }} | |
| − | + | |url-access={{#if:{{{term|}}}{{{1|}}}{{{id|}}}|subscription}} | |
| − | + | |title={{{term|{{{1|}}}}}} | |
| − | | | + | |dictionary=[[Oxford English Dictionary]] |
| − | |publisher={{#if:{{{short|}}}| |Oxford University Press}} | + | |publisher={{#if:{{{short|}}}||Oxford University Press}} |
| − | |edition= | + | |edition={{#if:{{{short|}}}||Online}} |
| − | |date= | + | |date={{#if:{{{short|}}}||September 2005}} |
| − | | | + | |ref={{#if:{{{term|}}}{{{1|}}}{{{id|}}}|{{SfnRef|Reference-OED-{{{term|{{{1|}}}}}}}}}} |
| − | |||
| − | |||
}}{{#if:{{{short|}}}| | {{OEDsub|sentence={{#ifeq:{{{mode|cs1}}}|cs1|yes|no}}}}<!---->}}<noinclude> | }}{{#if:{{{short|}}}| | {{OEDsub|sentence={{#ifeq:{{{mode|cs1}}}|cs1|yes|no}}}}<!---->}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 12:55, 25 November 2020
Oxford English Dictionary (Online ed.). Oxford University Press. September 2005. Missing or empty |title= (help) Template:OEDsub
| This template is a Citation Style 1 wrapper template based on {{Citation}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
The Cite OED template generates a citation and online reference for a particular word defined in the third edition of the Oxford English Dictionary. No support for volume or page is included; they are inappropriate for an online citation.
Usage
If used within an inline footnote, the footnote should be inserted after punctuation, such as a period or comma.
In its simplest form: {{Cite OED|term}} – where term is a word or a term used in the OED
To avoid ambiguity with words that may have multiple definitions (for example, "get" has 3 distinct definitions as a noun and one as a verb in the OED), the OED ID included in the URL of the page may be cited; http://www.oed.com/view/Entry/144742 has ID 144742. However, citing the ID may prevent jumping to the location of a compound term; for example {{Cite OED|pith helmet|id=144742}} will link to the top of the "pith" page,[1] while {{Cite OED|pith helmet}} will link, more usefully, to "pith helmet" on that page.[2] Template:Reflist-talk
TemplateData
TemplateData for Cite OED
Citation template for the third edition of the Oxford English Dictionary
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Term | term 1 | Term in the OED
| String | required |
| ID | id | OED ID
| Number | optional |
| Access date | access-date accessdate | Date the OED was verified as supporting the content it is cited for
| Date | suggested |
| ref | ref | Anchor ID
| String | optional |
| Short | short | Suppresses the display of the publisher, default date, and subscription notice
| String | optional |
| Mode | mode | Citation style
| String | optional |
| Edition | edition | Edition of the OED
| String | optional |
| Date | date | Date of entry
| Date | optional |
See also
- {{Britannica}}, which generates citation code for the Encyclopædia Britannica, another British resource
- {{Cite OED1}}, which generates citation code for the first edition
- {{Cite OED2}}, which generates citation code for the second edition
| The above documentation is transcluded from Template:Cite OED/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |
- ↑ "pith helmet". Oxford English Dictionary (Online ed.). Oxford University Press. September 2005. Template:OEDsub
- ↑ "pith helmet". Oxford English Dictionary (Online ed.). Oxford University Press. September 2005. Template:OEDsub