Jump to content

Template:Citation/core: Difference between revisions

From IdeaWazaWiki
wikademia>COGDEN
Make COinS optional, for now. This template is running into Wikipedia:Template limit issues
wikademia>COGDEN
Incorporate author subtemplate in main, to cut down on articles running up against template limit.
Line 51: Line 51:
<!--============  Author or editor and date  ============-->
<!--============  Author or editor and date  ============-->
   #if:{{{Surname1|}}}
   #if:{{{Surname1|}}}
   |{{Citation/authors
   |{{
     | Surname1 = {{{Surname1|}}}
    #if: {{{Authorlink1|}}}
     | Given1 = {{{Given1|}}}
     |[[{{{Authorlink1}}} |{{{Surname1}}}{{
    | Authorlink1 = {{{Authorlink1|}}}
        #if: {{{Given1|}}}
     | Surname2 = {{{Surname2|}}}
        |, {{{Given1}}}
     | Given2 = {{{Given2|}}}
      }}]]
    | Authorlink2 = {{{Authorlink2|}}}
     |{{{Surname1}}}{{
    | Surname3 = {{{Surname3|}}}
        #if: {{{Given1|}}}
    | Given3 = {{{Given3|}}}
        |, {{{Given1}}}
    | Authorlink3 = {{{Authorlink3|}}}
      }}
    | Surname4 = {{{Surname4|}}}
  }}{{
    | Given4 = {{{Given4|}}}
     #if: {{{Surname2|}}}
    | Authorlink4 = {{{Authorlink4|}}}
     |{{
        #if: {{{Surname3|}}}
        |<nowiki>; </nowiki>
        |&#32;&amp;&#32;
      }}{{
        #if: {{{Authorlink2|}}}
        |[[{{{Authorlink2}}} |{{{Given2|}}} {{{Surname2}}}]]
        |{{{Given2|}}} {{{Surname2}}}
      }}{{
        #if: {{{Surname3|}}}
        |&#32;&amp; {{
          #if: {{{Authorlink3|}}}
          |[[{{{Authorlink3}}} |{{{Given3|}}} {{{Surname3}}}]]
          |{{{Given3|}}} {{{Surname3}}}
        }}{{
          #if:{{{Surname4|}}}
          |&#32;et al.
        }}
      }}
   }}{{
   }}{{
     #if: {{{Date|}}}
     #if: {{{Date|}}}
Line 70: Line 88:
   |{{
   |{{
     #if: {{{EditorSurname1|}}}
     #if: {{{EditorSurname1|}}}
     |{{Citation/authors
     |{{
         | Surname1 = {{{EditorSurname1|}}}
        #if: {{{Editorlink1|}}}
         | Given1 = {{{EditorGiven1|}}}
         |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
        | Authorlink1 = {{{Editorlink1|}}}
          #if: {{{EditorGiven1|}}}
         | Surname2 = {{{EditorSurname2|}}}
          |, {{{EditorGiven1}}}
         | Given2 = {{{EditorGiven2|}}}
        }}]]
        | Authorlink2 = {{{Editorlink2|}}}
         |{{{EditorSurname1}}}{{
        | Surname3 = {{{EditorSurname3|}}}
          #if: {{{EditorGiven1|}}}
        | Given3 = {{{EditorGiven3|}}}
          |, {{{EditorGiven1}}}
        | Authorlink3 = {{{Editorlink3|}}}
        }}
        | Surname4 = {{{EditorSurname4|}}}
      }}{{
        | Given4 = {{{EditorGiven4|}}}
         #if: {{{EditorSurname2|}}}
        | Authorlink4 = {{{Editorlink4|}}}
         |{{
          #if: {{{EditorSurname3|}}}
          |<nowiki>; </nowiki>
          |&#32;&amp;&#32;
        }}{{
          #if: {{{Editorlink2|}}}
          |[[{{{Editorlink2}}} |{{{EditorGiven2|}}} {{{EditorSurname2}}}]]
          |{{{EditorGiven2|}}} {{{EditorSurname2}}}
        }}{{
          #if: {{{EditorSurname3|}}}
          |&#32;&amp; {{
              #if: {{{Editorlink3|}}}
              |[[{{{Editorlink3}}} |{{{EditorGiven3|}}} {{{EditorSurname3}}}]]
              |{{{EditorGiven3|}}} {{{EditorSurname3}}}
            }}{{
              #if:{{{EditorSurname4|}}}
              |&#32;et al.
            }}
        }}
       }}, ed{{#if:{{{EditorSurname2|}}}|s}}.{{
       }}, ed{{#if:{{{EditorSurname2|}}}|s}}.{{
         #if: {{{Date|}}}
         #if: {{{Date|}}}
Line 134: Line 170:
         #if: {{{IncludedWorkTitle|}}}
         #if: {{{IncludedWorkTitle|}}}
         |in&#32;
         |in&#32;
       }}{{Citation/authors
       }}{{
         | Surname1 = {{{EditorSurname1|}}}
        #if: {{{Editorlink1|}}}
         | Given1 = {{{EditorGiven1|}}}
         |[[{{{Editorlink1}}} |{{{EditorSurname1}}}{{
        | Authorlink1 = {{{Editorlink1|}}}
          #if: {{{EditorGiven1|}}}
         | Surname2 = {{{EditorSurname2|}}}
          |, {{{EditorGiven1}}}
         | Given2 = {{{EditorGiven2|}}}
        }}]]
        | Authorlink2 = {{{Editorlink2|}}}
         |{{{EditorSurname1}}}{{
        | Surname3 = {{{EditorSurname3|}}}
          #if: {{{EditorGiven1|}}}
        | Given3 = {{{EditorGiven3|}}}
          |, {{{EditorGiven1}}}
        | Authorlink3 = {{{Editorlink3|}}}
        }}
        | Surname4 = {{{EditorSurname4|}}}
      }}{{
        | Given4 = {{{EditorGiven4|}}}
         #if: {{{EditorSurname2|}}}
        | Authorlink4 = {{{Editorlink4|}}}
         |{{
          #if: {{{EditorSurname3|}}}
          |<nowiki>; </nowiki>
          |&#32;&amp;&#32;
        }}{{
          #if: {{{Editorlink2|}}}
          |[[{{{Editorlink2}}} |{{{EditorGiven2|}}} {{{EditorSurname2}}}]]
          |{{{EditorGiven2|}}} {{{EditorSurname2}}}
        }}{{
          #if: {{{EditorSurname3|}}}
          |&#32;&amp; {{
              #if: {{{Editorlink3|}}}
              |[[{{{Editorlink3}}} |{{{EditorGiven3|}}} {{{EditorSurname3}}}]]
              |{{{EditorGiven3|}}} {{{EditorSurname3}}}
            }}{{
              #if:{{{EditorSurname4|}}}
              |&#32;et al.
            }}
        }}
       }}{{
       }}{{
         #if: {{{IncludedWorkTitle|}}}
         #if: {{{IncludedWorkTitle|}}}

Revision as of 22:06, 20 July 2007