Misplaced Pages

Template:Cite ODNB: Difference between revisions

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 11:36, 11 May 2014 view sourceColonies Chris (talk | contribs)Autopatrolled, Extended confirmed users, Pending changes reviewers, Rollbackers445,737 edits rm superfluous publisher wikilink per Template:Cite_encyclopedia#Publisher; no special relevance or value← Previous edit Revision as of 10:27, 25 October 2014 view source WOSlinker (talk | contribs)Administrators858,550 edits dedupe HIDE_PARAMETER to stop adding to Category:Pages using duplicate arguments in template callsNext edit →
Line 5: Line 5:
|ref={{{ref|harv}}} |ref={{{ref|harv}}}


|{{#if:{{{last|}}} |last |HIDE_PARAMETER}}={{{last|}}} |{{#if:{{{last|}}} |last |HIDE_PARAMETER1}}={{{last|}}}
|{{#if:{{{last1|}}} |last1 |HIDE_PARAMETER}}={{{last1|}}} |{{#if:{{{last1|}}} |last1 |HIDE_PARAMETER2}}={{{last1|}}}
|{{#if:{{{author|}}} |author |HIDE_PARAMETER}}={{{author|}}} |{{#if:{{{author|}}} |author |HIDE_PARAMETER3}}={{{author|}}}
|{{#if:{{{author1|}}} |author1 |HIDE_PARAMETER}}={{{author1|}}} |{{#if:{{{author1|}}} |author1 |HIDE_PARAMETER4}}={{{author1|}}}
|{{#if:{{{authors|}}} |authors |HIDE_PARAMETER}}={{{authors|}}} |{{#if:{{{authors|}}} |authors |HIDE_PARAMETER5}}={{{authors|}}}


|{{#if:{{{first|}}} |first |HIDE_PARAMETER}}={{{first|}}} |{{#if:{{{first|}}} |first |HIDE_PARAMETER6}}={{{first|}}}
|{{#if:{{{first1|}}} |first1 |HIDE_PARAMETER}}={{{first1|}}} |{{#if:{{{first1|}}} |first1 |HIDE_PARAMETER7}}={{{first1|}}}


|{{#if:{{{authorlink|}}} |authorlink |HIDE_PARAMETER}}={{{authorlink|}}} |{{#if:{{{authorlink|}}} |authorlink |HIDE_PARAMETER8}}={{{authorlink|}}}
|{{#if:{{{author-link|}}} |author-link |HIDE_PARAMETER}}={{{author-link|}}} |{{#if:{{{author-link|}}} |author-link |HIDE_PARAMETER9}}={{{author-link|}}}
|{{#if:{{{author1-link|}}} |author1-link |HIDE_PARAMETER}}={{{author1-link|}}} |{{#if:{{{author1-link|}}} |author1-link |HIDE_PARAMETER10}}={{{author1-link|}}}
|{{#if:{{{authorlink1|}}} |authorlink1 |HIDE_PARAMETER}}={{{authorlink1|}}} |{{#if:{{{authorlink1|}}} |authorlink1 |HIDE_PARAMETER11}}={{{authorlink1|}}}
|{{#if:{{{last2|}}} |last2 |HIDE_PARAMETER}}={{{last2|}}} |{{#if:{{{last2|}}} |last2 |HIDE_PARAMETER12}}={{{last2|}}}
|{{#if:{{{author2|}}} |author2 |HIDE_PARAMETER}}={{{author2|}}} |{{#if:{{{author2|}}} |author2 |HIDE_PARAMETER13}}={{{author2|}}}
|{{#if:{{{first2|}}} |first2 |HIDE_PARAMETER}}={{{first2|}}} |{{#if:{{{first2|}}} |first2 |HIDE_PARAMETER14}}={{{first2|}}}


|{{#if:{{{authorlink2|}}} |authorlink2 |HIDE_PARAMETER}}={{{authorlink2|}}} |{{#if:{{{authorlink2|}}} |authorlink2 |HIDE_PARAMETER15}}={{{authorlink2|}}}
|{{#if:{{{author2-link|}}} |author2-link |HIDE_PARAMETER}}={{{author2-link|}}} |{{#if:{{{author2-link|}}} |author2-link |HIDE_PARAMETER16}}={{{author2-link|}}}


|{{#if:{{{last3|}}} |last3 |HIDE_PARAMETER}}={{{last3|}}} |{{#if:{{{last3|}}} |last3 |HIDE_PARAMETER17}}={{{last3|}}}
|{{#if:{{{author3|}}} |author3 |HIDE_PARAMETER}}={{{author3|}}} |{{#if:{{{author3|}}} |author3 |HIDE_PARAMETER18}}={{{author3|}}}
|{{#if:{{{first3|}}} |first3 |HIDE_PARAMETER}}={{{first3|}}} |{{#if:{{{first3|}}} |first3 |HIDE_PARAMETER19}}={{{first3|}}}


|{{#if:{{{authorlink3|}}} |authorlink3 |HIDE_PARAMETER}}={{{authorlink3|}}} |{{#if:{{{authorlink3|}}} |authorlink3 |HIDE_PARAMETER20}}={{{authorlink3|}}}
|{{#if:{{{author3-link|}}} |author3-link |HIDE_PARAMETER}}={{{author3-link|}}} |{{#if:{{{author3-link|}}} |author3-link |HIDE_PARAMETER21}}={{{author3-link|}}}


|{{#if:{{{title|}}} |title |HIDE_PARAMETER}}={{{title|}}} |{{#if:{{{title|}}} |title |HIDE_PARAMETER22}}={{{title|}}}
|{{#if:{{{article|}}} |title |HIDE_PARAMETER}}={{{article|}}} |{{#if:{{{article|}}} |title |HIDE_PARAMETER23}}={{{article|}}}
|{{#if:{{{url|}}} |url |HIDE_PARAMETER}}={{{url|}}} |{{#if:{{{url|}}} |url |HIDE_PARAMETER24}}={{{url|}}}


|{{#if:{{{doi|}}} |doi |HIDE_PARAMETER}}={{{doi|}}} |{{#if:{{{doi|}}} |doi |HIDE_PARAMETER25}}={{{doi|}}}


|{{#if:{{{origyear|}}} |origyear |HIDE_PARAMETER}}={{{origyear|}}} |{{#if:{{{origyear|}}} |origyear |HIDE_PARAMETER26}}={{{origyear|}}}
|{{#if:{{{year|}}} |year |HIDE_PARAMETER}}={{{year|}}} |{{#if:{{{year|}}} |year |HIDE_PARAMETER27}}={{{year|}}}
|{{#if:{{{date|}}} |date |HIDE_PARAMETER}}={{{date|}}} |{{#if:{{{date|}}} |date |HIDE_PARAMETER28}}={{{date|}}}
|{{#if:{{{month|}}} |month |HIDE_PARAMETER}}={{{month|}}} |{{#if:{{{month|}}} |month |HIDE_PARAMETER29}}={{{month|}}}
|{{#if:{{{accessdate|}}} |accessdate |HIDE_PARAMETER}}={{{accessdate|}}} |{{#if:{{{accessdate|}}} |accessdate |HIDE_PARAMETER30}}={{{accessdate|}}}


|{{#if:{{{postscript|}}} |postscript |HIDE_PARAMETER}}={{{postscript|}}} |{{#if:{{{postscript|}}} |postscript |HIDE_PARAMETER31}}={{{postscript|}}}
|{{#if:{{{separator|}}} |separator |HIDE_PARAMETER}}={{{separator|}}} |{{#if:{{{separator|}}} |separator |HIDE_PARAMETER32}}={{{separator|}}}


<!--Not implemented at present <!--Not implemented at present
|{{#if:{{{archiveurl|}}} |archiveurl |HIDE_PARAMETER}}={{{archiveurl|}}} |{{#if:{{{archiveurl|}}} |archiveurl |HIDE_PARAMETER33}}={{{archiveurl|}}}
|{{#if:{{{archivedate|}}}|archivedate |HIDE_PARAMETER}}={{{archivedate|}}} |{{#if:{{{archivedate|}}}|archivedate |HIDE_PARAMETER34}}={{{archivedate|}}}
|{{#if:{{{deadurl|}}} |deadurl |HIDE_PARAMETER}}={{{deadurle|}}} |{{#if:{{{deadurl|}}} |deadurl |HIDE_PARAMETER35}}={{{deadurle|}}}
|{{#if:{{{quote|}}} |quote |HIDE_PARAMETER}}={{{quote|}}} |{{#if:{{{quote|}}} |quote |HIDE_PARAMETER36}}={{{quote|}}}
--> -->


<!-- This block is none standard --> <!-- This block is none standard -->
|{{#if:{{{id|}}} |doi |HIDE_PARAMETER}}={{#if:{{{id|}}}|10.1093/ref:odnb/{{{id|}}}}} |{{#if:{{{id|}}} |doi |HIDE_PARAMETER37}}={{#if:{{{id|}}}|10.1093/ref:odnb/{{{id|}}}}}


}} {{ODNBsub|sentence=yes}}<!-- }} {{ODNBsub|sentence=yes}}<!--

Revision as of 10:27, 25 October 2014

Oxford Dictionary of National Biography (online ed.). Oxford University Press. {{cite encyclopedia}}: Cite has empty unknown parameters: |HIDE_PARAMETER15=, |HIDE_PARAMETER13=, |HIDE_PARAMETER21=, |HIDE_PARAMETER30=, |HIDE_PARAMETER14=, |HIDE_PARAMETER17=, |HIDE_PARAMETER32=, |HIDE_PARAMETER16=, |HIDE_PARAMETER25=, |HIDE_PARAMETER24=, |HIDE_PARAMETER9=, |HIDE_PARAMETER3=, |HIDE_PARAMETER1=, |HIDE_PARAMETER4=, |HIDE_PARAMETER2=, |HIDE_PARAMETER28=, |HIDE_PARAMETER18=, |HIDE_PARAMETER20=, |HIDE_PARAMETER5=, |HIDE_PARAMETER19=, |HIDE_PARAMETER22=, |HIDE_PARAMETER37=, |HIDE_PARAMETER31=, |HIDE_PARAMETER29=, |HIDE_PARAMETER11=, |HIDE_PARAMETER26=, |HIDE_PARAMETER6=, |HIDE_PARAMETER8=, |HIDE_PARAMETER7=, |HIDE_PARAMETER10=, |HIDE_PARAMETER23=, |HIDE_PARAMETER27=, and |HIDE_PARAMETER12= (help); Invalid |ref=harv (help); Missing or empty |title= (help) (Subscription or UK public library membership required.)

Template documentation[view] [edit] [history] [purge]
WarningThis template is used on approximately 20,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
This template is a Citation Style 1 wrapper template based on {{Cite encyclopedia}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1.


Usage

{{Cite ODNB|doi=ODNB doi|title=ODNB article name}}

For example, {{Cite ODNB|doi=10.1093/ref:odnb/29986|title=Worsley, Sir Richard}} displays:

"Worsley, Sir Richard". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/29986. {{cite encyclopedia}}: Cite has empty unknown parameters: |HIDE_PARAMETER15=, |HIDE_PARAMETER13=, |HIDE_PARAMETER21=, |HIDE_PARAMETER30=, |HIDE_PARAMETER14=, |HIDE_PARAMETER17=, |HIDE_PARAMETER32=, |HIDE_PARAMETER16=, |HIDE_PARAMETER24=, |HIDE_PARAMETER9=, |HIDE_PARAMETER3=, |HIDE_PARAMETER1=, |HIDE_PARAMETER4=, |HIDE_PARAMETER2=, |HIDE_PARAMETER18=, |HIDE_PARAMETER20=, |HIDE_PARAMETER5=, |HIDE_PARAMETER19=, |HIDE_PARAMETER37=, |HIDE_PARAMETER10=, |HIDE_PARAMETER31=, |HIDE_PARAMETER29=, |HIDE_PARAMETER28=, |HIDE_PARAMETER11=, |HIDE_PARAMETER8=, |HIDE_PARAMETER6=, |HIDE_PARAMETER26=, |HIDE_PARAMETER7=, |HIDE_PARAMETER23=, |HIDE_PARAMETER27=, and |HIDE_PARAMETER12= (help); Invalid |ref=harv (help) (Subscription or UK public library membership required.)

List of supported parameters

This template supports all parameters that are supported by {{cite encyclopedia}}.

Several parameters have pre-set defaults (but may be overridden):

  • |encyclopedia=]
  • |edition=online
  • |publisher=]

To override the defaults, type the parameter and a value, like {{Cite ODNB|encyclopedia=Oxford Dictionary of National Biography|edition=14th}}

Article author (for the full set of author parameters, see {{cite encyclopedia}}):

  • |first=first name of the article author, if present
  • |last=last name of the article author, if present

Article titles and identification:

  • |title=name of the ODNB article
  • |doi=doi—use where available on the ODNB page
  • |id=number—Use ONLY if a doi is not available. This is a nonstandard parameter and consists of the "article number" (often the last set of digits of a biography URL). Avoid if possible as it as it does not always generate the correct link
  • |url=URL of the ODNB article—Can be used with or in place of the parameter id=. Is essential for ODNB some non-biography articles such as "Themes" which neither have a doi nor conform to the usual ODNB url biography format.
  • Example:
    • Patrick Little, ‘Major-generals (act. 1655–1657)’, Oxford Dictionary of National Biography, Oxford University Press. http://www.oxforddnb.com/view/theme/95468
    • This can be handled like this (url):
      {{Cite ODNB|first=Patrick|last=Little|title=Major-generals (act. 1655–1657)|url=http://www.oxforddnb.com/view/theme/95468}}
      Little, Patrick. "Major-generals (act. 1655–1657)". Oxford Dictionary of National Biography (online ed.). Oxford University Press. {{cite encyclopedia}}: Cite has empty unknown parameters: |HIDE_PARAMETER15=, |HIDE_PARAMETER13=, |HIDE_PARAMETER21=, |HIDE_PARAMETER30=, |HIDE_PARAMETER14=, |HIDE_PARAMETER17=, |HIDE_PARAMETER32=, |HIDE_PARAMETER16=, |HIDE_PARAMETER25=, |HIDE_PARAMETER31=, |HIDE_PARAMETER9=, |HIDE_PARAMETER3=, |HIDE_PARAMETER4=, |HIDE_PARAMETER2=, |HIDE_PARAMETER28=, |HIDE_PARAMETER18=, |HIDE_PARAMETER20=, |HIDE_PARAMETER5=, |HIDE_PARAMETER19=, |HIDE_PARAMETER10=, |HIDE_PARAMETER37=, |HIDE_PARAMETER29=, |HIDE_PARAMETER11=, |HIDE_PARAMETER26=, |HIDE_PARAMETER8=, |HIDE_PARAMETER7=, |HIDE_PARAMETER23=, |HIDE_PARAMETER27=, and |HIDE_PARAMETER12= (help); Invalid |ref=harv (help) (Subscription or UK public library membership required.)
    • or like this (doi):
      {{Cite ODNB|first=Patrick|last=Little|title=Major-generals (act. 1655–1657)|doi=10.1093/ref:odnb/95468}}
      Little, Patrick. "Major-generals (act. 1655–1657)". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/95468. {{cite encyclopedia}}: Cite has empty unknown parameters: |HIDE_PARAMETER15=, |HIDE_PARAMETER13=, |HIDE_PARAMETER21=, |HIDE_PARAMETER30=, |HIDE_PARAMETER14=, |HIDE_PARAMETER17=, |HIDE_PARAMETER32=, |HIDE_PARAMETER16=, |HIDE_PARAMETER24=, |HIDE_PARAMETER9=, |HIDE_PARAMETER3=, |HIDE_PARAMETER4=, |HIDE_PARAMETER2=, |HIDE_PARAMETER18=, |HIDE_PARAMETER20=, |HIDE_PARAMETER5=, |HIDE_PARAMETER19=, |HIDE_PARAMETER37=, |HIDE_PARAMETER10=, |HIDE_PARAMETER31=, |HIDE_PARAMETER29=, |HIDE_PARAMETER28=, |HIDE_PARAMETER11=, |HIDE_PARAMETER8=, |HIDE_PARAMETER26=, |HIDE_PARAMETER7=, |HIDE_PARAMETER23=, |HIDE_PARAMETER27=, and |HIDE_PARAMETER12= (help); Invalid |ref=harv (help) (Subscription or UK public library membership required.)
    • or like this (id):
      {{Cite ODNB|first=Patrick|last=Little|title=Major-generals (act. 1655–1657)|id=95468}}
      Little, Patrick. "Major-generals (act. 1655–1657)". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/95468. {{cite encyclopedia}}: Cite has empty unknown parameters: |HIDE_PARAMETER15=, |HIDE_PARAMETER13=, |HIDE_PARAMETER21=, |HIDE_PARAMETER30=, |HIDE_PARAMETER14=, |HIDE_PARAMETER17=, |HIDE_PARAMETER32=, |HIDE_PARAMETER16=, |HIDE_PARAMETER25=, |HIDE_PARAMETER24=, |HIDE_PARAMETER9=, |HIDE_PARAMETER3=, |HIDE_PARAMETER4=, |HIDE_PARAMETER2=, |HIDE_PARAMETER28=, |HIDE_PARAMETER18=, |HIDE_PARAMETER20=, |HIDE_PARAMETER5=, |HIDE_PARAMETER19=, |HIDE_PARAMETER10=, |HIDE_PARAMETER31=, |HIDE_PARAMETER29=, |HIDE_PARAMETER11=, |HIDE_PARAMETER26=, |HIDE_PARAMETER8=, |HIDE_PARAMETER7=, |HIDE_PARAMETER23=, |HIDE_PARAMETER27=, and |HIDE_PARAMETER12= (help); Invalid |ref=harv (help) (Subscription or UK public library membership required.)

Years and dates

  • |origyear=original year—The initial year of publication is usually 2004; if the entry has been updated, the current year parameter may be different.
  • |year=year of ODNB article publication
  • |date=date of ODNB article publication—Only set both date and year parameters if date is in YYYY-MM-DD format. In such cases the date parameter value is displayed but year parameter value is used by templates such as {{harvnb}}.
  • |access-date=—Not needed as the ODNB has both date of article modification, a builtin archive and a doi structure; if used, requires |url=

Some articles are freely available to the public, such as Virginia Woolf. In those cases, you can add the optional |freearticle= parameter.

  • |freearticle=y
    {{Cite ODNB|id=37018|title=Woolf , (Adeline) Virginia|first=Lyndall|last=Gordon|freearticle=y}}
    Gordon, Lyndall. "Woolf , (Adeline) Virginia". Oxford Dictionary of National Biography (online ed.). Oxford University Press. doi:10.1093/ref:odnb/37018. {{cite encyclopedia}}: Cite has empty unknown parameters: |HIDE_PARAMETER15=, |HIDE_PARAMETER13=, |HIDE_PARAMETER21=, |HIDE_PARAMETER30=, |HIDE_PARAMETER14=, |HIDE_PARAMETER17=, |HIDE_PARAMETER32=, |HIDE_PARAMETER16=, |HIDE_PARAMETER25=, |HIDE_PARAMETER24=, |HIDE_PARAMETER9=, |HIDE_PARAMETER3=, |HIDE_PARAMETER4=, |HIDE_PARAMETER2=, |HIDE_PARAMETER28=, |HIDE_PARAMETER18=, |HIDE_PARAMETER20=, |HIDE_PARAMETER5=, |HIDE_PARAMETER19=, |HIDE_PARAMETER10=, |HIDE_PARAMETER31=, |HIDE_PARAMETER29=, |HIDE_PARAMETER11=, |HIDE_PARAMETER26=, |HIDE_PARAMETER8=, |HIDE_PARAMETER7=, |HIDE_PARAMETER23=, |HIDE_PARAMETER27=, and |HIDE_PARAMETER12= (help); Invalid |ref=harv (help) (Subscription or UK public library membership required.)

Hidden categories

This template places articles that incorporate it into an administrative hidden category:

Pages using both |id= and |doi= are tracked in Category:Pages using cite ODNB with both doi and id parameters

See also

  • {{ODNBsub}}—A subscription template used as a postscript by this template.
  • {{DNBfirst}}—Can be placed on the same line as {{Cite ODNB}} to allow readers who do not have access to ODNB to see older versions of the text now in the public domain. This is particularly useful if there is a version of the text available on Wikisource. Please refrain from using this template if the same DNB article is already available in the Misplaced Pages article via {{Cite DNB}} or {{DNB}}.
  • {{Who's Who}}
  • Misplaced Pages:WikiProject Dictionary of National Biography.
  • {{Subscription or libraries}}—A template for use when a subscription may be required or the source may be at a library.
The above documentation is transcluded from Template:Cite ODNB/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. Categories:
Template:Cite ODNB: Difference between revisions Add topic