Difference between revisions of "Template:Citation/core"

From WikiChem
Jump to: navigation, search
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<span
 
<span
<!-- This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: -->
+
<!--============  COinS tag  ============
 +
This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: -->
 
     class="Z3988"
 
     class="Z3988"
 
     title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:}}book{{
 
     title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:}}book{{
Line 50: Line 51:
 
   }}{{{Year|{{{Date|}}}}}}}}"
 
   }}{{{Year|{{{Date|}}}}}}}}"
 
}}>{{
 
}}>{{
<!--============  Author or editor and date ============-->
+
<!--============  Author or editor  ============-->
 
   #if:{{{Surname1|}}}
 
   #if:{{{Surname1|}}}
 
   |{{
 
   |{{
Line 148: Line 149:
 
                         }}{{
 
                         }}{{
 
                           #if:{{{Surname9|}}}
 
                           #if:{{{Surname9|}}}
                           |<nowiki>; </nowiki>&#32;et al.
+
                           |,&#32;et al.
 
                         }}
 
                         }}
 
                     }}
 
                     }}
Line 156: Line 157:
 
         }}
 
         }}
 
       }}
 
       }}
  }}|{{
 
    #if: {{{EditorSurname1|}}}
 
    |{{
 
        #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|}}}
 
              |&#32;et al.
 
            }}
 
        }}
 
      }}, Ed{{#if:{{{EditorSurname2|}}}|s}}.
 
 
   }}
 
   }}
 
}}{{
 
}}{{
Line 203: Line 162:
 
   #if: {{{IncludedWorkTitle|}}}
 
   #if: {{{IncludedWorkTitle|}}}
 
   |{{
 
   |{{
     #if:{{{Surname1|}}}{{{EditorSurname1|}}}  
+
     #if:{{{Surname1|}}}  
 
     |&#32;  
 
     |&#32;  
 
   }}{{Link
 
   }}{{Link
Line 222: Line 181:
 
             }}  
 
             }}  
 
         }}
 
         }}
     | 2={{{IncludedWorkTitle}}}.&#32;
+
     | 2={{{IncludedWorkTitle}}}
   }}
