Template:Vcite book: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported: Wikipedia article on Nicotine templates needed)
imported>Izno
(tstyles)
 
Line 1: Line 1:
<span class="citation"{{
<templatestyles src="Citation/styles.css"/><cite class="citation book csvan"{{
   #if: {{{ref|{{{harvid|}}}}}}
   #if: {{{ref|{{{harvid|}}}}}}
   | <nowiki/> id="{{anchorencode:{{{ref|CITEREF{{{harvid}}}}}}}}"
   | <nowiki/> id="{{anchorencode:{{{ref|CITEREF{{{harvid}}}}}}}}"
Line 6: Line 6:
}}{{
}}{{
   #if: {{{editor|}}}
   #if: {{{editor|}}}
   | {{#if: {{{chapterurl|}}}{{{chapter|}}}{{{trans_chapter|}}}
   | {{#if: {{{chapter-url|}}}{{{chapter|}}}{{{trans_chapter|}}}
       | {{#if: {{{chapterurl|}}}
       | {{#if: {{{chapter-url|}}}
  | [{{{chapterurl}}} {{#if:||
  | [{{{chapter-url}}} {{#if:||
      {{{chapter|}}} {{
      {{{chapter|}}} {{
#if: {{{trans_chapter|}}} | &#91;{{{trans_chapter}}}&#93;
#if: {{{trans_chapter|}}} | &#91;{{{trans_chapter}}}&#93;
Line 89: Line 89:
   #if: {{{doi|}}}
   #if: {{{doi|}}}
   | &#32;{{
   | &#32;{{
       #if: {{{doi_brokendate|}}}
       #if: {{{doi-broken-date|}}}
       | doi:{{#tag:nowiki|{{{doi}}}}} (inactive {{{doi_brokendate}}}) {{
       | {{doi|{{{doi}}}}} (inactive {{{doi-broken-date}}}) {{
  #ifeq: {{NAMESPACE}} | {{ns:0}}
  #ifeq: {{NAMESPACE}} | {{ns:0}}
  | [[Category:Pages with DOIs broken since {{#time: Y | {{{doi_brokendate}}} }}]]
  | [[Category:Pages with DOIs broken vcite]]
}}
}}
       | [https://dx.doi.org/{{urlencode:{{{doi}}}}} doi:{{#tag:nowiki|{{{doi}}}}}]
       | {{doi|{{{doi}}}}}
     }}.
     }}.
}}{{
}}{{
Line 101: Line 101:
   #if: {{{isbn|}}} | &#32;{{ISBN|{{{isbn}}}}}.
   #if: {{{isbn|}}} | &#32;{{ISBN|{{{isbn}}}}}.
}}{{
}}{{
   #if: {{{oclc|}}} | &#32;[http://worldcat.org/oclc/{{{oclc}}} OCLC {{{oclc}}}].
   #if: {{{oclc|}}} | &#32;{{OCLC|{{{oclc}}}}}.
}}{{
}}{{
   #if: {{{quote|}}} | &#32;"{{{quote}}}"
   #if: {{{quote|}}} | &#32;"{{{quote}}}"
}}{{
}}{{
   #if: {{{laysummary|}}}
   #if: {{{lay-summary|}}}
   | &#32;[{{{laysummary}}} Lay summary]{{
   | &#32;[{{{lay-summary}}} Lay summary]{{
       #if: {{{laysource|}}} | <nowiki/>: ''<nowiki/>{{{laysource}}}<nowiki/>''
       #if: {{{lay-source|}}} | <nowiki/>: ''<nowiki/>{{{lay-source}}}<nowiki/>''
     }}{{#if: {{{laydate|}}} | , {{{laydate}}} }}.
     }}{{#if: {{{lay-date|}}} | , {{{lay-date}}} }}.
}}{{
}}{{
   #if: {{{notes|}}} | &#32;{{{notes}}}
   #if: {{{notes|}}} | &#32;{{{notes}}}
Line 115: Line 115:
}}{{
}}{{
   #if: {{{editor|}}}
   #if: {{{editor|}}}
   || {{#if: {{{chapterurl|}}}{{{chapter|}}}{{{trans_chapter|}}}
   || {{#if: {{{chapter-url|}}}{{{chapter|}}}{{{trans_chapter|}}}
       | &#32;{{
       | &#32;{{
  #if: {{{chapterurl|}}}
  #if: {{{chapter-url|}}}
  | [{{{chapterurl}}} {{#if:||
  | [{{{chapter-url}}} {{#if:||
{{{chapter|}}} {{
{{{chapter|}}} {{
  #if: {{{trans_chapter|}}} | &#91;{{{trans_chapter}}}&#93;
  #if: {{{trans_chapter|}}} | &#91;{{{trans_chapter}}}&#93;
Line 145: Line 145:
}}{{
}}{{
   #if: {{{chapterlanguage|}}} | &#32;{{{chapterlanguage}}}.
   #if: {{{chapterlanguage|}}} | &#32;{{{chapterlanguage}}}.
}}</span><noinclude>
}}</cite><noinclude>
{{documentation|Template:Vcite journal/doc}}
{{documentation|Template:Vcite journal/doc}}
</noinclude>
</noinclude>

Latest revision as of 01:46, 4 September 2021