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" …')
 
 
(3 intermediate revisions by the same user not shown)
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  ============-->
 
   #if:{{{Surname1|}}}
 
   #if:{{{Surname1|}}}
 
   |{{
 
   |{{
Line 86: Line 40:
 
               #if: {{{Given3|}}}
 
               #if: {{{Given3|}}}
 
               |, {{{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  ============-->
   #if: {{{IncludedWorkTitle|}}}
+
   #if: {{{IncludedWorkTitle|{{{Title|}}}}}}
 
   |{{
 
   |{{
 
     #if:{{{Surname1|}}}  
 
     #if:{{{Surname1|}}}  
 
     |&#32;  
 
     |&#32;  
 
   }}{{Link
 
   }}{{Link
     | 1={{
+
     | 1={{{IncludedWorkURL|{{{URL|}}}}}}
          #if: {{{IncludedWorkURL|}}}
+
    | 2={{{IncludedWorkTitle|{{{Title|}}}}}}
          |{{{IncludedWorkURL}}}
+
  }}
          |{{
+
}}{{
              #if: {{{URL|}}}
+
<!--============ URL and AccessDate ============-->
              |{{{URL}}}
+
  #if: {{{IncludedWorkURL|{{{URL|}}}}}}
              |{{
+
  |{{
                #if: {{{DOI|}}}
+
    #if:{{{IncludedWorkTitle|{{{Title|}}}}}}
                |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
+
    |<span class="printonly">, &lt;{{{IncludedWorkURL|{{{URL|}}}}}}&gt;</span>
                  |{{  
+
    |{{#if:{{{Surname1|}}}
                    #if: {{{PMID|}}}  
+
        |, &lt;{{{IncludedWorkURL|{{{URL|}}}}}}&gt;
                    | http://www.ncbi.nlm.nih.gov/pubmed/{{urlencode:{{{PMID}}}}}  
+
        |&lt;{{{IncludedWorkURL|{{{URL|}}}}}}&gt;
                  }}  
+
      }}
              }}
+
  }}{{
            }}  
+
    #if: {{{AccessDate|}}}
        }}
+
    |&#32;(accessed {{date|{{{AccessDate}}}}})
     | 2={{{IncludedWorkTitle}}}
+
     |{{#if:{{NAMESPACE}}||[[Category:Citations to websites without dates of access]]}}
   }}.&#32;
+
   }}
 
}}{{
 
}}{{
<!--============ Periodicals  ============-->
+
<!--============ Other identifying information ============-->
   #if: {{{Periodical|}}}
+
   #if: {{{IncludedWorkTitle|}}}{{{IncludedWorkURL|{{{URL|}}}}}}{{{AccessDate|}}}
 
   |{{
 
   |{{
     #if: {{{Surname1|}}}{{{EditorSurname1|}}}
+
     #if:{{{Title|}}}{{{Publisher|}}}{{{Archive|}}}
     |&#32;
+
     |,&#32;
 
   }}{{
 
   }}{{
 
     #if: {{{Title|}}}
 
     #if: {{{Title|}}}
     |{{Link
+
     |{{{Title}}};&#32;
        | 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: {{{Publisher|}}}
 +
    |{{{Publisher}}}{{
 
         #if: {{{Date|}}}
 
         #if: {{{Date|}}}
         |&#32;'''{{{Date}}}'''
+
         |,&#32;{{{Date}}}
 
       }}{{
 
       }}{{
    #if: {{{Volume|}}}
+
         #if: {{{Archive|}}}
    |, ''{{{Volume}}}''{{
+
         |,&#32;
         #if: {{{Issue|}}}
 
        |&#x00a0;({{{Issue}}})
 
      }}
 
    |{{
 
        #if: {{{Issue|}}}
 
         |&#32;({{{Issue}}})
 
 
       }}
 
       }}
 
   }}{{
 
   }}{{
     #if: {{{At|}}}
+
     #if: {{{Archive|}}}
     |, {{{At}}}
+
     |{{{Archive}}}
 
   }}
 
   }}
   |{{
+
   |<!--{{  CODE kept just in case we need a separate section for {{{website}}}
<!--============ Anything else with a title, including books ============-->
+
    #if:{{{Title|}}}{{{Publisher|}}}{{{Archive|}}}
 +
    |,&#32;
 +
  }}{{
 
     #if: {{{Title|}}}
 
     #if: {{{Title|}}}
     |{{
+
     |{{{Title}}};&#32;
        #if: {{{Surname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
+
  }}{{
        |&#32;
+
    #if: {{{Publisher|}}}
      }}{{
+
    |{{{Publisher}}}{{
        #if: {{{IncludedWorkTitle|}}}
+
         #if: {{{Date|}}}
        |In&#32;
+
         |,&#32;{{{Date}}}
        |{{
 
          #if: {{{EditorSurname1|}}}
 
          |{{
 
              #if: {{{Surname1|}}}
 
              |In&#32;
 
            }}
 
        }}
 
      }}''{{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}}}
 
      }}''{{
 
         #if: {{{Edition|}}}
 
         |, {{{Edition}}} ed.
 
      }}{{
 
<!--============  Editor(s) of collective works  ============-->
 
  #if: {{{EditorSurname1|}}}
 
  |<nowiki>;</nowiki>&#32;{{
 
        #if: {{{Editorlink1|}}}
 
        |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
 
          #if: {{{EditorGiven1|}}}
 
          |, {{{EditorGiven1}}}
 
        }}]]
 
        |{{{EditorSurname1}}}{{
 
          #if: {{{EditorGiven1|}}}
 
          |, {{{EditorGiven1}}}
 
        }}
 
      }}{{
 
        #if: {{{EditorSurname2|}}}
 
        |<nowiki>; </nowiki>{{
 
          #if: {{{Editorlink2|}}}
 
          |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{
 
              #if: {{{EditorGiven2|}}}
 
              |, {{{EditorGiven2}}}
 
            }}]]
 
          |{{{EditorSurname2}}}{{
 
              #if: {{{EditorGiven2|}}}
 
              |, {{{EditorGiven2}}}
 
            }}
 
        }}{{
 
          #if: {{{EditorSurname3|}}}
 
          |<nowiki>; </nowiki>{{
 
              #if: {{{Editorlink3|}}}
 
              |[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{
 
                #if: {{{EditorGiven3|}}}
 
                |, {{{EditorGiven3}}}
 
              }}]]
 
              |{{{EditorSurname3}}}{{
 
                #if: {{{EditorGiven3|}}}
 
                |, {{{EditorGiven3}}}
 
              }}
 
            }}
 
        }} }}{{
 
          #if:{{{EditorSurname4|}}}
 
          |, et al.
 
        }}, Ed{{#if:{{{EditorSurname2|}}}{{{EditorSurname4|}}}|s}}.
 
}}{{
 
<!--==========  Conference or series details  ==========-->
 
        #if: {{{Conference|}}}
 
        |<nowiki>; </nowiki>{{{Conference}}}
 
      }}{{
 
        #if: {{{Series|}}}
 
        |<nowiki>; </nowiki>{{{Series}}}
 
      }}{{
 
<!--==========  Publisher, location, date  ==========-->
 
        #if: {{{Publisher|}}}
 
        |<nowiki>; </nowiki>{{{Publisher}}}
 
      }}{{
 
        #if: {{{PublicationPlace|}}}
 
        |{{
 
          #if: {{{Publisher|}}}
 
          |<nowiki>: </nowiki>
 
          |<nowiki>; </nowiki>
 
        }} {{{PublicationPlace}}}
 
 
       }}{{
 
       }}{{
         #if: {{{Date|}}}
+
         #if: {{{Archive|}}}
         |, {{{Date}}}
+
         |,&#32;
 
       }}
 
       }}
  }}
 
}}{{
 
<!--============ Page within included work ============-->
 
  #if: {{{Periodical|}}}
 
  |
 
  |{{
 
    #if: {{{Volume|}}}
 
    |<nowiki>; </nowiki>Vol. {{{Volume}}}{{
 
      #if: {{{Chapter|}}}
 
      |, Chapter {{{Chapter}}}
 
      }}{{
 
      #if: {{{At|}}}
 
      |, {{{At}}}
 
      }}
 
    |{{
 
      #if: {{{Chapter|}}}
 
      |<nowiki>; </nowiki>Chapter {{{Chapter}}}{{
 
          #if: {{{At|}}}
 
          |, {{{At}}}
 
          }}
 
      |{{
 
        #if: {{{At|}}}
 
        |<nowiki>; </nowiki>{{{At}}}
 
      }}
 
      }}
 
    }}
 
}}{{
 
<!--============ 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 ============-->
 
  #if: {{{URL|}}}
 
  |{{
 
    #if: {{{Title|}}}{{{IncludedWorkTitle|}}}
 
    |<span class="printonly">, &lt;{{
 
                                      #if: {{{IncludedWorkURL|}}}
 
                                      |{{{IncludedWorkURL}}}
 
                                      |{{{URL}}}
 
                                    }}&gt;</span>
 
    |, &lt;{{
 
              #if: {{{IncludedWorkURL|}}}
 
              |{{{IncludedWorkURL}}}
 
              |{{{URL}}}
 
            }}&gt;
 
 
   }}{{
 
   }}{{
     #if: {{{AccessDate|}}}
+
     #if: {{{Archive|}}}
     | .&#32;(accessed {{date|{{{AccessDate}}}}})
+
     |{{{Archive}}}
   }}
+
   }} -->
}}</cite></span><noinclude>
+
}}</cite><noinclude>
  
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 13:58, 23 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.