Difference between revisions of "Template:Citation/core"

From Point Omega Research
Jump to: navigation, search
(kClXuTlPl)
m (Reverted edits by 173.162.82.25 (Talk) to last revision by BigSmoke)
 
Line 1: Line 1:
Home run! Great slugngig with that answer!
+
<span
 +
<!-- This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: -->
 +
    class="Z3988"
 +
    title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:}}book{{
 +
      #if: {{{Journal|}}}
 +
      |&rft.genre=article&rft.atitle={{urlencode:{{{Title|}}}}}&rft.title={{urlencode:{{{Periodical|}}}}}
 +
      |{{
 +
        #if: {{{IncludedWorkTitle|}}}
 +
        |&rft.genre=bookitem&rft.atitle={{urlencode:{{{IncludedWorkTitle|}}}}}
 +
        |&rft.genre=book
 +
      }}&rft.title={{urlencode:{{{Title|}}}}}
 +
    }}{{
 +
      #if: {{{Surname1|}}} |&rft.aulast={{urlencode:{{{Surname1}}}}}
 +
    }}{{
 +
      #if: {{{Given1|}}} |&rft.aufirst={{urlencode:{{{Given1}}}}}
 +
    }}{{
 +
      #if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}
 +
    }}{{
 +
      #if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}}
 +
    }}{{
 +
      #if: {{{Issue|}}} |&rft.issue={{urlencode:{{{Issue}}}}}
 +
    }}{{
 +
      #if: {{{Pages|}}} |&rft.pages={{urlencode:{{{Pages}}}}}
 +
    }}{{
 +
      #if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}}
 +
    }}{{
 +
      #if: {{{Place|}}} |&rft.place={{urlencode:{{{Place}}}}}
 +
    }}{{
 +
      #if: {{{PublicationPlace|}}} |&rft.place={{urlencode:{{{PublicationPlace}}}}}
 +
    }}{{
 +
      #if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}}
 +
    }}{{
 +
      #if: {{{DOI|}}} |&rft_id=info:doi/{{urlencode:{{{DOI}}}}}
 +
    }}{{
 +
      #if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}
 +
    }}{{
 +
      #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}
 +
    }}{{
 +
      #if: {{{URL|{{{IncludedWorkURL|}}}}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
 +
    }}"
 +
