Difference between revisions of "Template:Citation/core"

From Self-sufficiency
Jump to: navigation, search
(do not precede title with a comma if no authors or editors are mentioned; see Template talk:Citation)
(use DOI as URL if no URL is given explicitly, see Template talk:Citation)
Line 127: Line 127:
 
<!--============  Title of included work  ============-->
 
<!--============  Title of included work  ============-->
 
   #if: {{{IncludedWorkTitle|}}}
 
   #if: {{{IncludedWorkTitle|}}}
   |{{#if:{{{Surname1|}}}{{{EditorSurname1|}}} | ,&#32;  
+
   |{{
 +
    #if:{{{Surname1|}}}{{{EditorSurname1|}}}  
 +
    | ,&#32;  
 
   }}{{Link
 
   }}{{Link
 
     | 1={{
 
     | 1={{
 
           #if: {{{IncludedWorkURL|}}}
 
           #if: {{{IncludedWorkURL|}}}
 
           |{{{IncludedWorkURL}}}
 
           |{{{IncludedWorkURL}}}
           |{{{URL|}}}
+
           |{{
 +
              #if: {{{URL|}}}
 +
              |{{{URL}}}
 +
              |{{
 +
                #if: {{{DOI|}}}
 +
                |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
 +
              }}
 +
            }}  
 
         }}
 
         }}
 
     | 2={{
 
     | 2={{
Line 227: Line 236:
 
                 |{{{URL|}}}
 
                 |{{{URL|}}}
 
               }}
 
               }}
               |{{{URL|}}}
+
               |{{
 +
                #if: {{{URL|}}}
 +
                |{{{URL}}}
 +
                |{{
 +
                    #if: {{{DOI|}}}
 +
                    |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
 +
                  }}
 +
              }}
 
             }}
 
             }}
 
         | 2={{{Title}}}
 
         | 2={{{Title}}}
Line 285: Line 301:
 
                 |{{{URL|}}}
 
                 |{{{URL|}}}
 
               }}
 
               }}
               |{{{URL|}}}
+
               |{{
 +
                #if: {{{URL|}}}
 +
                |{{{URL}}}
 +
                |{{
 +
                    #if: {{{DOI|}}}
 +
                    |http://dx.doi.org/{{urlencode:{{{DOI}}}}}
 +
                  }}
 +
              }}
 
             }}
 
             }}
 
         | 2={{{Title}}}
 
         | 2={{{Title}}}
Line 357: Line 380:
 
<!--============ DOI ============-->
 
<!--============ DOI ============-->
 
   #if: {{{DOI|}}}
 
   #if: {{{DOI|}}}
   |, [[Digital object identifier|DOI]]:[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{{DOI}}}]
+
   |{{
 +
    #if: {{{URL|}}}{{{IncludedWorkURL|}}}
 +
    |, [[Digital object identifier|DOI]]:[http://dx.doi.org/{{urlencode:{{{DOI}}}}} {{{DOI}}}]
 +
  }}
 
}}{{
 
}}{{
 
<!--============ Page within included work ============-->
 
<!--============ Page within included work ============-->

Revision as of 15:08, 18 August 2007