Still working to recover. Please don't edit quite yet.

Difference between revisions of "Template:Cite book"

From Anarchopedia
Jump to: navigation, search
m (testing an older version of the template)
Line 4: Line 4:
 
   |{{#if:{{{last|}}} | {{#if:{{{year|}}} | id="Reference-{{{last}}}-{{{year}}}" }} }}
 
   |{{#if:{{{last|}}} | {{#if:{{{year|}}} | id="Reference-{{{last}}}-{{{year}}}" }} }}
 
}}>{{
 
}}>{{
   #if: {{{author|}}}{{{last|}}}
+
   #if: {{{author|{{{last|}}}}}}
 
   | {{
 
   | {{
 
     #if: {{{authorlink|}}}
 
     #if: {{{authorlink|}}}
Line 19: Line 19:
 
   }}
 
   }}
 
}}{{
 
}}{{
   #if: {{{author|}}}{{{last|}}}
+
   #if: {{{author|{{{last|}}}}}}
   | {{ #if: {{{coauthors|}}} | <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
+
   | {{ #if: {{{coauthors|}}} | ,&#32;{{{coauthors}}} }}
 
}}{{
 
}}{{
 
   #if: {{{origdate|}}}
 
   #if: {{{origdate|}}}
Line 43: Line 43:
 
     }}
 
     }}
 
   }}
 
   }}
}}{{ #if: {{{author|}}}{{{last|}}} | .
+
}}{{ #if: {{{author|{{{last|}}}}}} | .
 
}}{{
 
}}{{
 
   #if: {{{chapter|}}}
 
   #if: {{{chapter|}}}
   | &#32;"{{
+
   | &#32;“{{
 
     #if: {{{chapterurl|}}}
 
     #if: {{{chapterurl|}}}
 
     | [{{{chapterurl}}} {{{chapter}}}]
 
     | [{{{chapterurl}}} {{{chapter}}}]
 
     | {{{chapter}}}
 
     | {{{chapter}}}
}}",}}{{
+
}}”,}}{{
 
   #if: {{{editor|}}}
 
   #if: {{{editor|}}}
   | &#32;in {{{editor}}}:
+
   | &#32;{{{editor}}}
}} <i>{{
+
}} ''{{
 
   #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
 
   #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
}}</i>{{
+
}}''{{
 
   #if: {{{format|}}} | &#32;({{{format}}})
 
   #if: {{{format|}}} | &#32;({{{format}}})
 
}}{{
 
}}{{
Line 61: Line 61:
 
}}{{
 
}}{{
 
   #if: {{{edition|}}} | , {{{edition}}}
 
   #if: {{{edition|}}} | , {{{edition}}}
}}{{
 
  #if: {{{series|}}} | , {{{series}}}
 
 
}}{{
 
}}{{
 
   #if: {{{language|}}} | &#32;(in {{{language}}})
 
   #if: {{{language|}}} | &#32;(in {{{language}}})
Line 74: Line 72:
 
   #if: {{{pages|}}} | ,&#32;{{{pages}}}
 
   #if: {{{pages|}}} | ,&#32;{{{pages}}}
 
}}{{
 
}}{{
   #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi|{{{doilabel|}}}}}} {{{doi}}}]
+
   #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}]
 
}}{{
 
}}{{
 
   #if: {{{id|}}} | . {{{id}}}
 
   #if: {{{id|}}} | . {{{id}}}
}}{{
 
  #if: {{{isbn|}}} | . ISBN {{{isbn}}}
 
}}{{
 
  #if: {{{oclc|}}} | . [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
 
 
}}{{
 
}}{{
 
   #if: {{{accessdate|}}}
 
   #if: {{{accessdate|}}}
Line 93: Line 87:
 
   }}
 
   }}
 
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}”
 
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}”
}}</cite><!--
+
}}</cite></includeonly><noinclude>{{/doc}}</noinclude>
--><span class="Z3988" title="ctx_ver=Z39.88-2004<!--
+
  -->&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook<!--
+
  -->&rft.genre=book<!--
+
  -->&rft.btitle={{urlencode:{{{title|}}}}}<!--
+
  -->&rft.title={{urlencode:{{{title|}}}}}<!--
+
  -->{{#if: {{{chapter|}}}  | &rft.atitle={{urlencode:{{{chapter}}}}}  }}<!--
+
  -->{{#if: {{{last|}}}      | &rft.aulast={{urlencode:{{{last}}}}}      }}<!--
+
  -->{{#if: {{{first|}}}    | &rft.aufirst={{urlencode:{{{first}}}}}    }}<!--
+
  -->{{#if: {{{author|}}}    | &rft.au={{urlencode:{{{author}}}}}        }}<!--
+
  -->{{#if: {{{date|}}}
+
      | &rft.date={{urlencode:{{{date}}}}}
+
      | {{#if: {{{year|}}}  | &rft.date={{urlencode:{{{year}}}}} }}    }}<!--
+
  -->{{#if: {{{edition|}}}  | &rft.edition={{urlencode:{{{edition}}}}}  }}<!--
+
  -->{{#if: {{{publisher|}}} | &rft.pub={{urlencode:{{{publisher}}}}}    }}<!--
+
  -->{{#if: {{{location|}}}  | &rft.place={{urlencode:{{{location}}}}}  }}<!--
+
  -->{{#if: {{{pages|}}}    | &rft.pages={{urlencode:{{{pages}}}}}      }}<!--
+
  -->{{#if: {{{series|}}}    | &rft.series={{urlencode:{{{series}}}}}      }}<!--
+
  -->{{#if: {{{isbn|}}}      | &rft.isbn={{{isbn}}}                      }}<!--
+
  -->{{#if: {{{oclc|}}}      | &rft_id=info:oclcnum/{{{oclc}}}          }}<!--
+
  -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}}  }}<!--
+
  -->{{#if: {{{url|}}}      | &rft_id={{urlencode:{{{url}}}}}          }}<!--
+
  -->">&nbsp;</span></includeonly>
+
<noinclude>
+
[[Category:Templates]]
+
</noinclude>
+

Revision as of 00:54, 6 July 2008

Template:/doc