Difference between revisions of "Template:Citation/core"

From Self-sufficiency
Jump to: navigation, search
(Created page with '<cite style="font-style:normal" {{#if: {{{Ref|{{{ref|}}}}}} |{{#ifeq:{{{Ref|{{{ref|}}}}}}|none||id="{{{Ref|{{{ref|}}}}}}"}} |{{#if: {{{Surname|{{{Last|...')
Line 1: Line 1:
<cite style="font-style:normal" {{#if:
+
<cite style="font-style:normal" {{#if:{{{Ref|}}}
  {{{Ref|{{{ref|}}}}}}
+
   |{{#ifeq:{{{Ref|}}}|none||id="{{{Ref|}}}"}}
   |{{#ifeq:{{{Ref|{{{ref|}}}}}}|none||id="{{{Ref|{{{ref|}}}}}}"}}
+
   |{{#if:{{{Surname1}}}
   |{{#if:
+
    |id="CITEREF{{{Surname1}}}{{{Surname2|}}}{{{Surname3|}}}{{{Surname4|}}}{{{Year}}}"
      {{{Surname|{{{Last|{{{Surname1|{{{Last1}}}}}}}}}}}}
+
  }}
      |id="CITEREF{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{{Surname2|{{{Last2|}}}}}}{{{Surname3|{{{Last3|}}}}}}{{{Surname4|{{{Last4|}}}}}}{{{Year}}}"
+
}}>{{Link
    }}
+
   | 1={{{Authorlink1|}}}
}}>{{#if:
+
   | 2={{{Surname1}}}{{ #if: {{{Given1|}}} |, {{{Given1}}} }}
   {{{Surname|{{{Last|{{{Surname1|{{{Last1|{{{Author|{{{Author1}}}}}}}}}}}}}}}}}}
+
}}{{
   |{{#if:
+
  #if:{{{Surname2|}}}
    {{{Authorlink|{{{Authorlink1|}}}}}}
+
  | {{#if:{{{Surname3|}}}|,&#32;|&#32;&amp;&#32;
    | [[<!--
+
    }}{{Link
    -->{{{Authorlink1|{{{Authorlink}}}}}}<!--
+
         | 1={{{Authorlink2|}}}
    -->|{{{Author1|{{{Author<!--
+
         | 2={{{Surname2}}}{{ #if: {{{Given2|}}} |, {{{Given2}}} }}
        -->|{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{#if:<!--
+
            -->{{{Given|{{{First|{{{Given1|{{{First1|{{{Initials|{{{Initials1|}}}}}}}}}}}}}}}}}}<!--
+
            -->|, {{{Initials1|{{{Given1|{{{First1|{{{Initials|{{{Given|{{{First|}}}}}}}}}}}}}}}}}}<!--
+
          -->}}<!--
+
      -->}}}}}}<!--
+
  -->]]
+
    |{{{Author1|{{{Author
+
        |{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{#if:
+
            {{{Given|{{{First|{{{Given1|{{{First1|{{{Initials|{{{Initials1|}}}}}}}}}}}}}}}}}}
+
            |, {{{Initials1|{{{Given1|{{{First1|{{{Initials|{{{Given|{{{First|}}}}}}}}}}}}}}}}}}
+
          }}
+
      }}}}}}
+
  }}{{#if:
+
    {{{Surname2|{{{Last2|{{{Author2|}}}}}}}}}
+
    |{{#if:
+
        {{{Author3|{{{Surname3|{{{Last3|}}}}}}}}}
+
        |,&#32;
+
        |&#32;&amp;&#32;
+
      }}{{#if:
+
         {{{Authorlink2|}}}
+
        | [[<!--
+
      -->{{{Authorlink2}}}<!--
+
      -->|{{{Author2|{{{Surname2|{{{Last2|}}}}}}{{#if:{{{Given2|{{{First2|{{{Initials2|}}}}}}}}}|, {{{Initials2|{{{Given2|{{{First2|}}}}}}}}}}}}}}<!--
+
      -->]]
+
         |{{{Author2|{{{Surname2|{{{Last2|}}}}}}{{#if:{{{Given2|{{{First2|{{{Initials2|}}}}}}}}}|, {{{Initials2|{{{Given2|{{{First2|}}}}}}}}}}}}}}
+
      }}{{#if:
+
        {{{Surname3|{{{Last3|{{{Author3|}}}}}}}}}
+
        |&#32;&amp; {{#if:
+
          {{{Authorlink3|}}}
+
          | [[<!--
+
          -->{{{Authorlink3}}}<!--
+
          -->|{{{Author3|{{{Surname3|{{{Last3|}}}}}}{{#if:{{{Given3|{{{First3|{{{Initials3|}}}}}}}}}|, {{{Initials3|{{{Given3|{{{First3|}}}}}}}}}}}}}}<!--
+
        -->]]
+
          |{{{Author3|{{{Surname3|{{{Last3|}}}}}}{{#if:{{{Given3|{{{First3|{{{Initials3|}}}}}}}}}|, {{{Initials3|{{{Given3|{{{First3|}}}}}}}}}}}}}}
+
        }}{{#if:
+
          {{{Surname4|{{{Last4|{{{Author4|}}}}}}}}}
+
          |, et al.
+
        }}
+
 
       }}
 
       }}
  }}
+
}}{{
   |
+
   #if:{{{Surname3|}}}
}} ({{{Date|{{{Year}}}}}}){{#if:
+
  | {{#if: {{{Authorlink3|}}}
  {{{Journal|{{{Periodical|}}}}}}
+
      |&#32;&amp; [[{{{Authorlink3}}}|{{{Surname3}}}{{#if:{{{Given3|}}}|, {{{Given1}}}}}]]
   |{{#if:
+
      |&#32;&amp; {{{Surname3}}}{{#if:{{{Given3|}}}|, {{{Given3|}}} }}
      {{{Title|}}}
+
    }}
      |, {{Link|1={{{URL|}}}|2="{{{Title}}}"}}
+
}}{{
    }}, ''{{{Journal|{{{Periodical}}}}}}''{{#if:
+
   #if:{{{Surname4|}}}
      {{{Volume|}}}
+
  |, et al.
      |, vol. {{{Volume}}}
+
}} ({{{Date}}}){{
    }}{{#if:
+
  #if:{{{Periodical|}}}
      {{{Issue|{{{Number|}}}}}}
+
  | {{
      |, no. {{{Number|{{{Issue}}}}}}
+
      #if: {{{Title|}}}
    }}{{#if:
+
      |, {{Link|1={{{URL|}}}|2="{{{Title}}}"}}
      {{{Pages|}}}
+
    }}, ''{{{Periodical}}}''{{
      |, pp. {{{Pages}}}
+
      #if: {{{Volume|}}}
      |{{#if:
+
      |, vol. {{{Volume}}}
          {{{Page|}}}
+
    }}{{
          |, p. {{{Page}}}
+
      #if: {{{Issue|}}}
        }}
+
      |, no. {{{Issue}}}
    }}{{#if:
+
    }}{{
      {{{ID|}}}
+
      #if: {{{Pages|}}}
      |, {{{ID}}}
+
      |, pp. {{{Pages}}}
    }}
+
      |{{#if: {{{Page|}}} |, p. {{{Page}}}}}
   |{{#if:
+
    }}{{#if: {{{ID|}}}
      {{{Chapter|{{{Contribution|}}}}}}
+
      |, {{{ID}}}
      |, {{Link|1={{{URL|}}}|2="{{{Chapter|{{{Contribution}}}}}}"}} in {{#if:
+
    }}
            {{{Editor|}}}
+
   | {{
            |{{{Editor}}}, ed.,&#32;
+
      #if: {{{ChapterTitle|}}}
          }}''{{{Title}}}''{{#if:
+
      |, {{Link|1={{{ChapterURL|}}}|2="{{{ChapterTitle|}}}"
              {{{Edition|}}}
+
        }} in {{
              |&#32;({{{Edition}}} ed.)
+
          #if: {{{Editor|}}}
          }}{{#if:
+
          | {{{Editor}}}, ed.,&#32;
              {{{Place|}}}
+
        }}{{Link|1={{{URL|}}}|2=''{{{Title}}}''
              |, {{{Place}}}
+
        }}{{
          }}{{#if:
+
          #if: {{{Pages|}}}
              {{{Publisher|}}}
+
          |, pp. {{{Pages}}}
              |{{#if:{{{Place|}}}|<nowiki>: </nowiki>|<nowiki>, </nowiki>}}{{{Publisher}}}
+
          |{{#if:
          }}{{#if:
+
              {{{Page|}}}
              {{{ISBN|{{{ID|}}}}}}
+
              |, p. {{{Page}}}
              |, {{{ID|ISBN {{{ISBN}}}}}}
+
          }}{{#if:
+
            {{{Pages|}}}
+
            |, pp. {{{Pages}}}
+
            |{{#if:
+
              {{{Page|}}}
+
              |, p. {{{Page}}}
+
 
             }}
 
             }}
 
           }}
 
           }}
      |{{#if:
+
      | {{
            {{{Title|}}}
+
          #if: {{{Title|}}}
            |, {{Link|1={{{URL|}}}|2=''{{{Title}}}''}}
+
          |, {{Link|1={{{URL|}}}|2=''{{{Title}}}''}}
          }}{{#if:
+
        }}
              {{{Edition|}}}
+
    }}{{
              |&#32;({{{Edition}}} ed.)
+
      #if: {{{Edition|}}}
          }}{{#if:
+
      |&#32;({{{Edition}}} ed.)
              {{{Place|}}}
+
    }}{{
              |, {{{Place}}}
+
      #if: {{{Place|}}}
          }}{{#if:
+
      |, {{{Place}}}
              {{{Publisher|}}}
+
    }}{{
              |{{#if:{{{Place|}}}|<nowiki>: </nowiki>|<nowiki>, </nowiki>}}{{{Publisher}}}
+
      #if: {{{Publisher|}}}
          }}{{#if:
+
      | {{
              {{{ISBN|{{{ID|}}}}}}
+
          #if: {{{Place|}}}
              |, {{{ID|ISBN {{{ISBN}}}}}}
+
          |<nowiki>: </nowiki>
          }}
+
          |,&#32;
    }}
+
        }}{{{Publisher}}}
 +
    }}{{
 +
      #if: {{{ISBN|{{{ID|}}}}}}
 +
      |, {{{ID|ISBN {{{ISBN}}}}}}
 +
    }}
 
}}{{#if:
 
}}{{#if:
 
     {{{Access-date|}}}
 
     {{{Access-date|}}}
 
     |&#32;<nowiki>[</nowiki>{{{Access-date}}}<nowiki>]</nowiki>
 
     |&#32;<nowiki>[</nowiki>{{{Access-date}}}<nowiki>]</nowiki>
 
}}</cite>
 
}}</cite>

Revision as of 01:25, 16 January 2007

Template:Link ({{{Date}}})