Difference between revisions of "Template:Citation/web"

From WikiChem
Jump to: navigation, search
(Created page with '<span <!--============ COinS tag ============ This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: --> class="Z3988" …')
 
Line 1: Line 1:
<span
+
<cite  
<!--============  COinS tag  ============
 
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: {{{At|}}} |&rft.pages={{urlencode:{{{At}}}}}
 
    }}{{
 
      #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: {{{PMID|}}} |&rft_id=info:pmid/{{urlencode:{{{PMID}}}}}
 
    }}{{
 
      #if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}
 
    }}{{
 
      #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}
 
    }}{{
 
      #if: {{{URL|{{{IncludedWorkURL|}}}}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
 
    }}"
 
><cite  
 
 
{{
 
{{
 
   #if:{{{Ref|}}}
 
   #if:{{{Ref|}}}
 
   |{{#ifeq:{{{Ref|}}}|none||id="{{anchorencode:{{{Ref|}}}}}"}}
 
   |{{#ifeq:{{{Ref|}}}|none||id="{{anchorencode:{{{Ref|}}}}}"}}
   |id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}}
+
   |id="CITEREF{{anchorencode:{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}{{{Year|{{{Date|}}}}}}{{{IncludedWorkTitle|}}}{{{Title|}}}}}"
    |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
 
    |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
 
  }}{{{Year|{{{Date|}}}}}}}}"
 
 
}}>{{
 
}}>{{
 
<!--============  Author or editor  ============-->
 
<!--============  Author or editor  ============-->
Line 87: Line 41:
 
               |, {{{Given3}}}
 
               |, {{{Given3}}}
 
             }}
 
             }}
        }}{{
 
          #if:{{{Surname4|}}}
 
          |<nowiki>; </nowiki>{{
 
              #if: {{{Authorlink4|}}}
 
              |[[{{{Authorlink4}}} |{{{Surname4}}}{{
 
                #if: {{{Given4|}}}
 
                |, {{{Given4}}}
 
              }}]]
 
              |{{{Surname4}}}{{
 
                #if: {{{Given4|}}}
 
                |, {{{Given4}}}
 
              }}
 
            }}{{
 
              #if:{{{Surname5|}}}
 
              |<nowiki>; </nowiki>{{
 
                #if: {{{Authorlink5|}}}
 
                |[[{{{Authorlink5}}} |{{{Surname5}}}{{
 
                    #if: {{{Given5|}}}
 
                    |, {{{Given5}}}
 
                  }}]]
 
                |{{{Surname5}}}{{
 
                    #if: {{{Given5|}}}
 
                    |, {{{Given5}}}
 
                  }}
 
              }}{{
 
                #if:{{{Surname6|}}}
 
                |<nowiki>; </nowiki>{{
 
                    #if: {{{Authorlink6|}}}
 
                    |[[{{{Authorlink6}}} |{{{Surname6}}}{{
 
                      #if: {{{Given6|}}}
 
                      |, {{{Given6}}}
 
                    }}]]
 
                    |{{{Surname6}}}{{
 
                      #if: {{{Given6|}}}
 
                      |, {{{Given6}}}
 
                    }}
 
                  }}{{
 
                    #if:{{{Surname7|}}}
 
                    |<nowiki>; </nowiki>{{
 
                      #if: {{{Authorlink7|}}}
 
                      |[[{{{Authorlink7}}} |{{{Surname7}}}{{
 
                          #if: {{{Given7|}}}
 
                          |, {{{Given7}}}
 
                        }}]]
 
                      |{{{Surname7}}}{{
 
                          #if: {{{Given7|}}}
 
                          |, {{{Given7}}}
 
                        }}
 
                    }}{{
 
                      #if:{{{Surname8|}}}
 
                      |<nowiki>; </nowiki>{{
 
                          #if: {{{Authorlink8|}}}
 
                          |[[{{{Authorlink8}}} |{{{Surname8}}}{{
 
                            #if: {{{Given8|}}}
 
                            |, {{{Given8}}}
 
                          }}]]
 
                          |{{{Surname8}}}{{
 
                            #if: {{{Given8|}}}
 
                            |, {{{Given8}}}
 
                          }}
 
                        }}{{
 
                          #if:{{{Surname9|}}}
 
                          |<nowiki>; </nowiki>&#32;et al.
 
                        }}
 
                    }}
 
                  }}
 
              }}
 
            }}
 
        }}
 
 
       }}
 
       }}
   }}
