Difference between revisions of "Template:Cite ODNB/Sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
imported>Rich Farmbrough
Line 58: Line 58:
 
  <!-- Create the doi from the id -->
 
  <!-- Create the doi from the id -->
 
  |{{#if:{{{id|}}}|{{#if:{{{doi|}}}|HIDE_PARAMETER38|doi}}|HIDE_PARAMETER38}}={{#if:{{{id|}}}|{{#if:{{{doi|}}}||10.1093/ref:odnb/{{{id|}}}}}}}
 
  |{{#if:{{{id|}}}|{{#if:{{{doi|}}}|HIDE_PARAMETER38|doi}}|HIDE_PARAMETER38}}={{#if:{{{id|}}}|{{#if:{{{doi|}}}||10.1093/ref:odnb/{{{id|}}}}}}}
<!-- These blocks are non-standard -->
 
<!-- Create the url from the id -->
 
|{{#if:{{{id|}}}|{{#if:{{{url|}}}|HIDE_PARAMETER39|url}}|HIDE_PARAMETER39}}={{#if:{{{id|}}}|{{#if:{{{url|}}}||https://www.oxforddnb.com/view/10.1093/ref:odnb/9780198614128.001.0001/odnb-9780198614128-e-{{{id|}}}}}}}
 
  
 +
<!-- Create the url from the id note that https does not work for the view url for non-free pages ATM -->
 +
|{{#if:{{{id|}}}|{{#if:{{{url|}}}|HIDE_PARAMETER39|url}}|HIDE_PARAMETER39}}={{#if:{{{id|}}}|{{#if:{{{url|}}}||http://www.oxforddnb.com/view/10.1093/ref:odnb/9780198614128.001.0001/odnb-9780198614128-e-{{{id|}}}}}}}
  
 
}} {{#if:{{{freearticle|}}}| |{{ODNBsub|sentence=yes}}}}<!--
 
}} {{#if:{{{freearticle|}}}| |{{ODNBsub|sentence=yes}}}}<!--

Revision as of 12:53, 3 August 2018

Oxford Dictionary of National Biography (online ed.). Oxford University Press. Missing or empty |title= (help)CS1 maint: ref=harv (link) Template:ODNBsub

50px Template documentation[create]