Difference between revisions of "Template:Citation/core"

From Self-sufficiency
Jump to: navigation, search
(rv self)
(Big addition. Has been tested, but if there is a problem, please notify me immediately.)
Line 1: Line 1:
 
<cite style="font-style:normal" {{#if:{{{Ref|}}}
 
<cite style="font-style:normal" {{#if:{{{Ref|}}}
   |{{#ifeq:{{{Ref|}}}|none||id="{{{Ref|}}}"}}
+
   |{{#ifeq:{{{Ref|}|}}|none||id="{{{Ref|}}}"}}
   |{{#if:{{{Surname1}}}
+
   |id="CITEREF{{#if:{{{Surname1|}}}
     |id="CITEREF{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}{{{Year}}}"
+
     |{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}
 +
    |{{{EditorSurname1|}}}{{{EditorSurname2|}}}{{{EditorSurname3|}}}{{{EditorSurname4|}}}
 +
  }}{{{Year}}}"
 +
}}>{{
 +
  #if:{{{Surname1|}}}
 +
  |{{Harvard reference/authors
 +
    | Surname1 = {{{Surname1|}}}
 +
    | Given1 = {{{Given1|}}}
 +
    | Authorlink1 = {{{Authorlink1|}}}
 +
    | Surname2 = {{{Surname2|}}}
 +
    | Given2 = {{{Given2|}}}
 +
    | Authorlink2 = {{{Authorlink2|}}}
 +
    | Surname3 = {{{Surname3|}}}
 +
    | Given3 = {{{Given3|}}}
 +
    | Authorlink3 = {{{Authorlink3|}}}
 +
    | Surname4 = {{{Surname4|}}}
 +
    | Given4 = {{{Given4|}}}
 +
    | Authorlink4 = {{{Authorlink4|}}}
 
   }}
 
   }}
}}>{{Harvard reference/authors
+
   |{{Harvard reference/authors
   | Surname1 = {{{Surname1}}}
+
  | Given1 = {{{Given1|}}}
+
  | Authorlink1 = {{{Authorlink1|}}}
+
  | Surname2 = {{{Surname2|}}}
+
  | Given2 = {{{Given2|}}}
+
  | Authorlink2 = {{{Authorlink2|}}}
+
  | Surname3 = {{{Surname3|}}}
+
  | Given3 = {{{Given3|}}}
+
  | Authorlink3 = {{{Authorlink3|}}}
+
  | Surname4 = {{{Surname4|}}}
+
  | Given4 = {{{Given4|}}}
+
  | Authorlink4 = {{{Authorlink4|}}}
+
}} ({{{Date}}}){{
+
  #if: {{{EditorSurname1|}}}
+
  |{{
+
    #if: {{{ChapterTitle|}}}
+
    |&#32;{{Link
+
        | 1={{{ChapterURL|}}}
+
        | 2={{
+
              #if: {{{Periodical|}}}
+
              |{{{ChapterTitle}}}
+
              |"{{{ChapterTitle}}}"
+
            }}
+
      }}
+
  }}&#32;in {{Harvard reference/authors
+
 
     | Surname1 = {{{EditorSurname1|}}}
 
     | Surname1 = {{{EditorSurname1|}}}
 
     | Given1 = {{{EditorGiven1|}}}
 
     | Given1 = {{{EditorGiven1|}}}
Line 42: Line 34:
 
     | Given4 = {{{EditorGiven4|}}}
 
     | Given4 = {{{EditorGiven4|}}}
 
     | Authorlink4 = {{{Editorlink4|}}}
 
     | Authorlink4 = {{{Editorlink4|}}}
 +
  }}
 +
}} ({{{Date}}}){{
 +
  #if: {{{EditorSurname1|}}}
 +
  |{{
 +
    #if: {{{ChapterTitle|}}}
 +
    |&#32;{{Link
 +
        | 1={{{ChapterURL|}}}
 +
        | 2={{
 +
              #if: {{{Periodical|}}}
 +
              |{{{ChapterTitle}}}
 +
              |"{{{ChapterTitle}}}"
 +
            }}
 +
      }}
 +
  }}{{
 +
    #if:{{{Surname1|}}}
 +
    |&#32;in {{Harvard reference/authors
 +
        | Surname1 = {{{EditorSurname1|}}}
 +
        | Given1 = {{{EditorGiven1|}}}
 +
        | Authorlink1 = {{{Editorlink1|}}}
 +
        | Surname2 = {{{EditorSurname2|}}}
 +
        | Given2 = {{{EditorGiven2|}}}
 +
        | Authorlink2 = {{{Editorlink2|}}}
 +
        | Surname3 = {{{EditorSurname3|}}}
 +
        | Given3 = {{{EditorGiven3|}}}
 +
        | Authorlink3 = {{{Editorlink3|}}}
 +
        | Surname4 = {{{EditorSurname4|}}}
 +
        | Given4 = {{{EditorGiven4|}}}
 +
        | Authorlink4 = {{{Editorlink4|}}}
 +
      }}
 
   }}{{
 
   }}{{
 
     #if: {{{Periodical|}}}
 
     #if: {{{Periodical|}}}
Line 50: Line 71:
 
         | Volume = {{{Volume|}}}
 
         | Volume = {{{Volume|}}}
 
         | Issue = {{{Issue|}}}
 
         | Issue = {{{Issue|}}}
         | PublicationYear = {{{PublicationYear|}}}
+
         | PublicationDate = {{{PublicationDate|}}}
 
         | Page = {{{Page|}}}
 
         | Page = {{{Page|}}}
 
         | Pages = {{{Pages|}}}
 
         | Pages = {{{Pages|}}}
Line 61: Line 82:
 
         | Place = {{{Place|}}}
 
         | Place = {{{Place|}}}
 
         | Publisher = {{{Publisher|}}}
 
         | Publisher = {{{Publisher|}}}
         | PublicationYear = {{{PublicationYear|}}}
+
         | PublicationDate = {{{PublicationDate|}}}
 
         | Page = {{{Page|}}}
 
         | Page = {{{Page|}}}
 
         | Pages = {{{Pages|}}}
 
         | Pages = {{{Pages|}}}

Revision as of 23:04, 5 February 2007

Template:Harvard reference/authors ({{{Date}}})Template:Harvard reference/book