Template:Citation: Difference between revisions

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