+
   }}.&#32;
}}{{
 
<!--============  Editor of compilation  ============-->
 
  #if: {{{EditorSurname1|}}}
 
  |{{
 
    #if: {{{Surname1|}}}
 
    |&#32;{{
 
        #if: {{{IncludedWorkTitle|}}}
 
        |In&#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|}}}
 
              |&#32;et al.
 
            }}
 
        }}
 
      }}{{
 
        #if: {{{IncludedWorkTitle|}}}
 
        |
 
        |, Ed{{#if:{{{EditorSurname2|}}}|s}}.
 
      }}
 
  }}
 
 
}}{{
 
}}{{
  <!--============  Periodicals  ============-->
+
<!--============  Periodicals  ============-->
 
   #if: {{{Periodical|}}}
 
   #if: {{{Periodical|}}}
 
   |{{
 
   |{{
Line 350: Line 256:
 
   }}
 
   }}
 
   |{{
 
   |{{
    <!--============ Anything else with a title, including books ============-->
+
<!--============ Anything else with a title, including books ============-->
 
     #if: {{{Title|}}}
 
     #if: {{{Title|}}}
 
     |{{
 
     |{{
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
+
         #if: {{{Surname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
 
         |&#32;
 
         |&#32;
 +
      }}{{
 +
        #if: {{{IncludedWorkTitle|}}}
 +
        |In&#32;
 +
        |{{
 +
          #if: {{{EditorSurname1|}}}
 +
          |{{
 +
              #if: {{{Surname1|}}}
 +
              |In&#32;
 +
            }}
 +
        }}
 
       }}''{{Link
 
       }}''{{Link
 
         | 1={{
 
         | 1={{
Line 389: Line 305:
 
       }}''{{
 
       }}''{{
 
         #if: {{{Edition|}}}
 
         #if: {{{Edition|}}}
         |&#32;({{{Edition}}} ed.)
+
         |, {{{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|}}}
 
         #if: {{{Series|}}}
         |, {{{Series}}}
+
         |<nowiki>; </nowiki>{{{Series}}}
 +
      }}{{
 +
<!--==========  Publisher, location, date  ==========-->
 +
        #if: {{{Publisher|}}}
 +
        |<nowiki>; </nowiki>{{{Publisher}}}
 
       }}{{
 
       }}{{
 
         #if: {{{PublicationPlace|}}}
 
         #if: {{{PublicationPlace|}}}
        |, {{{PublicationPlace}}}
 
      }}{{
 
        #if: {{{Publisher|}}}
 
 
         |{{
 
         |{{
           #if: {{{PublicationPlace|}}}
+
           #if: {{{Publisher|}}}
           |<nowiki>:</nowiki>
+
           |<nowiki>: </nowiki>
           |,
+
           |<nowiki>; </nowiki>
         }} {{{Publisher}}}
+
         }} {{{PublicationPlace}}}
 
       }}{{
 
       }}{{
 
         #if: {{{Date|}}}
 
         #if: {{{Date|}}}
 
         |, {{{Date}}}
 
         |, {{{Date}}}
      }}
 
  }}
 
}}{{
 
<!--============ Publication date ============-->
 
  #if: {{{PublicationDate|}}}
 
  |{{
 
    #ifeq: {{{PublicationDate|}}} | {{{Date|}}}
 
    |
 
    |{{
 
        #if: {{{EditorSurname1|}}}
 
        |{{
 
          #if: {{{Surname1|}}}
 
          |, {{{PublicationDate}}}
 
          |&#32;(published {{{PublicationDate}}})
 
        }}
 
        |{{
 
          #if: {{{Periodical|}}}
 
          |, {{{PublicationDate}}}
 
          |&#32;(published {{{PublicationDate}}})
 
        }}
 
 
       }}
 
       }}
 
   }}
 
   }}
Line 434: Line 377:
 
   |{{
 
   |{{
 
     #if: {{{Volume|}}}
 
     #if: {{{Volume|}}}
     |; Vol. {{{Volume}}}{{
+
     |<nowiki>; </nowiki>Vol. {{{Volume}}}{{
 +
      #if: {{{Chapter|}}}
 +
      |, Chapter {{{Chapter}}}
 +
      }}{{
 
       #if: {{{At|}}}
 
       #if: {{{At|}}}
 
       |, {{{At}}}
 
       |, {{{At}}}
 
       }}
 
       }}
 
     |{{
 
     |{{
 +
      #if: {{{Chapter|}}}
 +
      |<nowiki>; </nowiki>Chapter {{{Chapter}}}{{
 +
          #if: {{{At|}}}
 +
          |, {{{At}}}
 +
          }}
 +
      |{{
 
         #if: {{{At|}}}
 
         #if: {{{At|}}}
         |; {{{At}}}
+
         |<nowiki>; </nowiki>{{{At}}}
 +
      }}
 
       }}
 
       }}
 
     }}
 
     }}
Line 469: Line 422:
 
     #if: {{{URL|}}}{{{IncludedWorkURL|}}}
 
     #if: {{{URL|}}}{{{IncludedWorkURL|}}}
 
     |. [[Digital object identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{{DOI}}}]
 
     |. [[Digital object identifier|doi]]:[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{{DOI}}}]
     |<span class="printonly">. DOI {{{DOI}}}</span>
+
     |<span class="printonly">. DOI: {{{DOI}}}</span>
 
   }}
 
   }}
 
}}{{
 
}}{{
Line 488: Line 441:
 
   }}{{
 
   }}{{
 
     #if: {{{AccessDate|}}}
 
     #if: {{{AccessDate|}}}
     | .&#32;Retrieved on {{date|{{{AccessDate}}}}}
+
     | .&#32;(accessed {{date|{{{AccessDate}}}}})
 
   }}
 
   }}
 
}}</cite></span><noinclude>
 
}}</cite></span><noinclude>

Latest revision as of 09:23, 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
Wikipedia-logo.png This template was originally imported from Wikipedia, specifically this version of the template "Template:Citation/core". Please see the history page on Wikipedia for the original authors. This WikiChem template may have been modified since it was imported. It is licensed under the Creative Commons Attribution–Share Alike 3.0 Unported license.