Difference between revisions of "Template:Citation/core"

From RRU Knowledge Base
Line 18: Line 18:
         #iferror: {{ #expr: 1*{{{AuthorMask}}} }}
         #iferror: {{ #expr: 1*{{{AuthorMask}}} }}
         |{{{AuthorMask}}}
         |{{{AuthorMask}}}
         |{{loop|{{{AuthorMask}}}|2=—}}
         |<del>{{loop|{{{AuthorMask}}}|2=&emsp;}}</del>
       }}
       }}
     |{{
     |{{
         #if: {{{Authorlink1|}}}
         #if: {{{Authorlink1|}}}
         |[[{{{Authorlink1}}} |{{{Surname1}}}{{
         |[[w:{{{Authorlink1}}} |{{{Surname1}}}{{
           #if: {{{Given1|}}}
           #if: {{{Given1|}}}
           |{{{NameSep|,&#32;}}}{{{Given1}}}
           |{{{NameSep|,&#32;}}}{{{Given1}}}
Line 34: Line 34:
     #if: {{{Surname2|}}}
     #if: {{{Surname2|}}}
     |{{#ifexpr:{{{Trunc|8}}}<2
     |{{#ifexpr:{{{Trunc|8}}}<2
       |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
       |&#32;''et al''.
       |{{
       |{{
           #iferror: {{ #expr: 1*0.0{{{AuthorMask|}}} }}
           #iferror: {{ #expr: 1*0.0{{{AuthorMask|}}} }}
Line 45: Line 45:
         }}{{
         }}{{
           #if: {{{Authorlink2|}}}
           #if: {{{Authorlink2|}}}
           |[[{{{Authorlink2}}} |{{{Surname2}}}{{
           |[[w:{{{Authorlink2}}} |{{{Surname2}}}{{
             #if: {{{Given2|}}}
             #if: {{{Given2|}}}
             |{{{NameSep|,&#32;}}}{{{Given2}}}
             |{{{NameSep|,&#32;}}}{{{Given2}}}
Line 56: Line 56:
           #if: {{{Surname3|}}}
           #if: {{{Surname3|}}}
           |{{#ifexpr:{{{Trunc|8}}}<3
           |{{#ifexpr:{{{Trunc|8}}}<3
             |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
             |&#32;''et al''.
             |{{
             |{{
               #if: {{{Surname4|}}}
               #if: {{{Surname4|}}}
Line 63: Line 63:
             }}{{
             }}{{
               #if: {{{Authorlink3|}}}
               #if: {{{Authorlink3|}}}
               |[[{{{Authorlink3}}} |{{{Surname3}}}{{
               |[[w:{{{Authorlink3}}} |{{{Surname3}}}{{
                   #if: {{{Given3|}}}
                   #if: {{{Given3|}}}
                   |{{{NameSep|,&#32;}}}{{{Given3}}}
                   |{{{NameSep|,&#32;}}}{{{Given3}}}
Line 74: Line 74:
               #if:{{{Surname4|}}}
               #if:{{{Surname4|}}}
               |{{#ifexpr:{{{Trunc|8}}}<4
               |{{#ifexpr:{{{Trunc|8}}}<4
                 |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                 |&#32;''et al''.
                 |{{
                 |{{
                     #if: {{{Surname5|}}}
                     #if: {{{Surname5|}}}
Line 81: Line 81:
                   }}{{
                   }}{{
                     #if: {{{Authorlink4|}}}
                     #if: {{{Authorlink4|}}}
                     |[[{{{Authorlink4}}} |{{{Surname4}}}{{
                     |[[w:{{{Authorlink4}}} |{{{Surname4}}}{{
                       #if: {{{Given4|}}}
                       #if: {{{Given4|}}}
                       |{{{NameSep|,&#32;}}}{{{Given4}}}
                       |{{{NameSep|,&#32;}}}{{{Given4}}}
Line 92: Line 92:
                   #if:{{{Surname5|}}}
                   #if:{{{Surname5|}}}
                   |{{#ifexpr:{{{Trunc|8}}}<5
                   |{{#ifexpr:{{{Trunc|8}}}<5
                     |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                     |&#32;''et al''.
                     |{{
                     |{{
                     #if: {{{Surname6|}}}
                     #if: {{{Surname6|}}}
Line 99: Line 99:
                     }}{{
                     }}{{
                     #if: {{{Authorlink5|}}}
                     #if: {{{Authorlink5|}}}
                     |[[{{{Authorlink5}}} |{{{Surname5}}}{{
                     |[[w:{{{Authorlink5}}} |{{{Surname5}}}{{
                         #if: {{{Given5|}}}
                         #if: {{{Given5|}}}
                         |{{{NameSep|,&#32;}}}{{{Given5}}}
                         |{{{NameSep|,&#32;}}}{{{Given5}}}
Line 110: Line 110:
                     #if:{{{Surname6|}}}
                     #if:{{{Surname6|}}}
                     |{{#ifexpr:{{{Trunc|8}}}<6
                     |{{#ifexpr:{{{Trunc|8}}}<6
                     |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                     |&#32;''et al''.
                       |{{
                       |{{
                         #if: {{{Surname7|}}}
                         #if: {{{Surname7|}}}
Line 117: Line 117:
                       }}{{
                       }}{{
                         #if: {{{Authorlink6|}}}
                         #if: {{{Authorlink6|}}}
                         |[[{{{Authorlink6}}} |{{{Surname6}}}{{
                         |[[w:{{{Authorlink6}}} |{{{Surname6}}}{{
                           #if: {{{Given6|}}}
                           #if: {{{Given6|}}}
                           |{{{NameSep|,&#32;}}}{{{Given6}}}
                           |{{{NameSep|,&#32;}}}{{{Given6}}}
Line 128: Line 128:
                         #if:{{{Surname7|}}}
                         #if:{{{Surname7|}}}
                         |{{#ifexpr:{{{Trunc|8}}}<7
                         |{{#ifexpr:{{{Trunc|8}}}<7
                           |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                           |&#32;''et al''.
                         |{{
                         |{{
                           #if: {{{Surname8|}}}
                           #if: {{{Surname8|}}}
Line 135: Line 135:
                         }}{{
                         }}{{
                           #if: {{{Authorlink7|}}}
                           #if: {{{Authorlink7|}}}
                           |[[{{{Authorlink7}}} |{{{Surname7}}}{{
                           |[[w:{{{Authorlink7}}} |{{{Surname7}}}{{
                               #if: {{{Given7|}}}
                               #if: {{{Given7|}}}
                               |{{{NameSep|,&#32;}}}{{{Given7}}}
                               |{{{NameSep|,&#32;}}}{{{Given7}}}
Line 146: Line 146:
                                       #if:{{{Surname8|}}}
                                       #if:{{{Surname8|}}}
                                       |{{#ifexpr:{{{Trunc|8}}}<8
                                       |{{#ifexpr:{{{Trunc|8}}}<8
                                           |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                                           |&#32;''et al''.
                                           |{{
                                           |{{
                                               #if: {{{Surname9|}}}
                                               #if: {{{Surname9|}}}
Line 153: Line 153:
                                             }}{{
                                             }}{{
                                               #if: {{{Authorlink8|}}}
                                               #if: {{{Authorlink8|}}}
                                               |[[{{{Authorlink8}}} |{{{Surname8}}}{{
                                               |[[w:{{{Authorlink8}}} |{{{Surname8}}}{{
                                                 #if: {{{Given8|}}}
                                                 #if: {{{Given8|}}}
                                                 |{{{NameSep|,&#32;}}}{{{Given8}}}
                                                 |{{{NameSep|,&#32;}}}{{{Given8}}}
Line 163: Line 163:
                                             }}{{
                                             }}{{
                                               #if:{{{Surname9|}}}
                                               #if:{{{Surname9|}}}
                                               |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
                                               |&#32;''et al''.
                                             }}
                                             }}
                                         }}
                                         }}
Line 193: Line 193:
     |{{
     |{{
         #if: {{{Editorlink1|}}}
         #if: {{{Editorlink1|}}}
         |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
         |[[w:{{{Editorlink1}}} |{{{EditorSurname1}}}{{
           #if: {{{EditorGiven1|}}}
           #if: {{{EditorGiven1|}}}
           |, {{{EditorGiven1}}}
           |, {{{EditorGiven1}}}
Line 209: Line 209:
         }}{{
         }}{{
           #if: {{{Editorlink2|}}}
           #if: {{{Editorlink2|}}}
           |[[{{{Editorlink2}}} |{{{EditorSurname2}}}{{
           |[[w:{{{Editorlink2}}} |{{{EditorSurname2}}}{{
               #if: {{{EditorGiven2|}}}
               #if: {{{EditorGiven2|}}}
               |, {{{EditorGiven2}}}
               |, {{{EditorGiven2}}}
Line 225: Line 225:
             }}{{
             }}{{
               #if: {{{Editorlink3|}}}
               #if: {{{Editorlink3|}}}
               |[[{{{Editorlink3}}} |{{{EditorSurname3}}}{{
               |[[w:{{{Editorlink3}}} |{{{EditorSurname3}}}{{
                 #if: {{{EditorGiven3|}}}
                 #if: {{{EditorGiven3|}}}
                 |, {{{EditorGiven3}}}
                 |, {{{EditorGiven3}}}
Line 235: Line 235:
             }}{{
             }}{{
               #if:{{{EditorSurname4|}}}
               #if:{{{EditorSurname4|}}}
               |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
               |&#32;et al.
             }}
             }}
         }}
         }}
       }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}{{
       }}, ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}{{
         #if: {{{Date|}}}
         #if: {{{Date|}}}
         |&#32;({{{Date}}}){{
         |&#32;({{{Date}}}){{
Line 259: Line 259:
               #if: {{{URL|}}}
               #if: {{{URL|}}}
               |{{{URL}}}
               |{{{URL}}}
<!-- Only link URL if to a free full text - as at PubMedCentral (PMC)-->
              |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}
                |{{
                  #if: {{{PMC|}}}
                  |http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                }}
              }}
             }}
             }}
         }}
         }}
Line 291: Line 298:
     |{{{Sep|,}}}&#32;{{
     |{{{Sep|,}}}&#32;{{
         #if: {{{IncludedWorkTitle|}}}
         #if: {{{IncludedWorkTitle|}}}
         |{{#ifeq:{{{Sep|}}}|.|I|i}}n&#32;
         |in&#32;
       }}{{
       }}{{
         #if: {{{Editorlink1|}}}
         #if: {{{Editorlink1|}}}
         |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
         |[[w:{{{Editorlink1}}} |{{{EditorSurname1}}}{{
           #if: {{{EditorGiven1|}}}
           #if: {{{EditorGiven1|}}}
           |, {{{EditorGiven1}}}
           |, {{{EditorGiven1}}}
Line 309: Line 316:
           }}{{
           }}{{
           #if: {{{Editorlink2|}}}
           #if: {{{Editorlink2|}}}
           |[[{{{Editorlink2}}}|{{{EditorSurname2}}}{{
           |[[w:{{{Editorlink2}}}|{{{EditorSurname2}}}{{
               #if: {{{EditorGiven2|}}}
               #if: {{{EditorGiven2|}}}
               |, {{{EditorGiven2}}}
               |, {{{EditorGiven2}}}
Line 325: Line 332:
             }}{{
             }}{{
               #if: {{{Editorlink3|}}}
               #if: {{{Editorlink3|}}}
               |[[{{{Editorlink3}}}|{{{EditorSurname3}}}{{
               |[[w:{{{Editorlink3}}}|{{{EditorSurname3}}}{{
                 #if: {{{EditorGiven3|}}}
                 #if: {{{EditorGiven3|}}}
                 |, {{{EditorGiven3}}}
                 |, {{{EditorGiven3}}}
Line 335: Line 342:
             }}{{
             }}{{
               #if:{{{EditorSurname4|}}}
               #if:{{{EditorSurname4|}}}
               |&#32;et al{{#ifeq:{{{Sep}}}|.|{{#if:{{{Date|}}}|.}}|.}}
               |&#32;et al.
             }}
             }}
         }}
         }}
Line 341: Line 348:
         #if: {{{IncludedWorkTitle|}}}
         #if: {{{IncludedWorkTitle|}}}
         |
         |
         |{{{Sep|,}}}&#32;ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep}}}|.||.}}
         |{{{Sep|,}}}&#32;ed{{#if:{{{EditorSurname2|}}}|s}}{{#ifeq:{{{Sep|,}}}|.||.}}
       }}
       }}
   }}
   }}
Line 362: Line 369:
                     #if: {{{URL|}}}
                     #if: {{{URL|}}}
                     |{{{URL}}}
                     |{{{URL}}}
                    |{{
                      #ifexpr: {{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} | {{
                        #if: {{{PMC|}}}
                        |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                      }}
                    }}
                   }}
                   }}
               }}
               }}
Line 367: Line 380:
                 #if: {{{URL|}}}
                 #if: {{{URL|}}}
                 |{{{URL}}}
                 |{{{URL}}}
                |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }} |{{
                      #if: {{{PMC|}}}
                      |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                    }}
                }}
               }}
               }}
             }}
             }}
Line 408: Line 426:
     }}{{
     }}{{
       #if: {{{Volume|}}}
       #if: {{{Volume|}}}
       |&#32;{{#if:{{{Periodical|}}}|'''<nowiki />{{{Volume}}}<nowiki />'''|{{{Volume}}}}}{{
       |&#32;'''<nowiki />{{{Volume}}}<nowiki />'''{{
         #if: {{{Issue|}}}
         #if: {{{Issue|}}}
         |&#32;({{{Issue}}})
         |&#32;({{{Issue}}})
Line 434: Line 452:
                     #if: {{{URL|}}}
                     #if: {{{URL|}}}
                     |{{{URL}}}
                     |{{{URL}}}
                    |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}|{{
                        #if: {{{PMC|}}}
                        |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                      }}}}
                   }}
                   }}
                 }}
                 }}
Line 439: Line 461:
                   #if: {{{URL|}}}
                   #if: {{{URL|}}}
                   |{{{URL}}}
                   |{{{URL}}}
                                |{{#ifexpr:{{#time: U}} > {{#time: U | {{{Embargo|2001-10-10}}} }}|{{
                    #if: {{{PMC|}}}
                    |  http://www.pubmedcentral.nih.gov/articlerender.fcgi?tool=pmcentrez&artid={{{PMC}}}
                  }}}}
                 }}
                 }}
             }}
             }}
Line 511: Line 537:
   }}
   }}
}}{{
}}{{
<!--============ arXiv ==============-->
<!--===============DOI================-->
  #if: {{{ARXIV|}}}
#if:{{{DOI|}}}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=arxiv |input1={{{ARXIV|}}} }}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=doi |input1={{{DOI|}}}  |input2={{{DoiBroken|}}} }}
}}{{
}}{{
<!--============ ASIN ===============-->
<!--============ Misc. Identifier ============-->
   #if: {{{ASIN|}}}
   #if: {{{ID|}}}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=asin |input1={{{ASIN|}}} |input2={{{ASIN-TLD|}}} }}
   |{{
    #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}{{{Title|}}}{{{TransItalic|}}}
    |{{{Sep|,}}}&#32;{{{ID}}}
    |{{{ID}}}
  }}
}}{{
}}{{
<!--============ BIBCODE ============-->
<!--============  ISBN ============-->
  #if: {{{BIBCODE|}}}
  |{{{Sep|,}}}&#32;{{citation/identifier |identifier=bibcode |input1={{{BIBCODE|}}} }}
}}{{
<!--============ DOI ================-->
#if:{{{DOI|}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=doi |input1={{{DOI|}}}  |input2={{{DoiBroken|}}} |input3={{{template doc demo|}}}}}
}}{{
<!--============ ISBN ===============-->
   #if: {{{ISBN|}}}
   #if: {{{ISBN|}}}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=isbn |input1={{{ISBN|}}} }}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=isbn |input1={{{ISBN|}}} }}
}}{{
}}{{
<!--============ ISSN ===============-->
<!--============ ISSN ============-->
   #if: {{{ISSN|}}}
   #if: {{{ISSN|}}}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=issn |input1={{{ISSN|}}} }}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=issn |input1={{{ISSN|}}} }}
}}{{
}}{{
<!--============ JFM ================-->
<!--============  OCLC ============-->
  #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 ===============-->
   #if: {{{OCLC|}}}
   #if: {{{OCLC|}}}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=oclc |input1={{{OCLC|}}} }}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=oclc |input1={{{OCLC|}}} }}
}}{{
}}{{
<!--============ OL =================-->
<!--============  PMID ============-->
  #if: {{{OL|}}}
  |{{{Sep|,}}}&#32;{{citation/identifier |identifier=ol |input1={{{OL|}}} }}
}}{{
<!--============ OSTI ===============-->
  #if: {{{OSTI|}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=osti |input1={{{OSTI|}}} }}
}}{{
<!--============ PMC ================-->
  #if: {{{PMC|}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=pmc |input1={{{PMC|}}} }}
}}{{
<!--============ PMID ===============-->
   #if: {{{PMID|}}}
   #if: {{{PMID|}}}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=pmid |input1={{{PMID|}}} }}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=pmid |input1={{{PMID|}}} }}
}}{{
}}{{
<!--============ RFC ================-->
<!--============ PMC ============-->
   #if: {{{RFC|}}}
   #if: {{{PMC|}}}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=rfc|input1={{{RFC|}}} }}
   |{{
    #if: {{{URL|}}}
    |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=pmc |input1={{{PMC|}}} }}
    |{{only in  print|{{{Sep|,}}}&#32;{{citation/identifier  |identifier=pmc |input1={{{PMC|}}} }} }}<!--Should  only display by default in print-->
  }}
}}{{
}}{{
<!--============ SSRN ================-->
<!--============ BIBCODE ============-->
  #if: {{{SSRN|}}}
   #if: {{{Bibcode|}}}
  |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=ssrn |input1={{{SSRN|}}} }}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=bibcode |input1={{{Bibcode|}}} }}
}}{{
<!--============ ZBL ================-->
   #if: {{{ZBL|}}}
   |{{{Sep|,}}}&#32;{{citation/identifier  |identifier=zbl |input1={{{ZBL|}}} }}
}}{{
<!--============  Misc. Identifier ============-->
  #if: {{{ID|}}}
  |{{{Sep|,}}}&#32;{{{ID}}}
}}{{
}}{{
<!--============  Archive data, etc ===========-->
<!--============  Archive data, etc ===========-->
#if: {{{Archive|}}}
#if: {{{Archive|}}}
|{{{Sep|,}}}&#32;{{{Archive}}}[[Category:Pages using deprecated citation archive parameters]]
|{{{Sep|,}}}&#32;{{{Archive}}}
|{{
|{{
   #if:{{{ArchiveURL|}}}{{{ArchiveDate|}}}
   #if:{{{ArchiveURL|}}}{{{ArchiveDate|}}}
   | {{{Sep|,}}}&#32;{{#ifeq: {{{DeadURL|}}} | no
   |{{{Sep|,}}}&#32;{{#ifeq:{{{Sep}}}|.|A|a}}rchived{{
    | {{#if:{{{ArchiveURL|}}}
     #if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}
      |{{Citation/make link|{{{ArchiveURL|}}}|{{#ifeq:{{{Sep}}}|.|A|a}}rchived}}&#32;from the original
    |{{#if:{{{ArchiveURL|}}}|&#32;from {{Citation/make link|{{{OriginalURL|{{{IncludedWorkURL|}}}}}}|the original}}}}
      |{{#ifeq:{{{Sep}}}|.|A|a}}rchived
     }}{{
      }}
    #if:{{{ArchiveDate|}}}
     | {{#ifeq:{{{Sep}}}|.|A|a}}rchived{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}
    |&#32;on {{{ArchiveDate}}}
      |{{#if:{{{ArchiveURL|}}}|&#32;from {{Citation/make link|{{{OriginalURL|{{{IncludedWorkURL|}}}}}}|the original}}}}
    }}{{
      }}
    #if:{{#if:{{{ArchiveURL|}}}||A}}{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}||B}}{{#if:{{{ArchiveDate|}}}||C}}
     }}{{#if:{{{ArchiveDate|}}}|&#32;on {{{ArchiveDate}}}}}{{
    |. {{citation error
    #if:{{#if:{{{ArchiveURL|}}}||A}}{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}||B}}{{#if:{{{ArchiveDate|}}}||C}}
       |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>}}}}
    |. {{citation error|nocat={{{template doc demo|}}}
       |If you specify <code>&#124;{{#if:{{{ArchiveURL|}}}|archiveurl|archivedate}}&#61;</code>{{#ifeq:{{{DeadURL|}}}|no|{{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}||&#32;and <code>&#124;deadurl&#61;no</code>}}}}, you must {{#if:{{{OriginalURL|}}}{{{IncludedWorkURL|}}}| also specify <code>&#124;{{#if:{{{ArchiveURL|}}}|archivedate|archiveurl}}&#61;</code>| {{#ifeq:{{{DeadURL|}}}|no|also|first}} specify <code>&#124;url&#61;</code>}}}}
     }}
     }}
   }}
   }}
}}{{
}}{{
<!--============ URL and AccessDate ============-->
<!--============ URL and AccessDate ============-->
   #if: {{{URL|}}}{{{IncludedWorkURL|}}}{{#ifeq:{{{DeadURL|}}}|no|{{{ArchiveURL|}}}|}}
   #if: {{{URL|}}}{{{IncludedWorkURL|}}}
   |{{
   |{{
     #if: {{{Title|}}}{{{IncludedWorkTitle|}}}{{{TransTitle|}}}
     #if: {{{Title|}}}{{{IncludedWorkTitle|}}}{{{TransTitle|}}}
Line 623: Line 611:
   }}{{
   }}{{
     #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 {{{AccessDate}}}</span>
     }}
     }}
}}{{#if:{{{laysummary|}}}
}}{{#if:{{{laysummary|}}}
Line 631: Line 619:
}}{{#if:{{{quote|}}}
}}{{#if:{{{quote|}}}
   |{{{Sep|,}}}&#32;"{{{quote}}}"
   |{{{Sep|,}}}&#32;"{{{quote}}}"
}}{{{PS|}}}</span><noinclude>
}}{{{PS|}}}</span><!--
 
=== This is a COinS tag (http://ocoins.info), which allows automated tools to parse the citation information: ===
 
--><span
    class="Z3988"
    title="ctx_ver=Z39.88-2004&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:}}{{
      #if: {{{Periodical|}}}
      |journal&rft.genre=article&rft.atitle={{urlencode:{{{Title|}}}}}&rft.jtitle={{urlencode:{{{Periodical|}}}}}
      |book{{
        #if: {{{IncludedWorkTitle|}}}
        |&rft.genre=bookitem&rft.btitle={{urlencode:{{{IncludedWorkTitle|}}}}}&rft.atitle={{urlencode:{{{Title|}}}}}
        |&rft.genre=book&rft.btitle={{urlencode:{{{Title|}}}}}
      }}
    }}{{
    #if: {{{Surname1|}}} |&rft.aulast={{urlencode:{{{Surname1}}}}}{{
      #if: {{{Given1|}}} |&rft.aufirst={{urlencode:{{{Given1}}}}}
    }}
  }}{{
    #if: {{{Surname1|}}} |&rft.au={{urlencode:{{{Surname1}}}}}{{
      #if: {{{Given1|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given1}}}}}
    }}
  }}{{
    #if: {{{Surname2|}}} |&rft.au={{urlencode:{{{Surname2}}}}}{{
      #if: {{{Given2|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given2}}}}}
    }}
  }}{{
    #if: {{{Surname3|}}} |&rft.au={{urlencode:{{{Surname3}}}}}{{
      #if: {{{Given3|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given3}}}}}
    }}
  }}{{
    #if: {{{Surname4|}}} |&rft.au={{urlencode:{{{Surname4}}}}}{{
      #if: {{{Given4|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given4}}}}}
    }}
  }}{{
    #if: {{{Surname5|}}} |&rft.au={{urlencode:{{{Surname5}}}}}{{
      #if: {{{Given5|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given5}}}}}
    }}
  }}{{
    #if: {{{Surname6|}}} |&rft.au={{urlencode:{{{Surname6}}}}}{{
      #if: {{{Given6|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given6}}}}}
    }}
  }}{{
    #if: {{{Surname7|}}} |&rft.au={{urlencode:{{{Surname7}}}}}{{
      #if: {{{Given7|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given7}}}}}
    }}
  }}{{
    #if: {{{Surname8|}}} |&rft.au={{urlencode:{{{Surname8}}}}}{{
      #if: {{{Given8|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given8}}}}}
    }}
  }}{{
    #if: {{{Surname9|}}} |&rft.au={{urlencode:{{{Surname9}}}}}{{
      #if: {{{Given9|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given9}}}}}
    }}
    }}{{
      #if: {{{Date|}}} |&rft.date={{urlencode:{{{Date}}}}}
    }}{{
      #if: {{{Series|}}} |&rft.series={{urlencode:{{{Series}}}}}
    }}{{
      #if: {{{Volume|}}} |&rft.volume={{urlencode:{{{Volume}}}}}
    }}{{
      #if: {{{Issue|}}} |&rft.issue={{urlencode:{{{Issue}}}}}
    }}{{
      #if: {{{At|}}} |&rft.pages={{urlencode:{{{At}}}}}
    }}{{
      #if: {{{Edition|}}} |&rft.edition={{urlencode:{{{Edition}}}}}
    }}{{
      #if: {{{PublicationPlace|}}}{{{Place|}}} |&rft.place={{urlencode:{{{PublicationPlace|{{{Place}}}}}}}}
    }}{{
      #if: {{{Publisher|}}} |&rft.pub={{urlencode:{{{Publisher}}}}}
    }}{{
      #if: {{{DOI|}}} |&rft_id=info:doi/{{urlencode:{{{DOI}}}}}
    }}{{
      #if: {{{PMID|}}} |&rft_id=info:pmid/{{urlencode:{{{PMID}}}}}
    }}{{
      #if: {{{Bibcode|}}} |&rft_id=info:bibcode/{{urlencode:{{{Bibcode}}}}}
    }}{{
      #if: {{{OCLC|}}} |&rft_id=info:oclcnum/{{urlencode:{{{OCLC}}}}}
    }}{{
      #if: {{{ISBN|}}} |&rft.isbn={{urlencode:{{{ISBN}}}}}
    }}{{
      #if: {{{ISSN|}}} |&rft.issn={{urlencode:{{{ISSN}}}}}
    }}{{
      #if: {{{URL|}}}{{{IncludedWorkURL|}}} |&rft_id={{urlencode:{{{URL|{{{IncludedWorkURL|}}}}}}}}
    }}&rfr_id=info:sid/en.wikibooks.org:{{FULLPAGENAMEE}}"><span style="display: none;">&nbsp;</span></span><noinclude>
==About this template==
==About this template==
I don't know I just stole this from Wikipedia. It's not used on any actual pages and just used for building the other citation templates, so just don't worry about this until we get something better okay?
I don't know I just stole this from Wikipedia. It's not used on any actual pages and just used for building the other citation templates, so just don't worry about this until we get something better okay?
[[Category:Citation templates]]
[[Category:Citation templates]]
</noinclude>
</noinclude>

Revision as of 01:56, 21 October 2017

 

About this template

I don't know I just stole this from Wikipedia. It's not used on any actual pages and just used for building the other citation templates, so just don't worry about this until we get something better okay?