><cite
 +
    style="font-style:normal"
 +
    class="external text"
 +
{{
 +
  #if:{{{Ref|}}}
 +
  |{{#ifeq:{{{Ref|}}}|none||id="{{{Ref|}}}"}}
 +
  |id="CITEREF{{#if:{{{Surname1|}}}
 +
    |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
 +
    |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
 +
  }}{{{Year|{{{Date|}}}}}}"
 +
}}>{{
 +
<!--============  Author or editor and date  ============-->
 +
  #if:{{{Surname1|}}}
 +
  |{{Citation/authors
 +
    | Surname1 = {{{Surname1|}}}
 +
    | Given1 = {{{Given1|}}}
 +
    | Authorlink1 = {{{Authorlink1|}}}
 +
    | Surname2 = {{{Surname2|}}}
 +
    | Given2 = {{{Given2|}}}
 +
    | Authorlink2 = {{{Authorlink2|}}}
 +
    | Surname3 = {{{Surname3|}}}
 +
    | Given3 = {{{Given3|}}}
 +
    | Authorlink3 = {{{Authorlink3|}}}
 +
    | Surname4 = {{{Surname4|}}}
 +
    | Given4 = {{{Given4|}}}
 +
    | Authorlink4 = {{{Authorlink4|}}}
 +
  }}{{
 +
    #if: {{{Date|}}}
 +
    |&#32;({{{Date}}})
 +
  }}
 +
  |{{
 +
    #if: {{{EditorSurname1|}}}
 +
    |{{Citation/authors
 +
        | Surname1 = {{{EditorSurname1|}}}
 +
        | Given1 = {{{EditorGiven1|}}}
 +
        | Authorlink1 = {{{Editorlink1|}}}
 +
        | Surname2 = {{{EditorSurname2|}}}
 +
        | Given2 = {{{EditorGiven2|}}}
 +
        | Authorlink2 = {{{Editorlink2|}}}
 +
        | Surname3 = {{{EditorSurname3|}}}
 +
        | Given3 = {{{EditorGiven3|}}}
 +
        | Authorlink3 = {{{Editorlink3|}}}
 +
        | Surname4 = {{{EditorSurname4|}}}
 +
        | Given4 = {{{EditorGiven4|}}}
 +
        | Authorlink4 = {{{Editorlink4|}}}
 +
      }}, ed{{#if:{{{EditorSurname2|}}}|s}}.{{
 +
        #if: {{{Date|}}}
 +
        |&#32;({{{Date}}})
 +
      }}
 +
  }}
 +
}}{{
 +
<!--============  Title of included work  ============-->
 +
  #if: {{{IncludedWorkTitle|}}}
 +
  |, {{Link
 +
    | 1={{
 +
          #if: {{{IncludedWorkURL|}}}
 +
          |{{{IncludedWorkURL}}}
 +
          |{{{URL|}}}
 +
        }}
 +
    | 2={{
 +
          #if: {{{Periodical|}}}
 +
          |''{{{IncludedWorkTitle}}}''
 +
          |"{{{IncludedWorkTitle}}}"
 +
        }}
 +
  }}
 +
}}{{
 +
<!--============  Place (if different than PublicationPlace) ============-->
 +
  #if: {{{Place|}}}
 +
  |{{
 +
    #ifeq: {{{Place|}}} | {{{PublicationPlace|}}}
 +
    |
 +
    |{{
 +
        #if: {{{Surname1|}}}
 +
        |, at {{{Place}}}
 +
        |{{
 +
          #if: {{{EditorSurname1|}}}
 +
          |, at {{{Place}}}
 +
          |{{
 +
              #if {{{IncludedWorkTitle|}}}
 +
              |, at {{{Place}}}
 +
            }}
 +
        }}
 +
      }}
 +
  }}
 +
}}{{
 +
<!--============  Editor of compilation  ============-->
 +
  #if: {{{EditorSurname1|}}}
 +
  |{{
 +
    #if: {{{Surname1|}}}
 +
    |, {{
 +
        #if: {{{IncludedWorkTitle|}}}
 +
        |in&#32;
 +
      }}{{Citation/authors
 +
        | Surname1 = {{{EditorSurname1|}}}
 +
        | Given1 = {{{EditorGiven1|}}}
 +
        | Authorlink1 = {{{Editorlink1|}}}
 +
        | Surname2 = {{{EditorSurname2|}}}
 +
        | Given2 = {{{EditorGiven2|}}}
 +
        | Authorlink2 = {{{Editorlink2|}}}
 +
        | Surname3 = {{{EditorSurname3|}}}
 +
        | Given3 = {{{EditorGiven3|}}}
 +
        | Authorlink3 = {{{Editorlink3|}}}
 +
        | Surname4 = {{{EditorSurname4|}}}
 +
        | Given4 = {{{EditorGiven4|}}}
 +
        | Authorlink4 = {{{Editorlink4|}}}
 +
      }}{{
 +
        #if: {{{IncludedWorkTitle|}}}
 +
        |
 +
        |, ed{{#if:{{{EditorSurname2|}}}|s}}.
 +
      }}
 +
  }}
 +
}}{{
 +
  <!--============  Periodicals  ============-->
 +
  #if: {{{Periodical|}}}
 +
  |{{
 +
    #if: {{{Surname1|}}}
 +
    |,&#32;
 +
    |{{
 +
        #if: {{{EditorSurname1|}}}
 +
        |,&#32;
 +
      }}
 +
  }}{{
 +
    #if: {{{Title|}}}
 +
    |"{{Link
 +
        | 1={{
 +
              #if: {{{IncludedWorkTitle|}}}
 +
              |{{
 +
                #if: {{{IncludedWorkURL|}}}
 +
                |{{{URL|}}}
 +
              }}
 +
              |{{{URL|}}}
 +
            }}
 +
        | 2={{{Title}}}
 +
      }}",&#32;
 +
  }}''{{{Periodical}}}''{{
 +
    #if: {{{Volume|}}}
 +
    |&#32;'''{{{Volume}}}'''{{
 +
        #if: {{{Issue|}}}
 +
        |&#x00a0;({{{Issue}}})
 +
      }}
 +
    |{{
 +
        #if: {{{Issue|}}}
 +
        |&#32;(no. {{{Issue}}})
 +
      }}
 +
  }}{{
 +
    #if: {{{Pages|}}}
 +
    |<nowiki>: </nowiki> {{{Pages|}}}
 +
  }}{{
 +
    #if: {{{PublicationPlace|}}}
 +
    |, {{{PublicationPlace}}}
 +
  }}{{
 +
    #if: {{{Publisher|}}}
 +
    |{{
 +
        #if: {{{PublicationPlace|}}}
 +
        |<nowiki>:</nowiki>
 +
        |,
 +
      }} {{{Publisher}}}
 +
  }}
 +
  |{{
 +
    <!--============ Anything else with a title, including books ============-->
 +
    #if: {{{Title|}}}
 +
    |{{
 +
        #if: {{{Surname1|}}}
 +
        |,&#32;
 +
        |{{
 +
          #if: {{{EditorSurname1|}}}
 +
          |,&#32;
 +
          |{{
 +
              #if: {{{IncludedWorkTitle|}}}
 +
              |,&#32;
 +
              |{{
 +
                #if: {{{Periodical|}}}
 +
                |,&#32;
 +
              }}
 +
            }}
 +
        }}
 +
      }}''{{Link
 +
        | 1={{
 +
              #if: {{{IncludedWorkTitle|}}}
 +
              |{{
 +
                #if: {{{IncludedWorkURL|}}}
 +
                |{{{URL|}}}
 +
              }}
 +
              |{{{URL|}}}
 +
            }}
 +
        | 2={{{Title}}}
 +
      }}''{{
 +
        #if: {{{Volume|}}}
 +
        |, vol. {{{Volume}}}
 +
      }}{{
 +
        #if: {{{Edition|}}}
 +
        |&#32;({{{Edition}}} ed.)
 +
      }}{{
 +
        #if: {{{PublicationPlace|}}}
 +
        |, {{{PublicationPlace}}}
 +
      }}{{
 +
        #if: {{{Publisher|}}}
 +
        |{{
 +
          #if: {{{PublicationPlace|}}}
 +
          |<nowiki>:</nowiki>
 +
          |,
 +
        }} {{{Publisher}}}
 +
      }}
 +
  }}
 +
}}{{
 +
<!--============ Date (if no author/editor) ============-->
 +
  #if: {{{Surname1|}}}
 +
  |
 +
  |{{
 +
    #if: {{{EditorSurname1|}}}
 +
    |
 +
    |{{
 +
        #if: {{{Date|}}}
 +
        |, {{{Date}}}
 +
      }}
 +
  }}
 +
}}{{
 +
<!--============ Publication date ============-->
 +
  #if: {{{PublicationDate|}}}
 +
  |{{
 +
    #ifeq: {{{PublicationDate|}}} | {{{Date|}}}
 +
    |
 +
    |{{
 +
        #if: {{{EditorSurname1|}}}
 +
        |{{
 +
          #if: {{{Surname1|}}}
 +
          |, {{{PublicationDate}}}
 +
          |&#32;(published {{{PublicationDate}}})
 +
        }}
 +
        |{{
 +
          #if: {{{Surname1|}}}
 +
          |
 +
          |&#32;(published {{{PublicationDate}}})
 +
        }}
 +
      }}
 +
  }}
 +
}}{{
 +
<!--============ Misc. Identifier ============-->
 +
  #if: {{{ID|}}}
 +
  |, {{{ID}}}
 +
}}{{
 +
<!--============ ISBN ============-->
 +
  #if: {{{ISBN|}}}
 +
  |, ISBN {{{ISBN}}}
 +
}}{{
 +
<!--============ ISSN ============-->
 +
  #if: {{{ISSN|}}}
 +
  |, [[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{ISSN}}} {{{ISSN}}}]
 +
}}{{
 +
<!--============ OCLC ============-->
 +
  #if: {{{OCLC|}}}
 +
  |, [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{OCLC}}}}} {{{OCLC}}}]
 +
}}{{
 +
<!--============ DOI ============-->
 +
  #if: {{{DOI|}}}
 +
  |, [[Digital object identifier|DOI]]:[http://dx.doi.org/{{{DOI}}} {{{DOI}}}]
 +
}}{{
 +
<!--============ Page within included work ============-->
 +
  #if: {{{Periodical|}}}
 +
  |
 +
  |{{
 +
    #if: {{{Pages|}}}
 +
    |, at {{{Pages}}}
 +
  }}
 +
}}{{
 +
<!--============ Access date ============-->
 +
  #if: {{{URL|}}}
 +
  |{{
 +
    #if:{{{AccessDate|}}}
 +
    |. Retrieved on {{{AccessDate}}}
 +
  }}
 +
}}</cite></span>

Latest revision as of 21:06, 13 April 2011