Template:Cite book: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Ligulem
(substed {{doi}} manually, so that we don't need to call another template)
meta>Sl
m (+zh:)
Line 1: Line 1:
<cite class="book" style="font-style:normal">{{
<cite class="book" style="font-style:normal">{{
   #if: {{{author|{{{last|}}}}}}
   #if: {{{author|{{{last|}}}}}}
   | {{  
   | {{
     #if: {{{authorlink|}}}
     #if: {{{authorlink|}}}
     | [[{{{authorlink}}}|{{
     | [[{{{authorlink}}}|{{
Line 14: Line 14:
     }}
     }}
   }}
   }}
}}{{  
}}{{
   #if: {{{author|{{{last|}}}}}}
   #if: {{{author|{{{last|}}}}}}
   | {{ #if: {{{coauthors|}}} | <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
   | {{ #if: {{{coauthors|}}} | <nowiki>;</nowiki>&#32;{{{coauthors}}} }}
}}{{  
}}{{
   #if: {{{origdate|}}}
   #if: {{{origdate|}}}
   | &#32;<nowiki>[</nowiki>{{{origdate}}}]
   | &#32;<nowiki>[</nowiki>{{{origdate}}}]
   | {{  
   | {{
     #if: {{{origyear|}}}
     #if: {{{origyear|}}}
     | {{  
     | {{
       #if: {{{origmonth|}}}
       #if: {{{origmonth|}}}
       | &#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
       | &#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
Line 28: Line 28:
     }}
     }}
   }}
   }}
}}{{  
}}{{
   #if: {{{date|}}}
   #if: {{{date|}}}
   | &#32;({{{date}}})
   | &#32;({{{date}}})
   | {{  
   | {{
     #if: {{{year|}}}
     #if: {{{year|}}}
     | {{  
     | {{
       #if: {{{month|}}}
       #if: {{{month|}}}
       | &#32;({{{month}}} {{{year}}})
       | &#32;({{{month}}} {{{year}}})
Line 40: Line 40:
   }}
   }}
}}{{ #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;{{{editor}}}
   | &#32;{{{editor}}}
}} ''{{  
}} ''{{
   #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
   #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
}}''{{  
}}''{{
   #if: {{{format|}}} | &#32;({{{format}}})    
   #if: {{{format|}}} | &#32;({{{format}}})
}}{{  
}}{{
   #if: {{{others|}}} | , {{{others}}}          
   #if: {{{others|}}} | , {{{others}}}
}}{{  
}}{{
   #if: {{{edition|}}} | , {{{edition}}}        
   #if: {{{edition|}}} | , {{{edition}}}
}}{{  
}}{{
   #if: {{{language|}}} | &#32;(in {{{language}}})  
   #if: {{{language|}}} | &#32;(in {{{language}}})
}}{{  
}}{{
   #if: {{{pages|}}} | ,&#32;{{{pages}}}      
   #if: {{{pages|}}} | ,&#32;{{{pages}}}
}}{{  
}}{{
   #if: {{{publisher|}}}
   #if: {{{publisher|}}}
   | , {{ #if: {{{location|}}} | {{{location}}}:&#32;
   | , {{ #if: {{{location|}}} | {{{location}}}:&#32;
}}{{{publisher}}}}}{{
}}{{{publisher}}}}}{{
   #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}]
   #if: {{{doi|}}} | . [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{doi}}} {{{doi}}}]
}}{{  
}}{{
   #if: {{{id|}}} | . {{{id}}}  
   #if: {{{id|}}} | . {{{id}}}
}}{{  
}}{{
   #if: {{{accessdate|}}}
   #if: {{{accessdate|}}}
   | . URL accessed [[{{{accessdate}}}]]
   | . URL accessed [[{{{accessdate}}}]]
   | {{  
   | {{
     #if: {{{accessyear|}}}
     #if: {{{accessyear|}}}
     | . URL accessed {{  
     | . URL accessed {{
       #if: {{{accessmonth|}}}
       #if: {{{accessmonth|}}}
       | on [[{{{accessmonth}}} {{{accessyear}}}]]
       | on [[{{{accessmonth}}} {{{accessyear}}}]]
Line 81: Line 81:
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}”
}}.{{ #if: {{{quote|}}} | &nbsp;“{{{quote}}}”
}}</cite><noinclude>
}}</cite><noinclude>


This template replaces the deprecated {{tl|book reference}}.
This template replaces the deprecated {{tl|book reference}}.
Line 93: Line 92:
[[sk:Šablóna:Knižná referencia]]
[[sk:Šablóna:Knižná referencia]]
[[vi:Tiêu bản:Chú thích sách]]
[[vi:Tiêu bản:Chú thích sách]]
[[zh:Template:Cite book]]
</noinclude>
</noinclude>

Revision as of 13:12, 23 April 2006