Jump to content

Template:Citation/core: Difference between revisions

From IdeaWazaWiki
wikademia>COGDEN
Address issue with "Place" for periodicals.
wikademia>COGDEN
simplify code. Also add explicit url in print version.
Line 209: Line 209:
   #if: {{{Periodical|}}}
   #if: {{{Periodical|}}}
   |{{
   |{{
     #if: {{{Surname1|}}}
     #if: {{{Surname1|}}}{{{EditorSurname1|}}}
     |, 
     |, 
    |{{
        #if: {{{EditorSurname1|}}}
        |, 
      }}
   }}{{
   }}{{
     #if: {{{Title|}}}
     #if: {{{Title|}}}
Line 264: Line 260:
     #if: {{{Title|}}}
     #if: {{{Title|}}}
     |{{
     |{{
         #if: {{{Surname1|}}}
         #if: {{{Surname1|}}}{{{EditorSurname1|}}}{{{IncludedWorkTitle|}}}{{{Periodical|}}}
         |, 
         |, 
        |{{
          #if: {{{EditorSurname1|}}}
          |, 
          |{{
              #if: {{{IncludedWorkTitle|}}}
              |, 
              |{{
                #if: {{{Periodical|}}}
                |, 
              }}
            }}
        }}
       }}''{{Link
       }}''{{Link
         | 1={{
         | 1={{
Line 315: Line 299:
}}{{
}}{{
<!--============ Date (if no author/editor) ============-->
<!--============ Date (if no author/editor) ============-->
   #if: {{{Surname1|}}}
   #if: {{{Surname1|}}}{{{EditorSurname1|}}}
   |
   |
   |{{
   |{{
     #if: {{{EditorSurname1|}}}
     #if: {{{Date|}}}
     |
     |, {{{Date}}}
    |{{
        #if: {{{Date|}}}
        |, {{{Date}}}
      }}
   }}
   }}
}}{{
}}{{
Line 381: Line 361:
   #if: {{{URL|}}}
   #if: {{{URL|}}}
   |{{
   |{{
     #if:{{{AccessDate|}}}
    #if: {{{Title|}}}{{{IncludedWorkTitle|}}}
     |. Retrieved on {{{AccessDate}}}
    |
    |<span class="printonly">, &lt;{{{URL}}}&gt;</span>
  }}{{
     #if: {{{AccessDate|}}}
     | (retrieved on {{{AccessDate}}})
   }}
   }}
}}</cite>{{#if:{{{COinS|}}}|</span>}}
}}</cite>{{#if:{{{COinS|}}}|</span>}}

Revision as of 01:15, 5 September 2007