+
   }}{{
 +
  #if:{{{Surname4|}}}
 +
  |, et al.
 +
  }}
 
}}{{
 
}}{{
 
<!--============  Title of included work  ============-->
 
<!--============  Title of included work  ============-->
Line 165: Line 53:
 
     |&#32;  
 
     |&#32;  
 
   }}{{Link
 
   }}{{Link
     | 1={{
+
     | 1={{{IncludedWorkURL|{{{URL|}}}}}}
          #if: {{{IncludedWorkURL|}}}
 
          |{{{IncludedWorkURL}}}
 
          |{{
 
              #if: {{{URL|}}}
 
              |{{{URL}}}
 
              |{{
 
                #if: {{{DOI|}}}
 
                |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
 
                  |{{
 
                    #if: {{{PMID|}}}
 
                    | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}
 
                  }}
 
              }}
 
            }}  
 
        }}
 
 
     | 2={{{IncludedWorkTitle}}}
 
     | 2={{{IncludedWorkTitle}}}
 
   }}.&#32;
 
   }}.&#32;
 
}}{{
 
}}{{
<!--============  Periodicals  ============-->
 
  #if: {{{Periodical|}}}
 
  |{{
 
    #if: {{{Surname1|}}}{{{EditorSurname1|}}}
 
    |&#32;
 
  }}{{
 
    #if: {{{Title|}}}
 
    |{{Link
 
        | 1={{
 
              #if: {{{IncludedWorkTitle|}}}
 
              |{{
 
                #if: {{{IncludedWorkURL|}}}
 
                |{{
 
                    #if: {{{URL|}}}
 
                    |{{{URL}}}
 
                    |{{
 
                      #if: {{{DOI|}}}
 
                      |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
 
                  |{{
 
                    #if: {{{PMID|}}}
 
                    | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}
 
                  }}
 
                    }}
 
                  }}
 
              }}
 
              |{{
 
                #if: {{{URL|}}}
 
                |{{{URL}}}
 
                |{{
 
                    #if: {{{DOI|}}}
 
                    |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
 
                  |{{
 
                    #if: {{{PMID|}}}
 
                    | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}
 
                  }}
 
                  }}
 
              }}
 
            }}
 
        | 2={{{Title}}}
 
      }}.&#32;
 
  }}''{{{Periodical}}}''{{
 
    #if: {{{Series|}}}
 
    |, {{{Series}}}
 
  }}{{
 
    #if: {{{PublicationPlace|}}}
 
    |{{
 
        #if: {{{Publisher|}}}
 
        |&#32;({{{Publisher}}}<nowiki>: </nowiki>{{{PublicationPlace}}})
 
        |&#32;({{{PublicationPlace}}})
 
      }}
 
    |{{
 
        #if: {{{Publisher|}}}
 
        |&#32;({{{Publisher}}})
 
      }}
 
  }}{{
 
        #if: {{{Date|}}}
 
        |&#32;'''{{{Date}}}'''
 
      }}{{
 
    #if: {{{Volume|}}}
 
    |, ''{{{Volume}}}''{{
 
        #if: {{{Issue|}}}
 
        |&#x00a0;({{{Issue}}})
 
      }}
 
    |{{
 
        #if: {{{Issue|}}}
 
        |&#32;({{{Issue}}})
 
      }}
 
  }}{{
 
    #if: {{{At|}}}
 
    |, {{{At}}}
 
  }}
 
  |{{
 
 
<!--============ Anything else with a title, including books ============-->
 
<!--============ Anything else with a title, including books ============-->
 
     #if: {{{Title|}}}
 
     #if: {{{Title|}}}
Line 396: Line 197:
 
       }}
 
       }}
 
     }}
 
     }}
}}{{
 
<!--============ 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}}}]
 
}}{{
 
<!--============ PMID ============-->
 
  #if: {{{PMID|}}}
 
  |. PMID {{{PMID}}}
 
}}{{
 
<!--============ DOI ============-->
 
  #if: {{{DOI|}}}
 
  |{{
 
    #if: {{{URL|}}}{{{IncludedWorkURL|}}}
 
    |. [[Digital object identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{{DOI}}}]
 
    |<span class="printonly">. DOI: {{{DOI}}}</span>
 
  }}
 
 
}}{{
 
}}{{
 
<!--============ URL and AccessDate ============-->
 
<!--============ URL and AccessDate ============-->
Line 443: Line 216:
 
     | .&#32;(accessed {{date|{{{AccessDate}}}}})
 
     | .&#32;(accessed {{date|{{{AccessDate}}}}})
 
   }}
 
   }}
}}</cite></span><noinclude>
+
}}</cite><noinclude>
  
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 05:53, 22 August 2009

[edit] [purge] Template-info-500px.png Template documentation


Usage

Parameters

Examples

See also

Error creating thumbnail: Unable to save thumbnail to destination
This template is currently licensed under the Creative Commons Attribution 3.0 Unported license and any later versions of that license.