Difference between revisions of "Template:Citation/core"

From Self-sufficiency
Jump to: navigation, search
(Update)
Line 6: Line 6:
 
   }}{{{Year|{{{Date|}}}}}}"
 
   }}{{{Year|{{{Date|}}}}}}"
 
}}>{{
 
}}>{{
 +
<!--============  Author or editor and date  ============-->
 
   #if:{{{Surname1|}}}
 
   #if:{{{Surname1|}}}
   |{{Harvard reference/authors
+
   |{{Citation/authors/testing
 
     | Surname1 = {{{Surname1|}}}
 
     | Surname1 = {{{Surname1|}}}
 
     | Given1 = {{{Given1|}}}
 
     | Given1 = {{{Given1|}}}
Line 20: Line 21:
 
     | Given4 = {{{Given4|}}}
 
     | Given4 = {{{Given4|}}}
 
     | Authorlink4 = {{{Authorlink4|}}}
 
     | Authorlink4 = {{{Authorlink4|}}}
 +
  }}{{
 +
    #if: {{{Date|}}}
 +
    |&#32;({{{Date}}})
 
   }}
 
   }}
 
   |{{
 
   |{{
 
     #if: {{{EditorSurname1|}}}
 
     #if: {{{EditorSurname1|}}}
     |{{Harvard reference/authors
+
     |{{Citation/authors/testing
 
         | Surname1 = {{{EditorSurname1|}}}
 
         | Surname1 = {{{EditorSurname1|}}}
 
         | Given1 = {{{EditorGiven1|}}}
 
         | Given1 = {{{EditorGiven1|}}}
Line 36: Line 40:
 
         | Given4 = {{{EditorGiven4|}}}
 
         | Given4 = {{{EditorGiven4|}}}
 
         | Authorlink4 = {{{Editorlink4|}}}
 
         | Authorlink4 = {{{Editorlink4|}}}
       }}, ed{{#if:{{{EditorSurname2|}}}|s}}.
+
       }}, ed{{#if:{{{EditorSurname2|}}}|s}}.{{
 +
        #if: {{{Date|}}}
 +
        |&#32;({{{Date}}})
 +
      }}
 +
    |{{
 +
        #if: {{{Date|}}}
 +
        |{{{Date}}}
 +
      }}
 
   }}
 
   }}
 
}}{{
 
}}{{
  #if: {{{Date|}}}
+
<!--============  Title and editor of included work  ============-->
  |&#32;({{{Date}}})
+
}}{{
+
 
   #if: {{{EditorSurname1|}}}
 
   #if: {{{EditorSurname1|}}}
 
   |{{
 
   |{{
     #if: {{{ChapterTitle|}}}
+
     #if: {{{IncludedWorkTitle|}}}
     |&#32;{{Link
+
     |, {{Link
         | 1={{{ChapterURL|}}}
+
         | 1={{{IncludedWorkURL|}}}
 
         | 2={{
 
         | 2={{
 
               #if: {{{Periodical|}}}
 
               #if: {{{Periodical|}}}
               |{{{ChapterTitle}}}
+
               |{{{IncludedWorkTitle}}}
               |"{{{ChapterTitle}}}"
+
               |"{{{IncludedWorkTitle}}}"
 
             }}
 
             }}
 
       }}
 
       }}
 
   }}{{
 
   }}{{
 
     #if:{{{Surname1|}}}
 
     #if:{{{Surname1|}}}
     |&#32;in {{Harvard reference/authors
+
     |, in {{Citation/authors/testing
 
         | Surname1 = {{{EditorSurname1|}}}
 
         | Surname1 = {{{EditorSurname1|}}}
 
         | Given1 = {{{EditorGiven1|}}}
 
         | Given1 = {{{EditorGiven1|}}}
Line 69: Line 78:
 
         | Authorlink4 = {{{Editorlink4|}}}
 
         | Authorlink4 = {{{Editorlink4|}}}
 
       }}
 
       }}
   }}{{
+
   }}
    #if: {{{Periodical|}}}
+
}}{{
    |{{Harvard reference/articlepart
+
  <!--============  Periodicals  ============-->
        | URL = {{{URL|}}}
+
  #if: {{{Periodical|}}}
        | Title = {{{Title|}}}
+
  |{{
        | Periodical = {{{Periodical|}}}
+
    #if: {{{Surname1|}}}
         | Volume = {{{Volume|}}}
+
    |,&#32;
         | Issue = {{{Issue|}}}
+
    |{{
         | PublicationDate = {{{PublicationDate|}}}
+
         #if: {{{Editor1|}}}
        | Page = {{{Page|}}}
+
         |,&#32;
        | Pages = {{{Pages|}}}
+
         |{{
 +
          #if: {{{Date|}}}
 +
          |,&#32;
 +
        }}
 
       }}
 
       }}
     |{{Harvard reference/bookpart
+
  }}{{Citation/article/testing
 +
     | URL = {{{URL|}}}
 +
    | Title = {{{Title|}}}
 +
    | Periodical = {{{Periodical|}}}
 +
    | Volume = {{{Volume|}}}
 +
    | Issue = {{{Issue|}}}
 +
    | Pages = {{{Pages|}}}
 +
  }}
 +
  |{{
 +
    <!--============ Anything else with a title, including books ============-->
 +
    #if: {{{Title|}}}
 +
    |{{
 +
        #if: {{{Surname1|}}}
 +
        |,&#32;
 +
        |{{
 +
          #if: {{{Editor1|}}}
 +
          |,&#32;
 +
          |{{
 +
              #if: {{{Date|}}}
 +
              |,&#32;
 +
            }}
 +
        }}
 +
      }}{{Citation/book/testing
 
         | URL = {{{URL|}}}
 
         | URL = {{{URL|}}}
         | Title = {{{Title|}}}
+
         | Title = {{{Title}}}
 
         | Volume = {{{Volume|}}}
 
         | Volume = {{{Volume|}}}
 
         | Edition = {{{Edition|}}}
 
         | Edition = {{{Edition|}}}
 
         | Place = {{{Place|}}}
 
         | Place = {{{Place|}}}
 
         | Publisher = {{{Publisher|}}}
 
         | Publisher = {{{Publisher|}}}
        | PublicationDate = {{{PublicationDate|}}}
 
        | Page = {{{Page|}}}
 
        | Pages = {{{Pages|}}}
 
 
       }}
 
       }}
 
   }}
 
   }}
 +
}}{{
 +
<!--============  Location of included work, and Pub. date  ============-->
 +
  #if: {{{EditorSurname1|}}}
 
   |{{
 
   |{{
     #if: {{{Periodical|}}}
+
     #if: {{{PublicationDate|}}}
     |{{Harvard reference/article
+
     |{{
         | URL = {{{URL|}}}
+
         #ifeq: {{{PublicationDate|}}} | {{{Date|}}}
        | Title = {{{Title|}}}
+
         |
         | Periodical = {{{Periodical|}}}
+
         |, {{{PublicationDate|}}}
        | Volume = {{{Volume|}}}
+
        | Issue = {{{Issue|}}}
+
        | Page = {{{Page|}}}
+
         | Pages = {{{Pages|}}}
+
 
       }}
 
       }}
    |{{Harvard reference/book
+
  }}{{
        | URL = {{{URL|}}}
+
    #if: {{{IncludedWorkPages|}}}
        | Title = {{{Title|}}}
+
    |{{
         | Volume = {{{Volume|}}}
+
         #ifeq: {{{IncludedWorkPages|}}} | {{{Pages|}}}
        | Edition = {{{Edition|}}}
+
         |
         | Place = {{{Place|}}}
+
         |, at {{{IncludedWorkPages|}}}
         | Publisher = {{{Publisher|}}}
+
 
       }}
 
       }}
 
   }}
 
   }}
 
}}{{
 
}}{{
 +
<!--============ Identifiers, Misc. ============-->
 
   #if: {{{ID|}}}
 
   #if: {{{ID|}}}
 
   |, {{{ID}}}
 
   |, {{{ID}}}

Revision as of 02:54, 12 February 2007