Difference between revisions of "Template:Citation/core"

From Iei
Jump to: navigation, search
(Creata pagina con '<span class="citation {{{Citation class|{{{Citation type|}}}}}}" {{ #switch:{{{Ref|}}} ||none = |#default = id="{{anchorencode:{{{Ref}}}}}" |harv = {{#if:{{{Surname1|}}}{...')
 
 
Line 1: Line 1:
<span class="citation {{{Citation class|{{{Citation type|}}}}}}"
+
<cite style="font-style:normal" class="{{{Citation class|}}}"
 
{{
 
{{
   #switch:{{{Ref|}}}
+
   #if:{{{Ref|}}}
   ||none =
+
   |{{#ifeq:{{{Ref|}}}|none||id="{{anchorencode:{{{Ref|}}}}}"}}
  |#default = id="{{anchorencode:{{{Ref}}}}}"
+
   |{{#if:{{{Surname1|}}}{{{EditorSurname1|}}}
   |harv = {{#if:{{{Surname1|}}}{{{EditorSurname1|}}}
 
 
     |id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}}
 
     |id="CITEREF{{anchorencode:{{#if:{{{Surname1|}}}
 
       |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
 
       |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
Line 14: Line 13:
 
   #if:{{{Surname1|}}}
 
   #if:{{{Surname1|}}}
 
   |{{
 
   |{{
     #if: {{{AuthorMask|}}}
+
     #if: {{{Authorlink1|}}}
     |{{
+
     |[[{{{Authorlink1}}} |{{{Surname1}}}{{
         #iferror: {{ #expr: 1*{{{AuthorMask}}} }}
+
         #if: {{{Given1|}}}
        |{{{AuthorMask}}}
+
        |, {{{Given1}}}
         |<del>{{loop|{{{AuthorMask}}}|2=&emsp;}}</del>
+
      }}]]
 +
    |{{{Surname1}}}{{
 +
         #if: {{{Given1|}}}
 +
        |, {{{Given1}}}
 
       }}
 
       }}
 +
  }}{{
 +
    #if: {{{Surname2|}}}
 
     |{{
 
     |{{
         #if: {{{Authorlink1|}}}
+
         #if: {{{Surname3|}}}
         |[[{{{Authorlink1}}} |{{{Surname1}}}{{
+
         |<nowiki>; </nowiki>
          #if: {{{Given1|}}}
+
        |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
          |{{{NameSep|,&#32;}}}{{{Given1}}}
+
      }}{{
 +
        #if: {{{Authorlink2|}}}
 +
        |[[{{{Authorlink2}}} |{{{Surname2}}}{{
 +
          #if: {{{Given2|}}}
 +
          |, {{{Given2}}}
 
         }}]]
 
         }}]]
         |{{{Surname1}}}{{
+
         |{{{Surname2}}}{{
           #if: {{{Given1|}}}
+
           #if: {{{Given2|}}}
           |{{{NameSep|,&#32;}}}{{{Given1}}}
+
           |, {{{Given2}}}
 
         }}
 
         }}
       }}
+
       }}{{
  }}{{
+
        #if: {{{Surname3|}}}
    #if: {{{Surname2|}}}
+
        |{{
    |{{#ifexpr:{{{Trunc|8}}}<2
+
          #if: {{{Surname4|}}}
      |&#32;et al.
+
          |<nowiki>; </nowiki>
      |{{
+
          |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
          #iferror: {{ #expr: 1*0.0{{{AuthorMask|}}} }}
+
        }}{{
          |&#32;<!-- then punctuation should be included in AuthorMask -->
+
          #if: {{{Authorlink3|}}}
          |{{
+
          |[[{{{Authorlink3}}} |{{{Surname3}}}{{
            #if: {{{Surname3|}}}
+
              #if: {{{Given3|}}}
            |{{{AuthorSep|&#059;&#32;}}}
+
              |, {{{Given3}}}
            |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
+
            }}]]
          }}
+
          |{{{Surname3}}}{{
        }}{{
+
              #if: {{{Given3|}}}
          #if: {{{Authorlink2|}}}
+
              |, {{{Given3}}}
          |[[{{{Authorlink2}}} |{{{Surname2}}}{{
+
            }}
            #if: {{{Given2|}}}
+
        }}{{
            |{{{NameSep|,&#32;}}}{{{Given2}}}
+
          #if:{{{Surname4|}}}
          }}]]
+
          |{{
          |{{{Surname2}}}{{
+
              #if: {{{Surname5|}}}
            #if: {{{Given2|}}}
+
              |<nowiki>; </nowiki>
            |{{{NameSep|,&#32;}}}{{{Given2}}}
+
              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
          }}
+
            }}{{
        }}{{
+
              #if: {{{Authorlink4|}}}
          #if: {{{Surname3|}}}
+
              |[[{{{Authorlink4}}} |{{{Surname4}}}{{
          |{{#ifexpr:{{{Trunc|8}}}<3
+
                #if: {{{Given4|}}}
            |&#32;et al.
+
                |, {{{Given4}}}
             |{{
+
              }}]]
              #if: {{{Surname4|}}}
+
              |{{{Surname4}}}{{
              |{{{AuthorSep|&#059;&#32;}}}
+
                #if: {{{Given4|}}}
              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
+
                |, {{{Given4}}}
            }}{{
+
              }}
              #if: {{{Authorlink3|}}}
+
             }}{{
              |[[{{{Authorlink3}}} |{{{Surname3}}}{{
+
              #if:{{{Surname5|}}}
                  #if: {{{Given3|}}}
+
              |{{
                  |{{{NameSep|,&#32;}}}{{{Given3}}}
+
                #if: {{{Surname6|}}}
                }}]]
+
                |<nowiki>; </nowiki>
              |{{{Surname3}}}{{
+
                |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
                  #if: {{{Given3|}}}
+
              }}{{
                  |{{{NameSep|,&#32;}}}{{{Given3}}}
+
                #if: {{{Authorlink5|}}}
                }}
+
                |[[{{{Authorlink5}}} |{{{Surname5}}}{{
            }}{{
+
                    #if: {{{Given5|}}}
              #if:{{{Surname4|}}}
+
                    |, {{{Given5}}}
              |{{#ifexpr:{{{Trunc|8}}}<4
+
                  }}]]
                |&#32;et al.
+
                |{{{Surname5}}}{{
 +
                    #if: {{{Given5|}}}
 +
                    |, {{{Given5}}}
 +
                  }}
 +
              }}{{
 +
                #if:{{{Surname6|}}}
 
                 |{{
 
                 |{{
                     #if: {{{Surname5|}}}
+
                     #if: {{{Surname7|}}}
                     |{{{AuthorSep|&#059;&#32;}}}
+
                     |<nowiki>; </nowiki>
                     |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
+
                     |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
 
                   }}{{
 
                   }}{{
                     #if: {{{Authorlink4|}}}
+
                     #if: {{{Authorlink6|}}}
                     |[[{{{Authorlink4}}} |{{{Surname4}}}{{
+
                     |[[{{{Authorlink6}}} |{{{Surname6}}}{{
                       #if: {{{Given4|}}}
+
                       #if: {{{Given6|}}}
                       |{{{NameSep|,&#32;}}}{{{Given4}}}
+
                       |, {{{Given6}}}
 
                     }}]]
 
                     }}]]
                     |{{{Surname4}}}{{
+
                     |{{{Surname6}}}{{
                       #if: {{{Given4|}}}
+
                       #if: {{{Given6|}}}
                       |{{{NameSep|,&#32;}}}{{{Given4}}}
+
                       |, {{{Given6}}}
                    }}
+
                    }}
 
                   }}{{
 
                   }}{{
                  #if:{{{Surname5|}}}
+
                    #if:{{{Surname7|}}}
                  |{{#ifexpr:{{{Trunc|8}}}<5
 
                    |&#32;et al.
 
 
                     |{{
 
                     |{{
                    #if: {{{Surname6|}}}
+
                      #if: {{{Surname8|}}}
                    |{{{AuthorSep|&#059;&#32;}}}
+
                      |<nowiki>; </nowiki>
                    |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
+
                      |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
                    }}{{
+
                    }}{{
                    #if: {{{Authorlink5|}}}
+
                      #if: {{{Authorlink7|}}}
                    |[[{{{Authorlink5}}} |{{{Surname5}}}{{
+
                      |[[{{{Authorlink7}}} |{{{Surname7}}}{{
                        #if: {{{Given5|}}}
+
                          #if: {{{Given7|}}}
                        |{{{NameSep|,&#32;}}}{{{Given5}}}
+
                          |, {{{Given7}}}
                      }}]]
+
                        }}]]
                    |{{{Surname5}}}{{
+
                      |{{{Surname7}}}{{
                        #if: {{{Given5|}}}
+
                          #if: {{{Given7|}}}
                        |{{{NameSep|,&#32;}}}{{{Given5}}}
+
                          |, {{{Given7}}}
                      }}
+
                        }}
                  }}{{
+
                    }}{{
                    #if:{{{Surname6|}}}
+
                      #if:{{{Surname8|}}}
                    |{{#ifexpr:{{{Trunc|8}}}<6
+
                      |{{
                    |&#32;et al.
+
                          #if: {{{Surname9|}}}
                      |{{
+
                          |<nowiki>; </nowiki>
                        #if: {{{Surname7|}}}
+
                          |{{#if:{{{amp|}}}|&#32;&amp;&#32;|<nowiki>; </nowiki>}}
                        |{{{AuthorSep|&#059;&#32;}}}
+
                        }}{{
                        |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
+
                          #if: {{{Authorlink8|}}}
                      }}{{
+
                          |[[{{{Authorlink8}}} |{{{Surname8}}}{{
                        #if: {{{Authorlink6|}}}
+
                            #if: {{{Given8|}}}
                        |[[{{{Authorlink6}}} |{{{Surname6}}}{{
+
                            |, {{{Given8}}}
                          #if: {{{Given6|}}}
+
                          }}]]
                          |{{{NameSep|,&#32;}}}{{{Given6}}}
+
                          |{{{Surname8}}}{{
                        }}]]
+
                            #if: {{{Given8|}}}
                        |{{{Surname6}}}{{
+
                            |, {{{Given8}}}
                          #if: {{{Given6|}}}
+
                          }}
                          |{{{NameSep|,&#32;}}}{{{Given6}}}
+
                        }}{{
                        }}
+
                          #if:{{{Surname9|}}}
                      }}{{
+
                          |<nowiki>; </nowiki>&#32;''et al''.
                        #if:{{{Surname7|}}}
+
                        }}
                        |{{#ifexpr:{{{Trunc|8}}}<7
 
                          |&#32;et al.
 
                        |{{
 
                          #if: {{{Surname8|}}}
 
                          |{{{AuthorSep|&#059;&#32;}}}
 
                          |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
                        }}{{
 
                          #if: {{{Authorlink7|}}}
 
                          |[[{{{Authorlink7}}} |{{{Surname7}}}{{
 
                              #if: {{{Given7|}}}
 
                              |{{{NameSep|,&#32;}}}{{{Given7}}}
 
                            }}]]
 
                          |{{{Surname7}}}{{
 
                              #if: {{{Given7|}}}
 
                              |{{{NameSep|,&#32;}}}{{{Given7}}}
 
                            }}
 
                                    }}{{
 
                                      #if:{{{Surname8|}}}
 
                                      |{{#ifexpr:{{{Trunc|8}}}<8
 
                                          |&#32;et al.
 
                                          |{{
 
                                              #if: {{{Surname9|}}}
 
                                              |{{{AuthorSep|&#059;&#32;}}}
 
                                              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
                                            }}{{
 
                                              #if: {{{Authorlink8|}}}
 
                                              |[[{{{Authorlink8}}} |{{{Surname8}}}{{
 
                                                #if: {{{Given8|}}}
 
                                                |{{{NameSep|,&#32;}}}{{{Given8}}}
 
                                              }}]]
 
                                              |{{{Surname8}}}{{
 
                                                #if: {{{Given8|}}}
 
                                                |{{{NameSep|,&#32;}}}{{{Given8}}}
 
                                              }}
 
                                            }}{{
 
                                              #if:{{{Surname9|}}}
 
                                              |&#32;et al.
 
                                            }}
 
                                        }}
 
                                      }}
 
                                  }}
 
                                }}
 
                            }}
 
                          }}
 
                      }}
 
 
                     }}
 
                     }}
 
                   }}
 
                   }}
Line 178: Line 144:
 
         }}
 
         }}
 
       }}
 
       }}
 
  }}{{
 
    #if: {{{Coauthors|}}}
 
    |{{{AuthorSep|&#059;&#32;}}}{{{Coauthors|}}}|
 
 
   }}{{
 
   }}{{
 
     #if: {{{Date|}}}
 
     #if: {{{Date|}}}
Line 189: Line 151:
 
     }}
 
     }}
 
   }}
 
   }}
   |{{<!-- ============== No author: display editors first == -->
+
   |{{<!-- ============== No author display editors first == -->
 
     #if: {{{EditorSurname1|}}}
 
     #if: {{{EditorSurname1|}}}
 
     |{{
 
     |{{
Line 203: Line 165:
 
       }}{{
 
       }}{{
 
         #if: {{{EditorSurname2|}}}
 
         #if: {{{EditorSurname2|}}}
         |{{
+
         |<nowiki>; </nowiki>{{
          #if: {{{EditorSurname3|}}}
 
          |{{{AuthorSep|&#059;&#32;}}}
 
          |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
        }}{{
 
 
           #if: {{{Editorlink2|}}}
 
           #if: {{{Editorlink2|}}}
 
           |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{
 
           |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{
Line 219: Line 177:
 
         }}{{
 
         }}{{
 
           #if: {{{EditorSurname3|}}}
 
           #if: {{{EditorSurname3|}}}
           |{{
+
           |<nowiki>; </nowiki> {{
              #if: {{{EditorSurname4|}}}
 
              |{{{AuthorSep|&#059;&#32;}}}
 
              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
            }}{{
 
 
               #if: {{{Editorlink3|}}}
 
               #if: {{{Editorlink3|}}}
 
               |[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{
 
               |[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{
Line 240: Line 194:
 
       }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{
 
       }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{
 
         #if: {{{Date|}}}
 
         #if: {{{Date|}}}
         |&#32;({{{Date}}}){{
+
         |&#32;({{{Date}}})
        #if:{{{YearNote|}}}
 
      |&#32;[{{{YearNote}}}]
 
      }}
 
 
       }}
 
       }}
 
   }}
 
   }}
 
}}{{
 
}}{{
 
<!--============  Title of included work  ============-->
 
<!--============  Title of included work  ============-->
   #if: {{{IncludedWorkTitle|}}}{{#if:{{{Periodical|}}}||{{#if:{{{TransItalic|}}}||{{{TransTitle|}}}}}}}
+
   #if: {{{IncludedWorkTitle|}}}
 
   |{{
 
   |{{
     #if:{{{Surname1|}}}{{{EditorSurname1|}}}
+
     #if:{{{Surname1|}}}{{{EditorSurname1|}}}  
     |{{{Sep|,}}}&#32;
+
     |{{{Sep|,}}}&#32;  
   }}{{Citation/make link
+
   }}{{Link
 
     | 1={{
 
     | 1={{
 
           #if: {{{IncludedWorkURL|}}}
 
           #if: {{{IncludedWorkURL|}}}
Line 259: Line 210:
 
               #if: {{{URL|}}}
 
               #if: {{{URL|}}}
 
               |{{{URL}}}
 
               |{{{URL}}}
             }}
+
<!-- Only link URL if to a free full text - as at PubMedCentral (PMC)-->
 +
              |{{
 +
                #if: {{{PMC|}}}
 +
                |http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
 +
              }}
 +
             }}  
 
         }}
 
         }}
 
     | 2={{
 
     | 2={{
 
           #if: {{{Periodical|}}}
 
           #if: {{{Periodical|}}}
           |''<nowiki />{{{IncludedWorkTitle}}}<nowiki />''
+
           |''{{{IncludedWorkTitle}}}''
           |"{{{IncludedWorkTitle|}}}{{
+
           |"{{{IncludedWorkTitle}}}"
            #if: {{{TransTitle|}}}
 
            |{{
 
                #if: {{{IncludedWorkTitle|}}}
 
                |&#32;
 
              }}&#91;{{{TransTitle}}}&#93;
 
          }}"
 
 
         }}
 
         }}
 
   }}
 
   }}
Line 280: Line 230:
 
     |
 
     |
 
     |{{
 
     |{{
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}
+
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         |{{{Sep|,}}}&#32;written at {{{Place}}}
+
         |{{{Sep|,}}} written at {{{Place}}}
 
       }}
 
       }}
 
   }}
 
   }}
Line 289: Line 239:
 
   |{{
 
   |{{
 
     #if: {{{Surname1|}}}
 
     #if: {{{Surname1|}}}
     |{{{Sep|,}}}&#32;{{
+
     |{{{Sep|,}}} {{
 
         #if: {{{IncludedWorkTitle|}}}
 
         #if: {{{IncludedWorkTitle|}}}
         |{{#ifeq:{{{Sep|,}}}|.|I|i}}n&#32;
+
         |in&#32;
 
       }}{{
 
       }}{{
 
         #if: {{{Editorlink1|}}}
 
         #if: {{{Editorlink1|}}}
Line 303: Line 253:
 
         }}}}{{
 
         }}}}{{
 
         #if: {{{EditorSurname2|}}}
 
         #if: {{{EditorSurname2|}}}
         |{{
+
         |<nowiki>; </nowiki>{{
          #if: {{{EditorSurname3|}}}
 
            |{{{AuthorSep|&#059;&#32;}}}
 
            |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
          }}{{
 
 
           #if: {{{Editorlink2|}}}
 
           #if: {{{Editorlink2|}}}
 
           |[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{
 
           |[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{
Line 319: Line 265:
 
         }}{{
 
         }}{{
 
           #if: {{{EditorSurname3|}}}
 
           #if: {{{EditorSurname3|}}}
           |{{
+
           |<nowiki>; </nowiki>{{
              #if: {{{EditorSurname4|}}}
 
              |&#059;&#32;
 
              |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
            }}{{
 
 
               #if: {{{Editorlink3|}}}
 
               #if: {{{Editorlink3|}}}
 
               |[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{
 
               |[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{
Line 341: Line 283:
 
         #if: {{{IncludedWorkTitle|}}}
 
         #if: {{{IncludedWorkTitle|}}}
 
         |
 
         |
         |{{{Sep|,}}}&#32;ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}
+
         |{{{Sep|,}}} ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}
 
       }}
 
       }}
 
   }}
 
   }}
Line 348: Line 290:
 
   #if: {{{Periodical|}}}
 
   #if: {{{Periodical|}}}
 
   |{{
 
   |{{
     #if: {{{Other|}}}
+
     #if: {{{Surname1|}}}{{{EditorSurname1|}}}
     |{{{Sep|,}}}&#32;{{{Other|}}}
+
    |{{{Sep|,}}}&#32;}}{{
 +
    #if: {{{Title|}}}
 +
    |"{{Link
 +
        | 1={{
 +
              #if: {{{IncludedWorkTitle|}}}
 +
              |{{
 +
                #if: {{{IncludedWorkURL|}}}
 +
                |{{
 +
                    #if: {{{URL|}}}
 +
                    |{{{URL}}}
 +
                    |{{
 +
                      #if: {{{PMC|}}}
 +
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
 +
                    }}
 +
                  }}
 +
              }}
 +
              |{{
 +
                #if: {{{URL|}}}
 +
                |{{{URL}}}
 +
                | {{
 +
                      #if: {{{PMC|}}}
 +
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
 +
                    }}
 +
                 
 +
              }}
 +
            }}
 +
        | 2={{{Title}}}
 +
      }}"}}
 +
}}{{
 +
#if:{{{language|}}}
 +
  | &#32;(in {{{language}}})
 +
}}{{#if:{{{format|}}}
 +
  |&#32;({{{format}}})
 +
}}{{
 +
  #if: {{{Periodical|}}}|{{
 +
      #if:{{{IncludedWorkTitle|}}}{{{Title|}}}|{{{Sep|,}}}&#32;}}''{{{Periodical}}}''{{
 +
    #if: {{{Series|}}}
 +
     |{{{Sep|,}}} {{{Series}}}
 +
  }}{{
 +
    #if: {{{PublicationPlace|}}}
 +
    |{{
 +
        #if: {{{Publisher|}}}
 +
        |&#32;({{{PublicationPlace}}}<nowiki>: </nowiki>{{{Publisher}}})
 +
        |&#32;({{{PublicationPlace}}})
 +
      }}
 +
    |{{
 +
        #if: {{{Publisher|}}}
 +
        |&#32;({{{Publisher}}})
 +
      }}
 
   }}{{
 
   }}{{
     #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}
+
     #if: {{{Volume|}}}
     |{{{Sep|,}}}&#32;}}{{
+
    |&#32;'''{{{Volume}}}'''{{
     #if: {{{Title|}}}{{{TransTitle|}}}
+
        #if: {{{Issue|}}}
    |{{Citation/make link
+
        |&#32;({{{Issue}}})
 +
      }}
 +
     |{{
 +
        #if: {{{Issue|}}}
 +
        |&#32;({{{Issue}}})
 +
      }}
 +
  }}{{
 +
    #if: {{{At|}}}
 +
    |<nowiki>: </nowiki> {{{At}}}
 +
  }}
 +
  |{{
 +
    <!--============ Anything else with a title, including books ============-->
 +
     #if: {{{Title|}}}
 +
    |{{
 +
        #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
 +
        |{{{Sep|,}}}&#32;
 +
      }}''{{Link
 
         | 1={{
 
         | 1={{
 
               #if: {{{IncludedWorkTitle|}}}
 
               #if: {{{IncludedWorkTitle|}}}
Line 362: Line 368:
 
                     #if: {{{URL|}}}
 
                     #if: {{{URL|}}}
 
                     |{{{URL}}}
 
                     |{{{URL}}}
 +
                    |{{
 +
                      #if: {{{PMC|}}}
 +
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
 +
                    }}
 
                   }}
 
                   }}
 
               }}
 
               }}
Line 367: Line 377:
 
                 #if: {{{URL|}}}
 
                 #if: {{{URL|}}}
 
                 |{{{URL}}}
 
                 |{{{URL}}}
 +
                |{{
 +
                    #if: {{{PMC|}}}
 +
                    |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}     
 +
                  }}
 
               }}
 
               }}
 
             }}
 
             }}
         | 2="{{{Title}}}{{
+
         | 2={{{Title}}}
          #if: {{{TransTitle|}}}
+
      }}''}}{{
          |{{
+
        #if: {{{Series|}}}
            #if: {{{Title|}}}
+
        |{{{Sep|,}}} {{{Series}}}
            |&#32;
+
      }}{{
          }}&#91;{{{TransTitle}}}&#93;
+
        #if: {{{Volume|}}}
         }}"
+
        |{{{Sep|,}}} '''{{{Volume}}}'''
 +
      }}{{
 +
        #if: {{{Other|}}}
 +
        |{{{Sep|,}}} {{{Other|}}}
 +
      }}{{
 +
        #if: {{{Edition|}}}
 +
        |&#32;({{{Edition}}} ed.)
 +
      }}{{
 +
        #if: {{{PublicationPlace|}}}
 +
         |{{{Sep|,}}} {{{PublicationPlace}}}
 
       }}{{
 
       }}{{
         #if: {{{TitleNote|}}}
+
         #if: {{{Publisher|}}}
         |{{{Sep|,}}}&#32;{{{TitleNote}}}
+
         |{{
 +
          #if: {{{PublicationPlace|}}}
 +
          |<nowiki>:</nowiki>
 +
          |{{{Sep|,}}}
 +
        }} {{{Publisher}}}
 
       }}
 
       }}
   }}
+
   }}{{
}}{{
 
  #if: {{{language|}}}
 
  |&#32;(in {{{language}}})
 
}}{{
 
  #if: {{{format|}}}
 
  |&#32;({{{format}}})
 
}}{{
 
  #if: {{{Periodical|}}}
 
  |{{
 
      #if:{{{IncludedWorkTitle|}}}{{{Title|}}}{{{TransTitle|}}}
 
      |{{{Sep|,}}}&#32;
 
    }}''<nowiki />{{{Periodical}}}<nowiki />''{{
 
      #if: {{{Series|}}}
 
      |{{{Sep|,}}}&#32;{{{Series}}}
 
    }}{{
 
      #if: {{{PublicationPlace|}}}
 
      |{{
 
        #if: {{{Publisher|}}}
 
        |&#32;({{{PublicationPlace}}}<nowiki>: </nowiki>{{{Publisher}}})
 
        |&#32;({{{PublicationPlace}}})
 
      }}
 
      |{{
 
        #if: {{{Publisher|}}}
 
        |&#32;({{{Publisher}}})
 
      }}
 
    }}{{
 
      #if: {{{Volume|}}}
 
      |&#32;'''<nowiki />{{{Volume}}}<nowiki />'''{{
 
        #if: {{{Issue|}}}
 
        |&#32;({{{Issue}}})
 
      }}
 
      |{{
 
        #if: {{{Issue|}}}
 
        |&#32;({{{Issue}}})
 
      }}
 
    }}{{
 
      #if: {{{At|}}}
 
      |<nowiki>: </nowiki> {{{At}}}
 
    }}
 
  |{{
 
      <!--============ Anything else with a title, including books ============-->
 
      #if: {{{Title|}}}{{{TransItalic|}}}
 
      |{{
 
        #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
 
        |{{{Sep|,}}}
 
      }}&#32;{{Citation/make link
 
        | 1={{
 
              #if: {{{IncludedWorkTitle|}}}
 
              |{{
 
                  #if: {{{IncludedWorkURL|}}}
 
                  |{{
 
                    #if: {{{URL|}}}
 
                    |{{{URL}}}
 
                  }}
 
                }}
 
              |{{
 
                  #if: {{{URL|}}}
 
                  |{{{URL}}}
 
                }}
 
            }}
 
        | 2=''<nowiki />{{{Title|}}}{{
 
            #if:{{{TransItalic|}}}|&#32;&#91;{{{TransItalic}}}&#93;
 
          }}<nowiki />''
 
      }}
 
    }}{{
 
      #if: {{{TitleType|}}}
 
      |&#32;({{{TitleType}}})
 
    }}{{
 
      #if: {{{Series|}}}
 
      |{{{Sep|,}}}&#32;{{{Series}}}
 
    }}{{
 
      #if: {{{Volume|}}}
 
      |{{{Sep|,}}}&#32;'''<nowiki />{{{Volume}}}<nowiki />'''
 
    }}{{
 
      #if: {{{Other|}}}
 
      |{{{Sep|,}}}&#32;{{{Other|}}}
 
    }}{{
 
      #if: {{{Edition|}}}
 
      |&#32;({{{Edition}}} ed.)
 
    }}{{
 
      #if: {{{PublicationPlace|}}}
 
      |{{{Sep|,}}}&#32;{{{PublicationPlace}}}
 
    }}{{
 
      #if: {{{Publisher|}}}
 
      |{{
 
        #if: {{{PublicationPlace|}}}
 
        |<nowiki>:</nowiki>
 
        |{{{Sep|,}}}
 
      }}&#32;{{{Publisher}}}
 
    }}
 
}}{{
 
 
<!--============ Date (if no author/editor) ============-->
 
<!--============ Date (if no author/editor) ============-->
 
   #if: {{{Surname1|}}}{{{EditorSurname1|}}}
 
   #if: {{{Surname1|}}}{{{EditorSurname1|}}}
Line 477: Line 413:
 
   |{{
 
   |{{
 
     #if: {{{Date|}}}
 
     #if: {{{Date|}}}
     |{{{Sep|,}}}&#32;{{{Date}}}{{
+
     |{{{Sep|,}}} {{{Date}}}
      #if:{{{YearNote|}}}
 
    |&#32;[{{{YearNote}}}]
 
    }}
 
 
   }}
 
   }}
 
}}{{
 
}}{{
Line 492: Line 425:
 
         |{{
 
         |{{
 
           #if: {{{Surname1|}}}
 
           #if: {{{Surname1|}}}
           |{{{Sep|,}}}&#32;{{{PublicationDate}}}
+
           |{{{Sep|,}}} {{{PublicationDate}}}
 
           |&#32;(published {{{PublicationDate}}})
 
           |&#32;(published {{{PublicationDate}}})
 
         }}
 
         }}
 
         |{{
 
         |{{
 
           #if: {{{Periodical|}}}
 
           #if: {{{Periodical|}}}
           |{{{Sep|,}}}&#32;{{{PublicationDate}}}
+
           |{{{Sep|,}}} {{{PublicationDate}}}
 
           |&#32;(published {{{PublicationDate}}})
 
           |&#32;(published {{{PublicationDate}}})
 
         }}
 
         }}
Line 508: Line 441:
 
   |{{
 
   |{{
 
     #if: {{{At|}}}
 
     #if: {{{At|}}}
     |{{{Sep|,}}}&#32;{{{At}}}
+
     |{{{Sep|,}}} {{{At}}}
 
   }}
 
   }}
 
}}{{
 
}}{{
<!--============ arXiv ==============-->
+
<!--===============DOI================-->
  #if: {{{ARXIV|}}}
+
#if:{{{DOI|}}}  
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=arxiv |input1={{{ARXIV|}}} }}
+
   |{{{Sep|,}}} [[Digital object identifier|doi]]:{{#if: {{{DoiBroken|}}}
 +
    | {{#tag:nowiki|{{{DOI}}}}} (inactive {{{DoiBroken|}}}) {{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Pages with DOIs broken since {{#time: Y | {{{DoiBroken|}}} }}]] }}
 +
    | <span class="neverexpand">[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{#tag:nowiki|{{{DOI}}}}}]</span>
 +
    }}
 
}}{{
 
}}{{
<!--============ ASIN ===============-->
+
<!--============ Misc. Identifier ============-->
  #if: {{{ASIN|}}}
+
   #if: {{{ID|}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=asin |input1={{{ASIN|}}} }}
+
   |{{{Sep|,}}} {{{ID}}}
}}{{
 
<!--============ BIBCODE ============-->
 
   #if: {{{BIBCODE|}}}
 
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=bibcode |input1={{{BIBCODE|}}} }}
 
}}{{
 
<!--============ DOI ================-->
 
#if:{{{DOI|}}}
 
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=doi |input1={{{DOI|}}}  |input2={{{DoiBroken|}}} }}
 
 
}}{{
 
}}{{
<!--============ ISBN ===============-->
+
<!--============ ISBN ============-->
 
   #if: {{{ISBN|}}}
 
   #if: {{{ISBN|}}}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=isbn |input1={{{ISBN|}}} }}
+
   |{{{Sep|,}}} ISBN {{{ISBN}}}
 
}}{{
 
}}{{
<!--============ ISSN ===============-->
+
<!--============ ISSN ============-->
 
   #if: {{{ISSN|}}}
 
   #if: {{{ISSN|}}}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=issn |input1={{{ISSN|}}} }}
+
   |{{{Sep|,}}} [[International Standard Serial Number|ISSN]] [http://worldcat.org/issn/{{{ISSN}}} {{{ISSN}}}]
}}{{
 
<!--============ JFM ================-->
 
  #if: {{{JFM|}}}
 
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=jfm |input1={{{JFM|}}} }}
 
}}{{
 
<!--============ JSTOR ==============-->
 
  #if: {{{JSTOR|}}}
 
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=jstor |input1={{{JSTOR|}}} }}
 
}}{{
 
<!--============ LCCN ===============-->
 
  #if: {{{LCCN|}}}
 
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=lccn |input1={{{LCCN|}}} }}
 
}}{{
 
<!--============ MR =================-->
 
  #if: {{{MR|}}}
 
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=mr |input1={{{MR|}}} }}
 
 
}}{{
 
}}{{
<!--============ OCLC ===============-->
+
<!--============ OCLC ============-->
 
   #if: {{{OCLC|}}}
 
   #if: {{{OCLC|}}}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=oclc |input1={{{OCLC|}}} }}
+
   |{{{Sep|,}}} [[OCLC]] [http://worldcat.org/oclc/{{urlencode:{{{OCLC}}}}} {{{OCLC}}}]
 
}}{{
 
}}{{
<!--============ OL =================-->
+
<!--============ PMID ============-->  
   #if: {{{OL|}}}
+
   #if: {{{PMID|}}}  
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=ol |input1={{{OL|}}} }}
+
   |{{{Sep|,}}} PMID {{{PMID}}}  
}}{{
+
}}{{  
<!--============ OSTI ===============-->
+
<!--============ PMC ============-->  
   #if: {{{OSTI|}}}
+
   #if: {{{PMC|}}}  
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=osti |input1={{{OSTI|}}} }}
+
   |{{#if: {{{URL|}}}
}}{{
+
    |{{{Sep|,}}} [[PubMed Central|PMC]]: [http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}} {{{PMC}}}]
<!--============ PMC ================-->
+
  }}
  #if: {{{PMC|}}}
+
}}{{  
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=pmc |input1={{{PMC|}}} }}
+
<!--============ BIBCODE ============-->  
}}{{
+
   #if: {{{Bibcode|}}}  
<!--============ PMID ===============-->
+
   |{{{Sep|,}}} [[Bibcode]]:&nbsp;[http://adsabs.harvard.edu/abs/{{{Bibcode}}} {{{Bibcode}}}]
  #if: {{{PMID|}}}
 
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=pmid |input1={{{PMID|}}} }}
 
}}{{
 
<!--============ RFC ================-->
 
  #if: {{{RFC|}}}
 
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=rfc|input1={{{RFC|}}} }}
 
}}{{
 
<!--============ SSRN ================-->
 
  #if: {{{SSRN|}}}
 
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=ssrn |input1={{{SSRN|}}} }}
 
}}{{
 
<!--============ ZBL ================-->
 
  #if: {{{ZBL|}}}
 
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=zbl |input1={{{ZBL|}}} }}
 
}}{{
 
<!--============ Misc. Identifier ============-->
 
   #if: {{{ID|}}}
 
   |{{{Sep|,}}}&#32;{{{ID}}}
 
}}{{
 
<!--============  Archive data, etc ===========-->
 
#if: {{{Archive|}}}
 
|{{{Sep|,}}}&#32;{{{Archive}}}[[Category:Pages using deprecated citation archive parameters]]
 
|{{
 
  #if:{{{ArchiveURL|}}}{{{ArchiveDate|}}}
 
  |{{{Sep|,}}}&#32;{{#ifeq:{{{Sep}}}|.|A|a}}rchived{{
 
    #if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}
 
    |{{#if:{{{ArchiveURL|}}}|&#32;from {{Citation/make link|{{{OriginalURL|{{{IncludedWorkURL|}}}}}}|the original}}}}
 
    }}{{
 
    #if:{{{ArchiveDate|}}}
 
    |&#32;on {{{ArchiveDate}}}
 
    }}{{
 
    #if:{{#if:{{{ArchiveURL|}}}||A}}{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}||B}}{{#if:{{{ArchiveDate|}}}||C}}
 
    |. {{citation error|nocat={{{template doc demo|}}}
 
      |If you specify <code>&#124;{{#if:{{{ArchiveURL|}}}|archiveurl|archivedate}}&#61;</code>, you must {{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}| also specify <code>&#124;{{#if:{{{ArchiveURL|}}}|archivedate|archiveurl}}&#61;</code>|first specify <code>&#124;url&#61;</code>}}}}
 
    }}
 
  }}
 
 
}}{{
 
}}{{
 +
<!--============ Archive data, etc ===========-->
 +
  #if: {{{Archive|}}}
 +
  |{{{Sep|,}}} {{{Archive}}}
 +
  |{{
 +
    #if:{{{OriginalURL|}}}
 +
    |{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived from {{#if:{{{OriginalURL|}}}|{{link|{{{OriginalURL}}}|the original}}|the original <span class="error">(unspecified URL)</span>[[Category:Articles with broken citations]]}}{{
 +
      #if:{{{ArchiveDate|}}}
 +
      |&#32;on {{{ArchiveDate}}}
 +
      |. <span class="error">You must specify the date the archive was made using the {{para|archivedate}} parameter</span>{{#if: {{NAMESPACE}}|| [[Category:Articles with broken citations]]}}
 +
      }}
 +
    |{{#if:{{{ArchiveDate|}}}|{{{Sep|,}}} {{#ifeq:{{{Sep}}}|.|A|a}}rchived on {{{ArchiveDate}}}; <span class="error">no {{para|archiveurl}} specified</span> [[Category:Articles with broken citations]]}}
 +
  }}
 +
}}{{
 
<!--============ URL and AccessDate ============-->
 
<!--============ URL and AccessDate ============-->
   #if: {{{URL|}}}{{{IncludedWorkURL|}}}
+
   #if: {{{URL|{{{IncludedWorkURL|}}}}}}
 
   |{{
 
   |{{
     #if: {{{Title|}}}{{{IncludedWorkTitle|}}}{{{TransTitle|}}}
+
     #if: {{{Title|}}}{{{IncludedWorkTitle|}}}
     |<span class="printonly">{{{Sep|,}}}&#32;{{
+
     |<span class="printonly">{{{Sep|,}}} {{
 
                                       #if: {{{IncludedWorkURL|}}}
 
                                       #if: {{{IncludedWorkURL|}}}
 
                                       |{{{IncludedWorkURL}}}
 
                                       |{{{IncludedWorkURL}}}
 
                                       |{{{URL}}}
 
                                       |{{{URL}}}
 
                                     }}</span>
 
                                     }}</span>
     |{{{Sep|,}}}&#32;{{
+
     |{{{Sep|,}}} {{
 
               #if: {{{IncludedWorkURL|}}}
 
               #if: {{{IncludedWorkURL|}}}
 
               |{{{IncludedWorkURL}}}
 
               |{{{IncludedWorkURL}}}
Line 621: Line 510:
 
   }}{{
 
   }}{{
 
     #if: {{{AccessDate|}}}
 
     #if: {{{AccessDate|}}}
     | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|,&#32;r|.&#32;R}}etrieved {{{AccessDate}}}</span>
+
     | <span class="reference-accessdate">{{#ifeq:{{{Sep|,}}}|,|,&#32;r|.&#32;R}}etrieved on {{{AccessDate}}}</span>
 
     }}
 
     }}
}}{{#if:{{{laysummary|}}}
+
}}{{#if:{{{laysummary|}}}  
   |{{{Sep|,}}}&#32;[{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''<nowiki />{{{laysource}}}<nowiki />''}}
+
   |{{{Sep|,}}} [{{{laysummary}}} Lay summary]{{#if: {{{laysource|}}}|&nbsp;&ndash;&nbsp;''{{{laysource}}}''}}
 
}}{{#if:{{{laydate|}}}
 
}}{{#if:{{{laydate|}}}
 
   | &#32;({{{laydate}}})
 
   | &#32;({{{laydate}}})
 
}}{{#if:{{{quote|}}}
 
}}{{#if:{{{quote|}}}
   |{{{Sep|,}}}&#32;"{{{quote}}}"
+
   |{{{Sep|,}}} &#32;"{{{quote}}}"
}}{{{PS|}}}</span><!--
+
}}{{{PS|}}}</cite><!--
  
 
=== This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: ===
 
=== This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: ===
Line 649: Line 538:
 
   }}{{
 
   }}{{
 
     #if: {{{Surname1|}}} |&rft.au={{urlencode:{{{Surname1}}}}}{{
 
     #if: {{{Surname1|}}} |&rft.au={{urlencode:{{{Surname1}}}}}{{
       #if: {{{Given1|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given1}}}}}
+
       #if: {{{Given1|}}} |{{urlencode:, {{{Given1}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname2|}}} |&rft.au={{urlencode:{{{Surname2}}}}}{{
 
     #if: {{{Surname2|}}} |&rft.au={{urlencode:{{{Surname2}}}}}{{
       #if: {{{Given2|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given2}}}}}
+
       #if: {{{Given2|}}} |{{urlencode:, {{{Given2}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname3|}}} |&rft.au={{urlencode:{{{Surname3}}}}}{{
 
     #if: {{{Surname3|}}} |&rft.au={{urlencode:{{{Surname3}}}}}{{
       #if: {{{Given3|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given3}}}}}
+
       #if: {{{Given3|}}} |{{urlencode:, {{{Given3}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname4|}}} |&rft.au={{urlencode:{{{Surname4}}}}}{{
 
     #if: {{{Surname4|}}} |&rft.au={{urlencode:{{{Surname4}}}}}{{
       #if: {{{Given4|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given4}}}}}
+
       #if: {{{Given4|}}} |{{urlencode:, {{{Given4}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname5|}}} |&rft.au={{urlencode:{{{Surname5}}}}}{{
 
     #if: {{{Surname5|}}} |&rft.au={{urlencode:{{{Surname5}}}}}{{
       #if: {{{Given5|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given5}}}}}
+
       #if: {{{Given5|}}} |{{urlencode:, {{{Given5}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname6|}}} |&rft.au={{urlencode:{{{Surname6}}}}}{{
 
     #if: {{{Surname6|}}} |&rft.au={{urlencode:{{{Surname6}}}}}{{
       #if: {{{Given6|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given6}}}}}
+
       #if: {{{Given6|}}} |{{urlencode:, {{{Given6}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname7|}}} |&rft.au={{urlencode:{{{Surname7}}}}}{{
 
     #if: {{{Surname7|}}} |&rft.au={{urlencode:{{{Surname7}}}}}{{
       #if: {{{Given7|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given7}}}}}
+
       #if: {{{Given7|}}} |{{urlencode:, {{{Given7}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname8|}}} |&rft.au={{urlencode:{{{Surname8}}}}}{{
 
     #if: {{{Surname8|}}} |&rft.au={{urlencode:{{{Surname8}}}}}{{
       #if: {{{Given8|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given8}}}}}
+
       #if: {{{Given8|}}} |{{urlencode:, {{{Given8}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname9|}}} |&rft.au={{urlencode:{{{Surname9}}}}}{{
 
     #if: {{{Surname9|}}} |&rft.au={{urlencode:{{{Surname9}}}}}{{
       #if: {{{Given9|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given9}}}}}
+
       #if: {{{Given9|}}} |{{urlencode:, {{{Given9}}}}}
 
     }}
 
     }}
 
     }}{{
 
     }}{{
 
       #if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}
 
       #if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}
 
     }}{{
 
     }}{{
       #if: {{{Series|}}} |&rft.series={{urlencode:{{{Series}}}}}
+
       #if: {{{Series|}}} |&rft.series={{urlencode:{{{Series}}}}}  
 
     }}{{
 
     }}{{
 
       #if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}}
 
       #if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}}
Line 696: Line 585:
 
       #if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}}
 
       #if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}}
 
     }}{{
 
     }}{{
       #if: {{{PublicationPlace|}}}{{{Place|}}} |&rft.place={{urlencode:{{{PublicationPlace|{{{Place}}}}}}}}
+
       #if: {{{PublicationPlace|}}} |&rft.place={{urlencode:{{{PublicationPlace}}}}}
 
     }}{{
 
     }}{{
 
       #if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}}
 
       #if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}}
 
     }}{{
 
     }}{{
       #if: {{{ARXIV|}}} |&rft_id=info:arxiv/{{urlencode:{{{ARXIV}}}}}
+
       #if: {{{DOI|}}} |&rft_id=info:doi/{{urlencode:{{{DOI}}}}}
 
     }}{{
 
     }}{{
       #if: {{{ASIN|}}} |&rft_id=info:asin/{{urlencode:{{{ASIN}}}}}
+
       #if: {{{PMID|}}} |&rft_id=info:pmid/{{urlencode:{{{PMID}}}}}
 
     }}{{
 
     }}{{
       #if: {{{BIBCODE|}}} |&rft_id=info:bibcode/{{urlencode:{{{BIBCODE}}}}}
+
       #if: {{{Bibcode|}}} |&rft_id=info:bibcode/{{urlencode:{{{Bibcode}}}}}
 
     }}{{
 
     }}{{
       #if: {{{DOI|}}} |&rft_id=info:doi/{{urlencode:{{{DOI}}}}}
+
       #if: {{{OCLC|}}} |&rft_id=info:oclcnum/{{urlencode:{{{OCLC}}}}}
 
     }}{{
 
     }}{{
 
       #if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}
 
       #if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}
Line 712: Line 601:
 
       #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}
 
       #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}
 
     }}{{
 
     }}{{
       #if: {{{JFM|}}} |&rft.jfm={{urlencode:{{{JFM}}}}}
+
       #if: {{{URL|{{{IncludedWorkURL|}}}}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
    }}{{
+
     }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;">&nbsp;</span></span><noinclude>{{documentation}}</noinclude>
      #if: {{{JSTOR|}}} |&rft.jstor={{urlencode:{{{JSTOR}}}}}
 
    }}{{
 
      #if: {{{LCCN|}}} |&rft.lccn={{urlencode:{{{LCCN}}}}}
 
    }}{{
 
      #if: {{{OCLC|}}} |&rft_id=info:oclcnum/{{urlencode:{{{OCLC}}}}}
 
    }}{{
 
      #if: {{{OL|}}} |&rft_id=info:olnum/{{urlencode:{{{OL}}}}}
 
    }}{{
 
      #if: {{{OSTI|}}} |&rft_id=info:osti/{{urlencode:{{{OSTI}}}}}
 
    }}{{
 
      #if: {{{MR|}}} |&rft.mr={{urlencode:{{{MR}}}}}
 
    }}{{
 
      #if: {{{PMC|}}} |&rft_id=info:pmc/{{urlencode:{{{PMC}}}}}
 
    }}{{
 
      #if: {{{PMID|}}} |&rft_id=info:pmid/{{urlencode:{{{PMID}}}}}
 
    }}{{
 
      #if: {{{RFC|}}} |&rft_id=info:rfc/{{urlencode:{{{RFC}}}}}
 
    }}{{
 
      #if: {{{SSRN|}}} |&rft_id=info:ssrn/{{urlencode:{{{SSRN}}}}}
 
    }}{{
 
      #if: {{{ZBL|}}} |&rft_id=info:zbl/{{urlencode:{{{ZBL}}}}}
 
    }}{{
 
      #if: {{{URL|}}}{{{IncludedWorkURL|}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
 
     }}&rfr_id=info:sid/en.wikipedia.org:{{FULLPAGENAMEE}}"><span style="display: none;">&nbsp;</span></span><noinclude>
 
{{Documentation}}
 
</noinclude>
 

Latest revision as of 16:28, 29 April 2011

{{

 #if:
 |{{
    #if: 
    |[[{{{Authorlink1}}} |{{{Surname1}}}{{
       #if: 
       |, {{{Given1}}}
     }}]]
    |{{{Surname1}}}{{
       #if: 
       |, {{{Given1}}}
     }}
  }}{{
    #if: 
    |{{
       #if: 
       |; 
       |{{#if:| & |; }}
     }}{{
       #if: 
       |[[{{{Authorlink2}}} |{{{Surname2}}}{{
          #if: 
          |, {{{Given2}}}
        }}]]
       |{{{Surname2}}}{{
          #if: 
          |, {{{Given2}}}
        }}
     }}{{
       #if: 
       |{{
          #if: 
          |; 
          |{{#if:| & |; }}
        }}{{
          #if: 
          |[[{{{Authorlink3}}} |{{{Surname3}}}{{
             #if: 
             |, {{{Given3}}}
           }}]]
          |{{{Surname3}}}{{
             #if: 
             |, {{{Given3}}}
           }}
        }}{{
          #if:
          |{{
             #if: 
             |; 
             |{{#if:| & |; }}
           }}{{
             #if: 
             |[[{{{Authorlink4}}} |{{{Surname4}}}{{
                #if: 
                |, {{{Given4}}}
              }}]]
             |{{{Surname4}}}{{
                #if: 
                |, {{{Given4}}}
              }}
           }}{{
             #if:
             |{{
                #if: 
                |; 
                |{{#if:| & |; }}
              }}{{
                #if: 
                |[[{{{Authorlink5}}} |{{{Surname5}}}{{
                   #if: 
                   |, {{{Given5}}}
                 }}]]
                |{{{Surname5}}}{{
                   #if: 
                   |, {{{Given5}}}
                 }}
              }}{{
                #if:
                |{{
                   #if: 
                   |; 
                   |{{#if:| & |; }}
                 }}{{
                   #if: 
                   |[[{{{Authorlink6}}} |{{{Surname6}}}{{
                      #if: 
                      |, {{{Given6}}}
                    }}]]
                   |{{{Surname6}}}{{
                      #if: 
                      |, {{{Given6}}}
                    }}
                 }}{{
                   #if:
                   |{{
                      #if: 
                      |; 
                      |{{#if:| & |; }}
                    }}{{
                      #if: 
                      |[[{{{Authorlink7}}} |{{{Surname7}}}{{
                         #if: 
                         |, {{{Given7}}}
                       }}]]
                      |{{{Surname7}}}{{
                         #if: 
                         |, {{{Given7}}}
                       }}
                    }}{{
                      #if:
                      |{{
                         #if: 
                         |; 
                         |{{#if:| & |; }}
                       }}{{
                         #if: 
                         |[[{{{Authorlink8}}} |{{{Surname8}}}{{
                            #if: 
                            |, {{{Given8}}}
                          }}]]
                         |{{{Surname8}}}{{
                            #if: 
                            |, {{{Given8}}}
                          }}
                       }}{{
                         #if:
                         |;  et al.
                       }}
                    }}
                 }}
              }}
           }}
        }}
     }}
  }}{{
    #if: 
    | ({{{Date}}}){{
      #if:
    | [{{{YearNote}}}]
    }}
  }}
 |{{
    #if: 
    |{{
       #if: 
       |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
          #if: 
          |, {{{EditorGiven1}}}
        }}]]
       |{{{EditorSurname1}}}{{
          #if: 
          |, {{{EditorGiven1}}}
        }}
     }}{{
       #if: 
       |; {{
          #if: 
          |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{
             #if: 
             |, {{{EditorGiven2}}}
           }}]]
          |{{{EditorSurname2}}}{{
             #if: 
             |, {{{EditorGiven2}}}
           }}
        }}{{
          #if: 
          |;  {{
             #if: 
             |[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{
                #if: 
                |, {{{EditorGiven3}}}
              }}]]
             |{{{EditorSurname3}}}{{
                #if: 
                |, {{{EditorGiven3}}}
              }}
           }}{{
             #if:
             | et al.
           }}
        }}
      }}, ed{{#if:|s}}{{#ifeq:,|.||.}}{{
       #if: 
       | ({{{Date}}})
     }}
  }}

}}{{

 #if: 
 |{{
    #if: 
    |,  
  }}{{#if: {{
          #if: 
          |{{{IncludedWorkURL}}}
          |{{
             #if: 
             |{{{URL}}}
             |{{
                #if: 
                |http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
              }}
           }} 
        }} 
 | [{{
          #if: 
          |{{{IncludedWorkURL}}}
          |{{
             #if: 
             |{{{URL}}}
             |{{
                #if: 
                |http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
              }}
           }} 
        }} {{
          #if: 
          |{{{IncludedWorkTitle}}}
          |"{{{IncludedWorkTitle}}}"
        }}] 
 | {{
          #if: 
          |{{{IncludedWorkTitle}}}
          |"{{{IncludedWorkTitle}}}"
        }} 

}} }}{{

 #if: 
 |{{
    #ifeq:  | 
    |
    |{{
       #if: 
       |, written at {{{Place}}}
     }}
  }}

}}{{

 #if: 
 |{{
    #if: 
    |, {{
       #if: 
       |in 
     }}{{
       #if: 
       |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
          #if: 
          |, {{{EditorGiven1}}}
        }}]]
       |{{{EditorSurname1}}}{{
          #if: 
          |, {{{EditorGiven1}}}
        }}}}{{
       #if: 
       |; {{
          #if: 
          |[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{
             #if: 
             |, {{{EditorGiven2}}}
           }}]]
          |{{{EditorSurname2}}}{{
             #if: 
             |, {{{EditorGiven2}}}
           }}
        }}{{
          #if: 
          |; {{
             #if: 
             |[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{
                #if: 
                |, {{{EditorGiven3}}}
              }}]]
             |{{{EditorSurname3}}}{{
                #if: 
                |, {{{EditorGiven3}}}
              }}
           }}{{
             #if:
             | et al.
           }}
        }}
     }}{{
       #if: 
       |
       |, ed{{#if:|s}}{{#ifeq:,|.||.}}
     }}
  }}

}}{{

 #if: 
 |{{
    #if: 
    |, }}{{
    #if: 
    |"{{#if: {{
             #if: 
             |{{
                #if: 
                |{{
                   #if: 
                   |{{{URL}}}
                   |{{ 
                      #if:  
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                    }} 
                 }}
              }}
             |{{
                #if: 
                |{{{URL}}}
                | {{ 
                      #if:  
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                   }} 
                 
              }}
           }} 
 | [{{
             #if: 
             |{{
                #if: 
                |{{
                   #if: 
                   |{{{URL}}}
                   |{{ 
                      #if:  
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                    }} 
                 }}
              }}
             |{{
                #if: 
                |{{{URL}}}
                | {{ 
                      #if:  
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                   }} 
                 
              }}
           }} {{{Title}}}] 
 | {{{Title}}} 

}}"}} }}{{

#if: 
  |  (in {{{language}}})
}}{{#if:
  | ({{{format}}})
}}{{
  #if: |{{
      #if:|, }}{{{Periodical}}}{{
    #if: 
    |, {{{Series}}}
  }}{{
    #if: 
    |{{
       #if: 
       | ({{{PublicationPlace}}}: {{{Publisher}}})
       | ({{{PublicationPlace}}})
     }}
    |{{
       #if: 
       | ({{{Publisher}}})
     }}
  }}{{
    #if: 
    | {{{Volume}}}{{
       #if: 
       | ({{{Issue}}})
     }}
    |{{
       #if: 
       | ({{{Issue}}})
     }}
  }}{{
    #if: 
    |:  {{{At}}}
  }}
 |{{
    #if: 
    |{{
       #if: 
       |, 
     }}{{#if: {{
             #if: 
             |{{
                #if: 
                |{{
                   #if: 
                   |{{{URL}}}
                   |{{ 
                      #if:  
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                    }} 
                 }}
              }}
             |{{
                #if: 
                |{{{URL}}}
                |{{ 
                   #if:  
                   |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}       
                 }}
              }}
           }} 
 | [{{
             #if: 
             |{{
                #if: 
                |{{
                   #if: 
                   |{{{URL}}}
                   |{{ 
                      #if:  
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                    }} 
                 }}
              }}
             |{{
                #if: 
                |{{{URL}}}
                |{{ 
                   #if:  
                   |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}       
                 }}
              }}
           }} {{{Title}}}] 
 | {{{Title}}} 

}}}}{{

       #if: 
       |, {{{Series}}}
     }}{{
       #if: 
       |, {{{Volume}}}
     }}{{
       #if:  
       |, 
     }}{{
       #if: 
       | ({{{Edition}}} ed.)
     }}{{
       #if: 
       |, {{{PublicationPlace}}}
     }}{{
       #if: 
       |{{
          #if: 
          |:
          |,
        }} {{{Publisher}}}
     }}
  }}{{
 #if: 
 |
 |{{
    #if: 
    |, {{{Date}}}
  }}

}}{{

 #if: 
 |{{
    #ifeq:  | 
    |
    |{{
       #if: 
       |{{
          #if: 
          |, {{{PublicationDate}}}
          | (published {{{PublicationDate}}})
        }}
       |{{
          #if: 
          |, {{{PublicationDate}}}
          | (published {{{PublicationDate}}})
        }}
     }}
  }}

}}{{

 #if: 
 |
 |{{
    #if: 
    |, {{{At}}}
  }}

}}{{

  1. if:
 |, doi:{{#if:  
    | {{{DOI}}} (inactive ) {{#ifeq: Template |  | [[Category:Pages with DOIs broken since {{#time: Y |  }}]] }}
    | {{{DOI}}}
   }}

}}{{

 #if: 
 |, {{{ID}}}

}}{{

 #if: 
 |, ISBN {{{ISBN}}}

}}{{

 #if: 
 |, ISSN {{{ISSN}}}

}}{{

 #if: 
 |, OCLC {{{OCLC}}}

}}{{

 #if:  
 |, PMID {{{PMID}}} 

}}{{

 #if:  
 |{{#if: 
    |, PMC: {{{PMC}}}
  }}

}}{{

 #if:  
 |, Bibcode{{{Bibcode}}}

}}{{

 #if: 
 |, {{{Archive}}}
 |{{
   #if:
   |, {{#ifeq:{{{Sep}}}|.|A|a}}rchived from {{#if:|{{#if: {{{OriginalURL}}} 
 | [{{{OriginalURL}}} the original] 
 | the original 

}}|the original (unspecified URL)}}{{

     #if:
     | on {{{ArchiveDate}}}
     |. You must specify the date the archive was made using the |{{#if:archivedate|archivedate=|}} parameter{{#if: Template||}} 
     }}
   |{{#if:|, {{#ifeq:{{{Sep}}}|.|A|a}}rchived on {{{ArchiveDate}}}; no |{{#if:archiveurl|archiveurl=|}} specified}}
  }}

}}{{

 #if: 
 |{{
    #if: 
    |, {{
                                     #if: 
                                     |{{{IncludedWorkURL}}}
                                     |{{{URL}}}
                                   }}
    |, {{
             #if: 
             |{{{IncludedWorkURL}}}
             |{{{URL}}}
           }}
  }}{{
    #if: 
    | {{#ifeq:,|,|, r|. R}}etrieved on {{{AccessDate}}}
    }}

}}{{#if:

 |, [{{{laysummary}}} Lay summary]{{#if: | – {{{laysource}}}}}

}}{{#if:

 |  ({{{laydate}}})

}}{{#if:

 |,  "{{{quote}}}"
}} 
{{#ifeq:μ|
 |
|
{{#ifeq:μ|μ
  |{{#ifexist: Template:Documentation/docname
   |[[{{fullurl:Template:Documentation/docname|action=edit}} edit]] [[[:Template:Purge]]] 
   |[[{{fullurl:Template:Documentation/docname|action=edit&preload=Template:Documentation/preload}} create]]
  }}
}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|50px Template documentation|Documentation}}}}
}}

{{#if:|{{{content}}}|{{#ifexist:Template:Documentation/docname | {{ Template:Documentation/docname }} }}}}