Difference between revisions of "Template:Cite DNBIE"

From blackwiki
Jump to navigation Jump to search
imported>Dragons flight
(self rv, that doesn't work)
imported>Dragons flight
(try two)
Line 25: Line 25:
 
* The remained of the string is then extracted using two template functions.  {{Str number|{{{pages}}} }} will return the position of the first non numeric character ("," or "-"), this is passed into {{Str right}} which extracts the remained of the string which is then printed out as a concatenation after the closing of the URL link.
 
* The remained of the string is then extracted using two template functions.  {{Str number|{{{pages}}} }} will return the position of the first non numeric character ("," or "-"), this is passed into {{Str right}} which extracts the remained of the string which is then printed out as a concatenation after the closing of the URL link.
 
-->
 
-->
  |{{#if:{{{page|}}}       |page        |HIDE_PARAMETER}}=[http://www.archive.org/stream/dictionaryofnati00leesuoft#page/{{Str number/trim|{{{page}}}}}/mode/1up {{{page|}}}]
+
  |page={{#if:{{{page|}}}| [http://www.archive.org/stream/dictionaryofnati00leesuoft#page/{{Str number/trim|{{{page}}}}}/mode/1up {{{page|}}}] }}
  |{{#if:{{{pages|}}} |pages | HIDE_PARAMETER}}=[http://www.archive.org/stream/dictionaryofnati00leesuoft#page/{{Str number/trim|{{{pages}}}}}/mode/1up {{Str number/trim|{{{pages}}}}}]{{Str right|{{{pages}}}|{{Str number|{{{pages}}} }}}}]
+
  |pages={{#if:{{{pages|}}}| [http://www.archive.org/stream/dictionaryofnati00leesuoft#page/{{Str number/trim|{{{pages}}}}}/mode/1up {{Str number/trim|{{{pages}}}}}]{{Str right|{{{pages}}}|{{Str number|{{{pages}}} }}}}] }}
 
}}<includeonly><!-- no white space
 
}}<includeonly><!-- no white space
 
-->{{#ifeq: {{NAMESPACEE}} |<!--is set-->|<!--
 
-->{{#ifeq: {{NAMESPACEE}} |<!--is set-->|<!--

Revision as of 18:30, 8 May 2013

 Lee, Sidney, ed. (1903). Dictionary of National Biography Index and Epitome. Cambridge University Press. Missing or empty |title= (help); External link in |encyclopedia= (help)

Template documentation[view] [edit] [history] [purge]

Usage

Cite DNBIE is a replacement for {{cite encyclopedia}} for citing the Dictionary of National Biography Index and Epitome volume.

The template fills out some parameters such as editor, date, publisher automatically. This template supports all of the parameters normally available to {{cite encyclopedia}}. There is an additional parameter not supported by {{cite encyclopedia}}:

  • noicon – when set to any value, this parameter hides the normal public domain icon; alias: no-icon

Normal parameters used by this template are: {{Cite DNBIE|noicon=1|title=|page=|pages=}}

  • title=page name — (required) use this parameter to identify the name of the entry in the DNB I&E
  • in-source locators (use only one of these):
    • page=page number — this template links |title= to the page in the facsimile copy of the DNB I&E at Internet Archive, so providing the page number helps readers find the entry in the DNBIE
    • pages=page numbers — as for page= but for entries that span more than one page.
  • ref=harv — turns on parameter used by templates such as {{harv}}

Entries in DNB I&E include the volume and page number of the unabridged article in the main DNB. You can link to those articles at Wikisource choosing the appropriate DNB template from the list below. Wikisource:Dictionary of National Biography, Index and Epitome does not exist so this template does not support direct access to Wikisource.

Hidden categories

This template includes a hidden category:

See also

{{#lst:Template:Cite DNB/doc|DNB_see_also}}