Template:Citation/core: Difference between revisions

From OxDNA
Jump to navigation Jump to search
(New page: <span class="citation {{{Citation class|{{{Citation type|}}}}}}" {{ #switch:{{{Ref|}}} ||none = |#default = id="{{anchorencode:{{{Ref}}}}}" |harv = {{#if:{{{Surname1|}}}{{{EditorSu...)
(No difference)

Revision as of 15:04, 13 April 2012

{{

 #if:
 |{{
    #if: 
    |{{
       #iferror: {{ #expr: 1*{{{AuthorMask}}} }}
       |{{{AuthorMask}}}
       |
     }}
    |{{
       #if: 
       |[[{{{Authorlink1}}} |{{{Surname1}}}{{
         #if: 
         |, {{{Given1}}}
        }}]]
       |{{{Surname1}}}{{
          #if: 
          |, {{{Given1}}}
        }}
     }}
  }}{{
    #if: 
    |{{#ifexpr:8<2
      | et al{{#ifeq:|.||.}}
      |{{
         #iferror: {{ #expr: 1*0.0 }}
         | 
         |{{
           #if: 
           |; 
           |{{#if:| & |; }}
         }}
       }}{{
         #if: 
         |[[{{{Authorlink2}}} |{{{Surname2}}}{{
            #if: 
            |, {{{Given2}}}
          }}]]
         |{{{Surname2}}}{{
            #if: 
            |, {{{Given2}}}
          }}
       }}{{
         #if: 
         |{{#ifexpr:8<3
           | et al{{#ifeq:|.||.}}
           |{{
              #if: 
              |; 
              |{{#if:| & |; }}
            }}{{
              #if: 
              |[[{{{Authorlink3}}} |{{{Surname3}}}{{
                 #if: 
                 |, {{{Given3}}}
               }}]]
              |{{{Surname3}}}{{
                 #if: 
                 |, {{{Given3}}}
               }}
            }}{{
              #if:
              |{{#ifexpr:8<4
                | et al{{#ifeq:|.||.}}
                |{{
                   #if: 
                   |; 
                   |{{#if:| & |; }}
                 }}{{
                   #if: 
                   |[[{{{Authorlink4}}} |{{{Surname4}}}{{
                      #if: 
                      |, {{{Given4}}}
                    }}]]
                   |{{{Surname4}}}{{
                      #if: 
                      |, {{{Given4}}}
                   }}
                 }}{{
                 #if:
                 |{{#ifexpr:8<5
                   | et al{{#ifeq:|.||.}}
                   |{{
                    #if: 
                    |; 
                    |{{#if:| & |; }}
                   }}{{
                    #if: 
                    |[[{{{Authorlink5}}} |{{{Surname5}}}{{
                       #if: 
                       |, {{{Given5}}}
                     }}]]
                    |{{{Surname5}}}{{
                       #if: 
                       |, {{{Given5}}}
                     }}
                  }}{{
                    #if:
                    |{{#ifexpr:8<6
                    | et al{{#ifeq:|.||.}}
                     |{{
                       #if: 
                       |; 
                       |{{#if:| & |; }}
                     }}{{
                       #if: 
                       |[[{{{Authorlink6}}} |{{{Surname6}}}{{
                          #if: 
                          |, {{{Given6}}}
                        }}]]
                       |{{{Surname6}}}{{
                          #if: 
                          |, {{{Given6}}}
                        }}
                     }}{{
                       #if:
                        |{{#ifexpr:8<7
                          | et al{{#ifeq:|.||.}}
                       |{{
                          #if: 
                          |; 
                          |{{#if:| & |; }}
                        }}{{
                          #if: 
                          |[[{{{Authorlink7}}} |{{{Surname7}}}{{
                             #if: 
                             |, {{{Given7}}}
                           }}]]
                          |{{{Surname7}}}{{
                             #if: 
                             |, {{{Given7}}}
                           }}
                                   }}{{
                                      #if:
                                      |{{#ifexpr:8<8
                                          | et al{{#ifeq:|.||.}}
                                          |{{
                                             #if: 
                                             |; 
                                             |{{#if:| & |; }}
                                           }}{{
                                             #if: 
                                             |[[{{{Authorlink8}}} |{{{Surname8}}}{{
                                                #if: 
                                                |, {{{Given8}}}
                                              }}]]
                                             |{{{Surname8}}}{{
                                                #if: 
                                                |, {{{Given8}}}
                                              }}
                                           }}{{
                                             #if:
                                             | et al{{#ifeq:|.||.}}
                                           }}
                                        }}
                                     }}
                                  }}
                               }}
                            }}
                         }}
                      }}
                    }}
                 }}
              }}
           }}
        }}
     }}
  }}{{
    #if: 
    |; |
  }}{{
    #if: 
    | ({{{Date}}}){{
      #if:
    | [{{{YearNote}}}]
    }}
  }}
 |{{
    #if: 
    |{{
       #if: 
       |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
          #if: 
          |, {{{EditorGiven1}}}
        }}]]
       |{{{EditorSurname1}}}{{
          #if: 
          |, {{{EditorGiven1}}}
        }}
     }}{{
       #if: 
       |{{
         #if: 
         |; 
         |{{#if:| & |; }}
       }}{{
          #if: 
          |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{
             #if: 
             |, {{{EditorGiven2}}}
           }}]]
          |{{{EditorSurname2}}}{{
             #if: 
             |, {{{EditorGiven2}}}
           }}
        }}{{
          #if: 
          |{{
             #if: 
             |; 
             |{{#if:| & |; }}
           }}{{
             #if: 
             |[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{
                #if: 
                |, {{{EditorGiven3}}}
              }}]]
             |{{{EditorSurname3}}}{{
                #if: 
                |, {{{EditorGiven3}}}
              }}
           }}{{
             #if:
             | et al{{#ifeq:|.||.}}
           }}
        }}
      }}, ed{{#if:|s}}{{#ifeq:{{{Sep}}}|.|{{#if:|.}}|.}}{{
       #if: 
       | ({{{Date}}}){{
        #if:
      | [{{{YearNote}}}]
      }}
     }}
  }}

}}{{

 #if: {{#if:||{{#if:||}}}}
 |{{
    #if:
    |, 
  }}{{#if:{{
          #if: 
          |{{{IncludedWorkURL}}}
          |{{
             #if: 
             |{{{URL}}}
           }}
        }}
|[{{
          #if: 
          |{{{IncludedWorkURL}}}
          |{{
             #if: 
             |{{{URL}}}
           }}
        }} {{
          #if: 
          |{{{IncludedWorkTitle}}}
          |"{{
            #if: 
            |{{
               #if: 
               | 
             }}[{{{TransTitle}}}]
          }}"
        }}]
|{{
          #if: 
          |{{{IncludedWorkTitle}}}
          |"{{
            #if: 
            |{{
               #if: 
               | 
             }}[{{{TransTitle}}}]
          }}"
        }}

}} }}{{

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

}}{{

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

}}{{

 #if: 
 |{{
    #if: 
    |, 
  }}{{
    #if: 
    |, }}{{
    #if: 
    |{{#if:{{
             #if: 
             |{{
                #if: 
                |{{
                   #if: 
                   |{{{URL}}}
                 }}
              }}
             |{{
                #if: 
                |{{{URL}}}
              }}
           }}
|[{{
             #if: 
             |{{
                #if: 
                |{{
                   #if: 
                   |{{{URL}}}
                 }}
              }}
             |{{
                #if: 
                |{{{URL}}}
              }}
           }} "{{{Title}}}{{
         #if: 
         |{{
            #if: 
            | 
          }}[{{{TransTitle}}}]
       }}"]
|"{{{Title}}}{{
         #if: 
         |{{
            #if: 
            | 
          }}[{{{TransTitle}}}]
       }}"

}}{{

       #if: 
       |, {{{TitleNote}}}
     }}
  }}

}}{{

 #if: 
 | (in {{{language}}})

}}{{

 #if: 
 | ({{{format}}})

}}{{

  #if: 
  |{{
     #if:
     |, 
   }}{{{Periodical}}}{{
     #if: 
     |, {{{Series}}}
   }}{{
     #if: 
     |{{
        #if: 
        | ({{{PublicationPlace}}}: {{{Publisher}}})
        | ({{{PublicationPlace}}})
      }}
     |{{
        #if: 
        | ({{{Publisher}}})
      }}
   }}{{
     #if: 
     | {{#if:|{{{Volume}}}|{{{Volume}}}}}{{
        #if: 
        | ({{{Issue}}})
      }}
     |{{
        #if: 
        | ({{{Issue}}})
      }}
   }}{{
     #if: 
     |:  {{{At}}}
   }}
  |{{
     #if: 
     |{{
        #if: 
        |,
      }} {{#if:{{
              #if: 
              |{{
                 #if: 
                 |{{
                    #if: 
                    |{{{URL}}}
                  }}
               }}
              |{{
                 #if: 
                 |{{{URL}}}
               }}
            }}
|[{{
              #if: 
              |{{
                 #if: 
                 |{{
                    #if: 
                    |{{{URL}}}
                  }}
               }}
              |{{
                 #if: 
                 |{{{URL}}}
               }}
            }} {{
           #if:| [{{{TransItalic}}}]
         }}]
|{{
           #if:| [{{{TransItalic}}}]
         }}

}}

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

}}{{

 #if: 
 |
 |{{
    #if: 
    |, {{{Date}}}{{
      #if:
    | [{{{YearNote}}}]
    }}
  }}

}}{{

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

}}{{

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

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

  1. if:
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

 #if: 
 |, 

}}{{

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

}}{{

  1. if:

|, {{{Archive}}} |{{

 #if:
 | , {{#ifeq:  | no
   | {{#if:
      |{{#if:
|[ {{#ifeq:{{{Sep}}}|.|A|a}}rchived]
|{{#ifeq:{{{Sep}}}|.|A|a}}rchived

}} from the original

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

}}}}

     }}
   }}{{#if:| on {{{ArchiveDate}}}}}{{
    #if:{{#if:||A}}{{#if:||B}}{{#if:||C}}
    |. Template:Citation error
   }}
 }}

}}{{

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

}}{{#if:

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

}}{{#if:

 |  ({{{laydate}}})

}}{{#if:

 |, "{{{quote}}}"

}}