Difference between revisions of "Template:Citation/core"

From Self-sufficiency
Jump to: navigation, search
(Add option for alternative author separators)
(More economical display of ; , avoiding nowiki clutter. Allow user configuration of separation of last, first)
Line 24: Line 24:
 
         |[[{{{Authorlink1}}} |{{{Surname1}}}{{
 
         |[[{{{Authorlink1}}} |{{{Surname1}}}{{
 
           #if: {{{Given1|}}}
 
           #if: {{{Given1|}}}
           |, {{{Given1}}}
+
           |{{{NameSep|, }}}{{{Given1}}}
 
         }}]]
 
         }}]]
 
         |{{{Surname1}}}{{
 
         |{{{Surname1}}}{{
 
           #if: {{{Given1|}}}
 
           #if: {{{Given1|}}}
           |, {{{Given1}}}
+
           |{{{NameSep|, }}}{{{Given1}}}
 
         }}
 
         }}
 
       }}
 
       }}
Line 38: Line 38:
 
         |{{
 
         |{{
 
           #if: {{{Surname3|}}}
 
           #if: {{{Surname3|}}}
           |{{{AuthorSep|<nowiki>; </nowiki>}}}
+
           |{{{AuthorSep|&#059;&#32;}}}
           |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|<nowiki>; </nowiki>}}}}}
+
           |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
         }}
 
         }}
 
       }}{{
 
       }}{{
Line 45: Line 45:
 
         |[[{{{Authorlink2}}} |{{{Surname2}}}{{
 
         |[[{{{Authorlink2}}} |{{{Surname2}}}{{
 
           #if: {{{Given2|}}}
 
           #if: {{{Given2|}}}
           |, {{{Given2}}}
+
           |{{{NameSep|,&#32;}}}{{{Given2}}}
 
         }}]]
 
         }}]]
 
         |{{{Surname2}}}{{
 
         |{{{Surname2}}}{{
 
           #if: {{{Given2|}}}
 
           #if: {{{Given2|}}}
           |, {{{Given2}}}
+
           |{{{NameSep|,&#32;}}}{{{Given2}}}
 
         }}
 
         }}
 
       }}{{
 
       }}{{
Line 55: Line 55:
 
         |{{
 
         |{{
 
           #if: {{{Surname4|}}}
 
           #if: {{{Surname4|}}}
           |{{{AuthorSep|<nowiki>; </nowiki>}}}
+
           |{{{AuthorSep|&#059;&#32;}}}
           |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|<nowiki>; </nowiki>}}}}}
+
           |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
         }}{{
 
         }}{{
 
           #if: {{{Authorlink3|}}}
 
           #if: {{{Authorlink3|}}}
 
           |[[{{{Authorlink3}}} |{{{Surname3}}}{{
 
           |[[{{{Authorlink3}}} |{{{Surname3}}}{{
 
               #if: {{{Given3|}}}
 
               #if: {{{Given3|}}}
               |, {{{Given3}}}
+
               |{{{NameSep|,&#32;}}}{{{Given3}}}
 
             }}]]
 
             }}]]
 
           |{{{Surname3}}}{{
 
           |{{{Surname3}}}{{
 
               #if: {{{Given3|}}}
 
               #if: {{{Given3|}}}
               |, {{{Given3}}}
+
               |{{{NameSep|,&#32;}}}{{{Given3}}}
 
             }}
 
             }}
 
         }}{{
 
         }}{{
Line 71: Line 71:
 
           |{{
 
           |{{
 
               #if: {{{Surname5|}}}
 
               #if: {{{Surname5|}}}
               |{{{AuthorSep|<nowiki>; </nowiki>}}}
+
               |{{{AuthorSep|&#059;&#32;}}}
               |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|<nowiki>; </nowiki>}}}}}
+
               |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
             }}{{
 
             }}{{
 
               #if: {{{Authorlink4|}}}
 
               #if: {{{Authorlink4|}}}
 
               |[[{{{Authorlink4}}} |{{{Surname4}}}{{
 
               |[[{{{Authorlink4}}} |{{{Surname4}}}{{
 
                 #if: {{{Given4|}}}
 
                 #if: {{{Given4|}}}
                 |, {{{Given4}}}
+
                 |{{{NameSep|,&#32;}}}{{{Given4}}}
 
               }}]]
 
               }}]]
 
               |{{{Surname4}}}{{
 
               |{{{Surname4}}}{{
 
                 #if: {{{Given4|}}}
 
                 #if: {{{Given4|}}}
                 |, {{{Given4}}}
+
                 |{{{NameSep|,&#32;}}}{{{Given4}}}
 
               }}
 
               }}
 
             }}{{
 
             }}{{
Line 87: Line 87:
 
               |{{
 
               |{{
 
                 #if: {{{Surname6|}}}
 
                 #if: {{{Surname6|}}}
                 |{{{AuthorSep|<nowiki>; </nowiki>}}}
+
                 |{{{AuthorSep|&#059;&#32;}}}
                 |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|<nowiki>; </nowiki>}}}}}
+
                 |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
               }}{{
 
               }}{{
 
                 #if: {{{Authorlink5|}}}
 
                 #if: {{{Authorlink5|}}}
 
                 |[[{{{Authorlink5}}} |{{{Surname5}}}{{
 
                 |[[{{{Authorlink5}}} |{{{Surname5}}}{{
 
                     #if: {{{Given5|}}}
 
                     #if: {{{Given5|}}}
                     |, {{{Given5}}}
+
                     |{{{NameSep|,&#32;}}}{{{Given5}}}
 
                   }}]]
 
                   }}]]
 
                 |{{{Surname5}}}{{
 
                 |{{{Surname5}}}{{
 
                     #if: {{{Given5|}}}
 
                     #if: {{{Given5|}}}
                     |, {{{Given5}}}
+
                     |{{{NameSep|,&#32;}}}{{{Given5}}}
 
                   }}
 
                   }}
 
               }}{{
 
               }}{{
Line 103: Line 103:
 
                 |{{
 
                 |{{
 
                     #if: {{{Surname7|}}}
 
                     #if: {{{Surname7|}}}
                     |{{{AuthorSep|<nowiki>; </nowiki>}}}
+
                     |{{{AuthorSep|&#059;&#32;}}}
                     |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|<nowiki>; </nowiki>}}}}}
+
                     |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
                   }}{{
 
                   }}{{
 
                     #if: {{{Authorlink6|}}}
 
                     #if: {{{Authorlink6|}}}
 
                     |[[{{{Authorlink6}}} |{{{Surname6}}}{{
 
                     |[[{{{Authorlink6}}} |{{{Surname6}}}{{
 
                       #if: {{{Given6|}}}
 
                       #if: {{{Given6|}}}
                       |, {{{Given6}}}
+
                       |{{{NameSep|,&#32;}}}{{{Given6}}}
 
                     }}]]
 
                     }}]]
 
                     |{{{Surname6}}}{{
 
                     |{{{Surname6}}}{{
 
                       #if: {{{Given6|}}}
 
                       #if: {{{Given6|}}}
                       |, {{{Given6}}}
+
                       |{{{NameSep|,&#32;}}}{{{Given6}}}
 
                     }}
 
                     }}
 
                   }}{{
 
                   }}{{
Line 119: Line 119:
 
                     |{{
 
                     |{{
 
                       #if: {{{Surname8|}}}
 
                       #if: {{{Surname8|}}}
                       |{{{AuthorSep|<nowiki>; </nowiki>}}}
+
                       |{{{AuthorSep|&#059;&#32;}}}
                       |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|<nowiki>; </nowiki>}}}}}
+
                       |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
                     }}{{
 
                     }}{{
 
                       #if: {{{Authorlink7|}}}
 
                       #if: {{{Authorlink7|}}}
 
                       |[[{{{Authorlink7}}} |{{{Surname7}}}{{
 
                       |[[{{{Authorlink7}}} |{{{Surname7}}}{{
 
                           #if: {{{Given7|}}}
 
                           #if: {{{Given7|}}}
                           |, {{{Given7}}}
+
                           |{{{NameSep|,&#32;}}}{{{Given7}}}
 
                         }}]]
 
                         }}]]
 
                       |{{{Surname7}}}{{
 
                       |{{{Surname7}}}{{
 
                           #if: {{{Given7|}}}
 
                           #if: {{{Given7|}}}
                           |, {{{Given7}}}
+
                           |{{{NameSep|,&#32;}}}{{{Given7}}}
 
                         }}
 
                         }}
 
                     }}{{
 
                     }}{{
Line 135: Line 135:
 
                       |{{
 
                       |{{
 
                           #if: {{{Surname9|}}}
 
                           #if: {{{Surname9|}}}
                           |{{{AuthorSep|<nowiki>; </nowiki>}}}
+
                           |{{{AuthorSep|&#059;&#32;}}}
                           |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|<nowiki>; </nowiki>}}}}}
+
                           |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
                         }}{{
 
                         }}{{
 
                           #if: {{{Authorlink8|}}}
 
                           #if: {{{Authorlink8|}}}
 
                           |[[{{{Authorlink8}}} |{{{Surname8}}}{{
 
                           |[[{{{Authorlink8}}} |{{{Surname8}}}{{
 
                             #if: {{{Given8|}}}
 
                             #if: {{{Given8|}}}
                             |, {{{Given8}}}
+
                             |{{{NameSep|,&#32;}}}{{{Given8}}}
 
                           }}]]
 
                           }}]]
 
                           |{{{Surname8}}}{{
 
                           |{{{Surname8}}}{{
 
                             #if: {{{Given8|}}}
 
                             #if: {{{Given8|}}}
                             |, {{{Given8}}}
+
                             |{{{NameSep|,&#32;}}}{{{Given8}}}
 
                           }}
 
                           }}
 
                         }}{{
 
                         }}{{
 
                           #if:{{{Surname9|}}}
 
                           #if:{{{Surname9|}}}
                           |{{{AuthorSep|<nowiki>; </nowiki>}}}&#32;''et al''.
+
                           |{{{AuthorSep|&#059;&#32;}}}&#32;''et al''.
 
                         }}
 
                         }}
 
                     }}
 
                     }}
Line 180: Line 180:
 
         |{{
 
         |{{
 
           #if: {{{EditorSurname3|}}}
 
           #if: {{{EditorSurname3|}}}
           |{{{AuthorSep|<nowiki>; </nowiki>}}}
+
           |{{{AuthorSep|&#059;&#32;}}}
           |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|<nowiki>; </nowiki>}}}}}
+
           |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
         }}{{
 
         }}{{
 
           #if: {{{Editorlink2|}}}
 
           #if: {{{Editorlink2|}}}
Line 196: Line 196:
 
           |{{
 
           |{{
 
               #if: {{{EditorSurname4|}}}
 
               #if: {{{EditorSurname4|}}}
               |{{{AuthorSep|<nowiki>; </nowiki>}}}
+
               |{{{AuthorSep|&#059;&#32;}}}
               |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|<nowiki>; </nowiki>}}}}}
+
               |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
             }}{{
 
             }}{{
 
               #if: {{{Editorlink3|}}}
 
               #if: {{{Editorlink3|}}}
Line 284: Line 284:
 
         |{{
 
         |{{
 
           #if: {{{EditorSurname3|}}}
 
           #if: {{{EditorSurname3|}}}
             |{{{AuthorSep|<nowiki>; </nowiki>}}}
+
             |{{{AuthorSep|&#059;&#32;}}}
             |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|<nowiki>; </nowiki>}}}}}
+
             |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
           }}{{
 
           }}{{
 
           #if: {{{Editorlink2|}}}
 
           #if: {{{Editorlink2|}}}
Line 300: Line 300:
 
           |{{
 
           |{{
 
               #if: {{{EditorSurname4|}}}
 
               #if: {{{EditorSurname4|}}}
               |<nowiki>; </nowiki>
+
               |&#059;&#32;
               |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|<nowiki>; </nowiki>}}}}}
+
               |{{#if:{{{amp|}}}|&#32;&amp;&#32;|{{{AuthorSep|&#059;&#32;}}}}}
 
             }}{{
 
             }}{{
 
               #if: {{{Editorlink3|}}}
 
               #if: {{{Editorlink3|}}}
Line 585: Line 585:
 
   }}{{
 
   }}{{
 
     #if: {{{Surname1|}}} |&rft.au={{urlencode:{{{Surname1}}}}}{{
 
     #if: {{{Surname1|}}} |&rft.au={{urlencode:{{{Surname1}}}}}{{
       #if: {{{Given1|}}} |{{urlencode:, {{{Given1}}}}}
+
       #if: {{{Given1|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given1}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname2|}}} |&rft.au={{urlencode:{{{Surname2}}}}}{{
 
     #if: {{{Surname2|}}} |&rft.au={{urlencode:{{{Surname2}}}}}{{
       #if: {{{Given2|}}} |{{urlencode:, {{{Given2}}}}}
+
       #if: {{{Given2|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given2}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname3|}}} |&rft.au={{urlencode:{{{Surname3}}}}}{{
 
     #if: {{{Surname3|}}} |&rft.au={{urlencode:{{{Surname3}}}}}{{
       #if: {{{Given3|}}} |{{urlencode:, {{{Given3}}}}}
+
       #if: {{{Given3|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given3}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname4|}}} |&rft.au={{urlencode:{{{Surname4}}}}}{{
 
     #if: {{{Surname4|}}} |&rft.au={{urlencode:{{{Surname4}}}}}{{
       #if: {{{Given4|}}} |{{urlencode:, {{{Given4}}}}}
+
       #if: {{{Given4|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given4}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname5|}}} |&rft.au={{urlencode:{{{Surname5}}}}}{{
 
     #if: {{{Surname5|}}} |&rft.au={{urlencode:{{{Surname5}}}}}{{
       #if: {{{Given5|}}} |{{urlencode:, {{{Given5}}}}}
+
       #if: {{{Given5|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given5}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname6|}}} |&rft.au={{urlencode:{{{Surname6}}}}}{{
 
     #if: {{{Surname6|}}} |&rft.au={{urlencode:{{{Surname6}}}}}{{
       #if: {{{Given6|}}} |{{urlencode:, {{{Given6}}}}}
+
       #if: {{{Given6|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given6}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname7|}}} |&rft.au={{urlencode:{{{Surname7}}}}}{{
 
     #if: {{{Surname7|}}} |&rft.au={{urlencode:{{{Surname7}}}}}{{
       #if: {{{Given7|}}} |{{urlencode:, {{{Given7}}}}}
+
       #if: {{{Given7|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given7}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname8|}}} |&rft.au={{urlencode:{{{Surname8}}}}}{{
 
     #if: {{{Surname8|}}} |&rft.au={{urlencode:{{{Surname8}}}}}{{
       #if: {{{Given8|}}} |{{urlencode:, {{{Given8}}}}}
+
       #if: {{{Given8|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given8}}}}}
 
     }}
 
     }}
 
   }}{{
 
   }}{{
 
     #if: {{{Surname9|}}} |&rft.au={{urlencode:{{{Surname9}}}}}{{
 
     #if: {{{Surname9|}}} |&rft.au={{urlencode:{{{Surname9}}}}}{{
       #if: {{{Given9|}}} |{{urlencode:, {{{Given9}}}}}
+
       #if: {{{Given9|}}} |{{urlencode:{{{NameSep|,&#32;}}}{{{Given9}}}}}
 
     }}
 
     }}
 
     }}{{
 
     }}{{

Revision as of 07:32, 7 October 2009