Template:Cite DNB: Difference between revisions

From Wikishire
Jump to navigation Jump to search
No edit summary
RB (talk | contribs)
Replaced content with "Dictionary of National Biography, {{#if:{{{volume|}}}|Vol {{{volume}}}}} {{#if:{{{page|}}}|p {{{page}}}|{{#if:{{{pages|}}}|pp {{{pages}}}}}}}: ''{{#if:{{{wstitle|}}}|{{{ws..."
 
Line 1: Line 1:
{{#if: {{{no-icon|{{{noicon|}}}<!-- -->}}}|<!--empty-->|
Dictionary of National Biography, {{#if:{{{volume|}}}|Vol {{{volume}}}}} {{#if:{{{page|}}}|p {{{page}}}|{{#if:{{{pages|}}}|pp {{{pages}}}}}}}: ''{{#if:{{{wstitle|}}}|{{{wstitle}}}}}{{#if:{{{title|}}}|{{{title}}}}}''<noinclude>
  <!--else-->{{#ifeq: {{{wstitle|}}}|<!--eq to empty-->|
              <!--then-->[[File:PD-icon.svg|12px|alt=|link=]]&nbsp;
              |<!--else-->[[File:Wikisource-logo.svg|12px|alt=|link=]]&nbsp;}}<!--endif
-->}}<!--
optional verbatim message - not included by default
-->{{#if:{{{vb|}}}|This article incorporates text from a publication now in the public domain:&nbsp;|}}<!--
cite encyclopedia wrapper
-->{{cite encyclopedia
| 1={{{1|}}}
| last = {{{last|{{{author|}}} }}}
| first = {{{first|}}}
| authorlink = {{{authorlink|}}}
| editor-first= {{#if: {{{volume|}}} | {{#if: {{{supplement|}}} | Sidney | {{#ifexpr: {{{volume}}} < 26  | Leslie | Sidney  }} }} | }}
| editor-last= {{#if: {{{volume|}}} | {{#if: {{{supplement|}}} | Lee | {{#ifexpr: {{{volume}}} < 26 | Stephen |Lee }} }} | }}
| editorlink= {{#if: {{{volume|}}} | {{#if: {{{supplement|}}} | Sidney Lee | {{#ifexpr: {{{volume}}} < 26 | Leslie Stephen  | Sidney Lee }} }} | }}
| editor2-first= {{#if: {{{supplement|}}}| | {{#switch:{{{volume}}} | 21 | 22 | 23 | 24 | 25  = Sidney}} }}
| editor2-last= {{#if: {{{supplement|}}}| | {{#switch:{{{volume}}} | 21 | 22 | 23 | 24 | 25  = Lee}} }}
| editor2link= {{#if: {{{supplement|}}}| | {{#switch:{{{volume}}} | 21 | 22 | 23 | 24 | 25  = Sidney Lee}} }}
| encyclopedia = Dictionary of National Biography {{#if: {{{supplement|}}} | (1st supplement) |}}{{#if: {{{2ndsupp|}}} | (2nd supplement) |}}
 
| title = {{#ifeq: {{{wstitle|}}}|<!--eq to empty-->|
                <!--then-->{{{title|}}}
                |[[s:{{{wstitle|}}} {{#if: {{{supplement|}}} | (DNB01) | (DNB00) }}{{!}}{{{wstitle|}}}]]
            <!--endif-->}}
| url = {{#ifeq: {{{wstitle|}}}| |{{{url|}}}<!--endif-->}}
| accessdate = {{{accessdate|}}}
| year = {{{year | {{#if: {{{2ndsupp|}}} | 1912 | {{#if: {{{supplement|}}} | 1901 | {{#switch:{{{volume}}}
  | 1 | 2 | 3 | 4 = 1885
  | 5 | 6 | 7 | 8 = 1886
  | 9 | 10 | 11 | 12 = 1887
  | 13 | 14 | 15 | 16 = 1888
  | 17 | 18 | 19 | 20 = 1889
  | 21 | 22 | 23 | 24 = 1890
  | 25 | 26 | 27 | 28 = 1891
  | 29 | 30 | 31 | 32 = 1892
  | 33 | 34 | 35 | 36 = 1893
  | 37 | 38 | 39 | 40 = 1894
  | 41 | 42 | 43 | 44 = 1895
  | 45 | 46 | 47 | 48 = 1896
  | 49 | 50 | 51 | 52 = 1897
  | 53 | 54 | 55 | 56 = 1898
  | 57 | 58 | 59 | 60 = 1899
  | 61 | 62 | 63 = 1900
  | <!-- default if no volume specified --> 1885–1900
  }}<!--supplement-->}}<!-- 2ndsupp -->}}<!--year-->}}}
| publisher = Smith, Elder & Co
| volume = {{{volume|}}}
| location = London
| page = {{{page|}}}
| pages = {{{pages|}}}
| quote = {{{quote|}}}
| ref = {{{ref|}}}
| separator = {{{separator|}}}
| postscript = {{{postscript|}}}
| mode = {{{mode|}}}
}} {{{comment|}}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 00:07, 17 March 2024

Dictionary of National Biography,  : '

[create] Template documentation