Template:Cite book

From Soma-notes
Revision as of 02:48, 1 March 2011 by Slyons (talk | contribs) (Created page with "{{Citation/core |Citation class=book |AuthorMask = {{{authormask|{{{author-mask|}}}}}} |Surname1 = {{{last|{{{surname|{{{last1|{{{surname1|{{{author1|{{{author|{{{authors|{{…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{

 #if:
 |{{
    #if: 
    |{{
       #iferror: {{ #expr: 1* }}
       |
       |Template:Loop
     }}
    |{{
       #if: 
       |[[ |{{
         #if: 
         |, 
        }}]]
       |{{
          #if: 
          |, 
        }}
     }}
  }}{{
    #if: 
    |{{#ifexpr:8<2
      | et al.
      |{{
         #iferror: {{ #expr: 1*0.0 }}
         | 
         |{{
           #if: 
           |{{#ifeq:|;|;|;}} 
           |{{#if:| & |{{#ifeq:|;|;|;}} }}
         }}
       }}{{
         #if: 
         |[[ |{{
            #if: 
            |, 
          }}]]
         |{{
            #if: 
            |, 
          }}
       }}{{
         #if: 
         |{{#ifexpr:8<3
           | et al.
           |{{
              #if: 
              |{{#ifeq:|;|;|;}} 
              |{{#if:| & |{{#ifeq:|;|;|;}} }}
            }}{{
              #if: 
              |[[ |{{
                 #if: 
                 |, 
               }}]]
              |{{
                 #if: 
                 |, 
               }}
            }}{{
              #if:
              |{{#ifexpr:8<4
                | et al.
                |{{
                   #if: 
                   |{{#ifeq:|;|;|;}} 
                   |{{#if:| & |{{#ifeq:|;|;|;}} }}
                 }}{{
                   #if: 
                   |[[ |{{
                      #if: 
                      |, 
                    }}]]
                   |{{
                      #if: 
                      |, 
                   }}
                 }}{{
                 #if:
                 |{{#ifexpr:8<5
                   | et al.
                   |{{
                    #if: 
                    |{{#ifeq:|;|;|;}} 
                    |{{#if:| & |{{#ifeq:|;|;|;}} }}
                   }}{{
                    #if: 
                    |[[ |{{
                       #if: 
                       |, 
                     }}]]
                    |{{
                       #if: 
                       |, 
                     }}
                  }}{{
                    #if:
                    |{{#ifexpr:8<6
                    | et al.
                     |{{
                       #if: 
                       |{{#ifeq:|;|;|;}} 
                       |{{#if:| & |{{#ifeq:|;|;|;}} }}
                     }}{{
                       #if: 
                       |[[ |{{
                          #if: 
                          |, 
                        }}]]
                       |{{
                          #if: 
                          |, 
                        }}
                     }}{{
                       #if:
                        |{{#ifexpr:8<7
                          | et al.
                       |{{
                          #if: 
                          |{{#ifeq:|;|;|;}} 
                          |{{#if:| & |{{#ifeq:|;|;|;}} }}
                        }}{{
                          #if: 
                          |[[ |{{
                             #if: 
                             |, 
                           }}]]
                          |{{
                             #if: 
                             |, 
                           }}
                                   }}{{
                                      #if:
                                      |{{#ifexpr:8<8
                                          | et al.
                                          |{{
                                             #if: 
                                             |{{#ifeq:|;|;|;}} 
                                             |{{#if:| & |{{#ifeq:|;|;|;}} }}
                                           }}{{
                                             #if: 
                                             |[[ |{{
                                                #if: 
                                                |, 
                                              }}]]
                                             |{{
                                                #if: 
                                                |, 
                                              }}
                                           }}{{
                                             #if:
                                             | et al.
                                           }}
                                        }}
                                     }}
                                  }}
                               }}
                            }}
                         }}
                      }}
                    }}
                 }}
              }}
           }}
        }}
     }}
  }}{{
    #if: 
    |{{#ifeq:|;|;|;}} |
  }}{{
    #if: {{#if:|{{{date}}}|  }}
    | ({{#if:|{{{date}}}|  }}){{
      #if:
    | []
    }}
  }}
 |{{
    #if: 
    |{{
       #if: 
       |[[ |{{
          #if: 
          |, 
        }}]]
       |{{
          #if: 
          |, 
        }}
     }}{{
       #if: 
       |{{
         #if: 
         |{{#ifeq:|;|;|;}} 
         |{{#if:| & |{{#ifeq:|;|;|;}} }}
       }}{{
          #if: 
          |[[ |{{
             #if: 
             |, 
           }}]]
          |{{
             #if: 
             |, 
           }}
        }}{{
          #if: 
          |{{
             #if: 
             |{{#ifeq:|;|;|;}} 
             |{{#if:| & |{{#ifeq:|;|;|;}} }}
           }}{{
             #if: 
             |[[ |{{
                #if: 
                |, 
              }}]]
             |{{
                #if: 
                |, 
              }}
           }}{{
             #if:
             | et al.
           }}
        }}
      }}, ed{{#if:|s}}{{#ifeq:.|.||.}}{{
       #if: {{#if:|{{{date}}}|  }}
       | ({{#if:|{{{date}}}|  }}){{
        #if:
      | []
      }}
     }}
  }}

}}{{

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

}}{{

 #if: 
 |{{
    #ifeq:  | 
    |
    |{{
       #if: 
       |. written at 
     }}
  }}

}}{{

 #if: 
 |{{
    #if: 
    |. {{
       #if: 
       |{{#ifeq:.|.|I|i}}n 
     }}{{
       #if: 
       |[[ |{{
          #if: 
          |, 
        }}]]
       |{{
          #if: 
          |, 
        }}}}{{
       #if: 
       |{{
         #if: 
           |{{#ifeq:|;|;|;}} 
           |{{#if:| & |{{#ifeq:|;|;|;}} }}
         }}{{
          #if: 
          |[[|{{
             #if: 
             |, 
           }}]]
          |{{
             #if: 
             |, 
           }}
        }}{{
          #if: 
          |{{
             #if: 
             |; 
             |{{#if:| & |{{#ifeq:|;|;|;}} }}
           }}{{
             #if: 
             |[[|{{
                #if: 
                |, 
              }}]]
             |{{
                #if: 
                |, 
              }}
           }}{{
             #if:
             | et al.
           }}
        }}
     }}{{
       #if: 
       |
       |. ed{{#if:|s}}{{#ifeq:.|.||.}}
     }}
  }}

}}{{

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

}}{{

 #if: 
 | (in )

}}{{

 #if: 
 | ()

}}{{

  #if: 
  |{{
     #if:
     |. 
   }}{{{Periodical}}}{{
     #if: 
     |. 
   }}{{
     #if: 
     |{{
        #if: 
        | (: )
        | ()
      }}
     |{{
        #if: 
        | ()
      }}
   }}{{
     #if: 
     | {{
        #if: 
        | ()
      }}
     |{{
        #if: 
        | ()
      }}
   }}{{
     #if: {{
         #if: 
         |
         |{{
            #if: 
            |{{#if:||p. }}{{{page}}}
            |{{
               #if: 
               |{{#if:||pp. }}{{{pages}}}
               |
             }}
          }}
       }}
     |:  {{
         #if: 
         |
         |{{
            #if: 
            |{{#if:||p. }}{{{page}}}
            |{{
               #if: 
               |{{#if:||pp. }}{{{pages}}}
               |
             }}
          }}
       }}
   }}
  |{{
     #if: 
     |{{
        #if: 
        |.
      }} Template:Citation/make link
   }}{{
     #if: 
     | ()
   }}{{
     #if: 
     |. 
   }}{{
     #if: 
     |. 
   }}{{
     #if: 
     |. 
   }}{{
     #if: 
     | ( ed.)
   }}{{
     #if: 
     |. 
   }}{{
     #if: 
     |{{
        #if: 
        |:
        |.
      }} 
   }}

}}{{

 #if: 
 |
 |{{
    #if: {{#if:|{{{date}}}|  }}
    |. {{#if:|{{{date}}}|  }}{{
      #if:
    | []
    }}
  }}

}}{{

 #if: 
 |{{
    #ifeq:  | {{#if:|{{{date}}}|  }}
    |
    |{{
       #if: 
       |{{
          #if: 
          |. 
          | (published )
        }}
       |{{
          #if: 
          |. 
          | (published )
        }}
     }}
  }}

}}{{

 #if: 
 |
 |{{
    #if: {{
         #if: 
         |
         |{{
            #if: 
            |{{#if:||p. }}{{{page}}}
            |{{
               #if: 
               |{{#if:||pp. }}{{{pages}}}
               |
             }}
          }}
       }}
    |. {{
         #if: 
         |
         |{{
            #if: 
            |{{#if:||p. }}{{{page}}}
            |{{
               #if: 
               |{{#if:||pp. }}{{{pages}}}
               |
             }}
          }}
       }}
  }}

}}{{

  1. if:
 |. Template:Citation/identifier

}}{{

 #if: 
 |{{
    #if: 
    |. 
    |
  }}

}}{{

 #if: 
 |. Template:Citation/identifier

}}{{

 #if: 
 |. Template:Citation/identifier

}}{{

 #if: 
 |. Template:Citation/identifier

}}{{

 #if: 
 |. Template:Citation/identifier

}}{{

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

}}{{

 #if: 
 |. Template:Citation/identifier

}}{{

  1. if:

|. {{{Archive}}} |{{

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

}}{{

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

}}{{#if:

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

}}{{#if:

 |  ()

}}{{#if:

 |. ""

}}{{#if:||.}} {{#if:|}}

{{#if:defaultnotblank|}}

{{#ifeq:Cite book|{{#ifeq:|override|Cite book|doc}}|{{Documentation subpage/{{#ifexist: Template:Documentation subpage/{{#if: |{{{2}}}|⧼Lang⧽}} | {{#if: |{{{2}}}|⧼Lang⧽}} | {{#ifexist: Template:Documentation subpage/Template:GetFallback | Template:GetFallback | {{#ifexist: Template:Documentation subpage/Template:GetFallback2 | Template:GetFallback2 | en }} }} }}}}}} {{Esoteric/{{#ifexist: Template:Esoteric/{{#if: |{{{2}}}|⧼Lang⧽}} | {{#if: |{{{2}}}|⧼Lang⧽}} | {{#ifexist: Template:Esoteric/Template:GetFallback | Template:GetFallback | {{#ifexist: Template:Esoteric/Template:GetFallback2 | Template:GetFallback2 | en }} }} }}|1=|2=|3=|4=|5=|6=|7=|8=|9=}}{{#ifeq: Template:Cite book | Template:Esoteric | }}

Usage

This template replaces the deprecated {{book reference}}.

Template

{{cite book
 | last        = 
 | first       = 
 | coauthors   = 
 | year        = 
 | title       = 
 | publisher   = 
 | location    = 
 | pages       = 
 | url         = 
 | origdate    = 
 | month       = 
 | format      = 
 | others      = 
 | chapter     = 
 | chapterurl  = 
 | edition     = 
 | id          = 
 | accessdate  = 
 | accessmonth = 
}}

See also

en:Template:Cite book es:Plantilla:Ref-libro ja:Template:Cite book it:Template:Cita libro mk:Шаблон:Книга no:mal:Kilde bok ro:Format:Cite_book ru:Шаблон:Книга sk:Šablóna:Cite book vi:Tiêu bản:Chú thích sách zh:Template:Cite book