Template:Citation: Difference between revisions

From All Skies Encyclopaedia
imported>SEWilco
Under development
 
imported>COGDEN
replace soon-to-be-deleted ifnone with booleq. Generalize citation HTML id.
Line 1: Line 1:
'''This is a test template which is not yet to be used.'''
<noinclude>'''This is a test template which is not yet to be used.'''</noinclude>
<cite style="font-style:normal" {{if
<cite style="font-style:normal" {{if
   |1={{{Ref|}}}
   |1={{{Ref|}}}
   |2={{ifnone
   |2={{if
       |1={{{Ref}}}
       |1={{booleq
            |{{{Ref}}}
            |none
          }}
       |2=
       |2=
       |3=id="{{{Ref}}}"
       |3=id="{{{Ref}}}"
Line 9: Line 12:
   |3={{if
   |3={{if
       |1={{{Surname|{{{Last|{{{Surname1|{{{Last1}}}}}}}}}}}}
       |1={{{Surname|{{{Last|{{{Surname1|{{{Last1}}}}}}}}}}}}
       |2=id="HARV{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{{Surname2|{{{Last2|}}}}}}{{{Surname3|{{{Last3|}}}}}}{{{Surname4|{{{Last4|}}}}}}{{{Year}}}"
       |2=id="CITEREF{{{Surname1|{{{Last1|{{{Surname|{{{Last}}}}}}}}}}}}{{{Surname2|{{{Last2|}}}}}}{{{Surname3|{{{Last3|}}}}}}{{{Surname4|{{{Last4|}}}}}}{{{Year}}}"
     }}
     }}
}}>{{if
}}>{{if
Line 80: Line 83:
   |3={{if
   |3={{if
       |1={{{Chapter|{{{Contribution|}}}}}}
       |1={{{Chapter|{{{Contribution|}}}}}}
       |2={{if
       |2=, {{Link|1={{{URL|}}}|2="{{{Chapter|{{{Contribution}}}}}}"}} in {{if
            |1={{{Title|}}}
            |2=, {{Link|1={{{URL|}}}|2="{{{Title}}}"}}
          }}, "{{{Chapter|{{{Contribution}}}}}}" in {{if
             |{{{Editor|}}}
             |{{{Editor|}}}
             |{{{Editor}}}, ed.,&#32;
             |{{{Editor}}}, ed.,&#32;
           }}{{{Title}}}{{if
           }}''{{{Title}}}''{{if
               |{{{Edition|}}}
               |{{{Edition|}}}
               |&#32;({{{Edition}}} ed.)
               |&#32;({{{Edition}}} ed.)

Revision as of 21:38, 23 November 2005

This is a test template which is not yet to be used. Template:If ({{{Year}}})Template:IfTemplate:If