Template:Cite book: Difference between revisions

    From Nonbinary Wiki
    m>Davidruben
    (as per template:citation, template:cite journal and DOI article, should be cited in lower case doi - changed for consistency between the citation templates)
    m>Huntster
    (fixing redirect (to avoid false positives for those who check redirects in articles) + rm some offending whitespaces.)
    Line 51: Line 51:
    }}",}}{{
    }}",}}{{
       #if: {{{editor|}}}
       #if: {{{editor|}}}
       |  in {{{editor}}}:  
       |  in {{{editor}}}:
    }} <i>{{
    }} <i>{{
       #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
       #if: {{{url|}}} | [{{{url}}} {{{title}}}] | {{{title}}}
    Line 68: Line 68:
    }}{{
    }}{{
       #if: {{{publisher|}}}
       #if: {{{publisher|}}}
       | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}} | ,&#32; | .&#32; }}{{  
       | {{#if: {{{format|}}}{{{others|}}}{{{edition|}}} | ,&#32; | .&#32; }}{{
         #if: {{{location|}}}  
         #if: {{{location|}}}
         | {{{location}}}:&#32;
         | {{{location}}}:&#32;
       }}{{{publisher}}}
       }}{{{publisher}}}
    Line 81: Line 81:
       #if: {{{isbn|}}} | . ISBN {{{isbn}}}
       #if: {{{isbn|}}} | . ISBN {{{isbn}}}
    }}{{
    }}{{
       #if: {{{oclc|}}} | . [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
       #if: {{{oclc|}}} | . [[Online Computer Library Center|OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{oclc}}}}} {{{oclc}}}]
    }}{{
    }}{{
       #if: {{{url|}}}{{{chapterurl|}}} | {{
       #if: {{{url|}}}{{{chapterurl|}}} | {{
    Line 115: Line 115:
       -->{{#if: {{{series|}}}    | &rft.series={{urlencode:{{{series}}}}}    }}<!-- The title of a series in which the book or document was issued. There may also be an ISSN associated with the series.
       -->{{#if: {{{series|}}}    | &rft.series={{urlencode:{{{series}}}}}    }}<!-- The title of a series in which the book or document was issued. There may also be an ISSN associated with the series.
       -->{{#if: {{{isbn|}}}      | &rft.isbn={{{isbn}}}                      }}<!-- International Standard Book Number (ISBN) ... i.e. "057117678X" but it may contain hyphens, e.g. "1-878067-73-7"
       -->{{#if: {{{isbn|}}}      | &rft.isbn={{{isbn}}}                      }}<!-- International Standard Book Number (ISBN) ... i.e. "057117678X" but it may contain hyphens, e.g. "1-878067-73-7"
       -->{{#if: {{{oclc|}}}      | &rft_id=info:oclcnum/{{{oclc}}}          }}<!--  
       -->{{#if: {{{oclc|}}}      | &rft_id=info:oclcnum/{{{oclc}}}          }}<!--
       -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}}  }}<!--  
       -->{{#if: {{{doi|}}}      | &rft_id=info:doi/{{urlencode:{{{doi}}}}}  }}<!--
       -->{{#if: {{{url|}}}      | &rft_id={{urlencode:{{{url}}}}}          }}<!--  
       -->{{#if: {{{url|}}}      | &rft_id={{urlencode:{{{url}}}}}          }}<!--
       -->"><span style="display: none;">&nbsp;</span></span></includeonly><noinclude>{{pp-template|small=yes}}{{documentation}}</noinclude>
       -->"><span style="display: none;">&nbsp;</span></span></includeonly><noinclude>{{pp-template|small=yes}}{{documentation}}</noinclude>

    Revision as of 04:26, 14 July 2008

    Template:Pp-template

    Template documentation[create]