Template:Citation/core

From Soma-notes

{{

 #if:
 |{{
    #if: 
    |{{
       #iferror: {{ #expr: 1*{{{AuthorMask}}} }}
       |{{{AuthorMask}}}
       |Template:Loop
     }}
    |{{
       #if: 
       |[[{{{Authorlink1}}} |{{{Surname1}}}{{
         #if: 
         |, {{{Given1}}}
        }}]]
       |{{{Surname1}}}{{
          #if: 
          |, {{{Given1}}}
        }}
     }}
  }}{{
    #if: 
    |{{#ifexpr:8<2
      | et al.
      |{{
         #iferror: {{ #expr: 1*0.0 }}
         | 
         |{{
           #if: 
           |; 
           |{{#if:| & |; }}
         }}
       }}{{
         #if: 
         |[[{{{Authorlink2}}} |{{{Surname2}}}{{
            #if: 
            |, {{{Given2}}}
          }}]]
         |{{{Surname2}}}{{
            #if: 
            |, {{{Given2}}}
          }}
       }}{{
         #if: 
         |{{#ifexpr:8<3
           | et al.
           |{{
              #if: 
              |; 
              |{{#if:| & |; }}
            }}{{
              #if: 
              |[[{{{Authorlink3}}} |{{{Surname3}}}{{
                 #if: 
                 |, {{{Given3}}}
               }}]]
              |{{{Surname3}}}{{
                 #if: 
                 |, {{{Given3}}}
               }}
            }}{{
              #if:
              |{{#ifexpr:8<4
                | et al.
                |{{
                   #if: 
                   |; 
                   |{{#if:| & |; }}
                 }}{{
                   #if: 
                   |[[{{{Authorlink4}}} |{{{Surname4}}}{{
                      #if: 
                      |, {{{Given4}}}
                    }}]]
                   |{{{Surname4}}}{{
                      #if: 
                      |, {{{Given4}}}
                   }}
                 }}{{
                 #if:
                 |{{#ifexpr:8<5
                   | et al.
                   |{{
                    #if: 
                    |; 
                    |{{#if:| & |; }}
                   }}{{
                    #if: 
                    |[[{{{Authorlink5}}} |{{{Surname5}}}{{
                       #if: 
                       |, {{{Given5}}}
                     }}]]
                    |{{{Surname5}}}{{
                       #if: 
                       |, {{{Given5}}}
                     }}
                  }}{{
                    #if:
                    |{{#ifexpr:8<6
                    | et al.
                     |{{
                       #if: 
                       |; 
                       |{{#if:| & |; }}
                     }}{{
                       #if: 
                       |[[{{{Authorlink6}}} |{{{Surname6}}}{{
                          #if: 
                          |, {{{Given6}}}
                        }}]]
                       |{{{Surname6}}}{{
                          #if: 
                          |, {{{Given6}}}
                        }}
                     }}{{
                       #if:
                        |{{#ifexpr:8<7
                          | et al.
                       |{{
                          #if: 
                          |; 
                          |{{#if:| & |; }}
                        }}{{
                          #if: 
                          |[[{{{Authorlink7}}} |{{{Surname7}}}{{
                             #if: 
                             |, {{{Given7}}}
                           }}]]
                          |{{{Surname7}}}{{
                             #if: 
                             |, {{{Given7}}}
                           }}
                                   }}{{
                                      #if:
                                      |{{#ifexpr:8<8
                                          | et al.
                                          |{{
                                             #if: 
                                             |; 
                                             |{{#if:| & |; }}
                                           }}{{
                                             #if: 
                                             |[[{{{Authorlink8}}} |{{{Surname8}}}{{
                                                #if: 
                                                |, {{{Given8}}}
                                              }}]]
                                             |{{{Surname8}}}{{
                                                #if: 
                                                |, {{{Given8}}}
                                              }}
                                           }}{{
                                             #if:
                                             | et al.
                                           }}
                                        }}
                                     }}
                                  }}
                               }}
                            }}
                         }}
                      }}
                    }}
                 }}
              }}
           }}
        }}
     }}
  }}{{
    #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.
           }}
        }}
      }}, ed{{#if:|s}}{{#ifeq:,|.||.}}{{
       #if: 
       | ({{{Date}}}){{
        #if:
      | [{{{YearNote}}}]
      }}
     }}
  }}

}}{{

 #if: {{#if:||{{#if:||}}}}
 |{{
    #if:
    |, 
  }}Template:Citation/make link

}}{{

 #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.
           }}
        }}
     }}{{
       #if: 
       |
       |, ed{{#if:|s}}{{#ifeq:,|.||.}}
     }}
  }}

}}{{

 #if: 
 |{{
    #if: 
    |, 
  }}{{
    #if: 
    |, }}{{
    #if: 
    |Template:Citation/make link{{
       #if: 
       |, {{{TitleNote}}}
     }}
  }}

}}{{

 #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: 
        |,
      }} Template:Citation/make link
   }}{{
     #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}}}
  }}

}}{{

  1. if:
 |, Template:Citation/identifier

}}{{

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

}}{{

 #if: 
 |, Template:Citation/identifier

}}{{

 #if: 
 |, Template:Citation/identifier

}}{{

 #if: 
 |, Template:Citation/identifier

}}{{

 #if: 
 |, Template:Citation/identifier

}}{{

 #if: 
 |{{
    #if: 
    |, Template:Citation/identifier
    |Template:Only in print
  }}

}}{{

 #if: 
 |, Template:Citation/identifier

}}{{

  1. if:

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

 #if:
 |, {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{
   #if:
   |{{#if:| from Template:Citation/make link}}
   }}{{
   #if:
   | on {{{ArchiveDate}}}
   }}{{
   #if:{{#if:||A}}{{#if:||B}}{{#if:||C}}
   |. Template:Citation error
   }}
 }}

}}{{

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

}}{{#if:

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

}}{{#if:

 |  ({{{laydate}}})

}}{{#if:

 |, "{{{quote}}}"

}} 


Template:Uncategorized