Template:Cite book: Difference between revisions
From All Skies Encyclopaedia
imported>Gracefool (updated from User:Gracefool/cite book) |
imported>Ligulem (copied Template:Book reference as base version for comparing) |
||
Line 1: | Line 1: | ||
<cite style="font-style:normal" {{qif |
<cite style="font-style:normal" {{qif |
||
|test={{{ |
|test={{{Ref|}}} |
||
|then={{qif |
|then={{qif |
||
|test={{booleq |
|test={{booleq |
||
|{{{ |
|{{{Ref}}} |
||
|none |
|none |
||
}} |
}} |
||
|then= |
|then= |
||
|else=id="{{{ |
|else=id="{{{Ref}}}" |
||
}} |
}} |
||
|else={{qif |
|else={{qif |
||
|test={{booland |
|test={{booland |
||
|1={{{ |
|1={{{Last|}}} |
||
|2={{{ |
|2={{{Year|}}} |
||
}} |
}} |
||
|then=id="Reference-{{{ |
|then=id="Reference-{{{Last}}}-{{{Year}}}" |
||
}} |
}} |
||
}} |
}} |
||
}}>{{qif |
}}>{{qif |
||
|test={{{ |
|test={{{Authorlink|}}} |
||
|then={{wikilink |
|then={{wikilink |
||
|1={{{ |
|1={{{Authorlink}}} |
||
|2={{qif |
|2={{qif |
||
|test={{{ |
|test={{{Author|}}} |
||
|then={{{ |
|then={{{Author}}} |
||
|else={{{ |
|else={{{Last|}}}{{qif |
||
|test={{{ |
|test={{{First|}}} |
||
|then=, {{{ |
|then=, {{{First}}} |
||
}} |
}} |
||
}} |
}} |
||
}} |
}} |
||
|else={{qif |
|else={{qif |
||
|test={{{ |
|test={{{Author|}}} |
||
|then={{{ |
|then={{{Author}}} |
||
|else={{{ |
|else={{{Last|}}}{{qif |
||
|test={{{ |
|test={{{First|}}} |
||
|then=, {{{ |
|then=, {{{First}}} |
||
}} |
}} |
||
}} |
}} |
||
}}{{qif |
}}{{qif |
||
|test={{{ |
|test={{{Coauthors|}}} |
||
|then=<nowiki>,</nowiki> {{{ |
|then=<nowiki>,</nowiki> {{{Coauthors}}} |
||
}}{{qif |
}}{{qif |
||
|test={{{ |
|test={{{Date|}}} |
||
|then= ({{{ |
|then= ({{{Date}}}) |
||
|else={{qif |
|else={{qif |
||
|test={{{ |
|test={{{Year|}}} |
||
|then={{qif |
|then={{qif |
||
|test={{{ |
|test={{{Month|}}} |
||
|then= ({{{ |
|then= ({{{Month}}} {{{Year}}}) |
||
|else= ({{{ |
|else= ({{{Year}}}) |
||
}} |
}} |
||
}} |
}} |
||
}}{{qif |
}}{{qif |
||
|test={{{ |
|test={{{Author|{{{Last|{{{Year|}}}}}}}}} |
||
|then=. |
|then=. |
||
}}{{qif |
}}{{qif |
||
|test={{{ |
|test={{{Chapter|}}} |
||
|then= "{{qif |
|then= "{{qif |
||
|test={{{ |
|test={{{ChapterURL|}}} |
||
|then=[{{{ |
|then=[{{{ChapterURL}}} {{{Chapter}}}] |
||
|else={{{ |
|else={{{Chapter}}} |
||
}}"}}{{qif |
}}"}}{{qif |
||
|test={{{ |
|test={{{Editor|}}} |
||
|then= {{{ |
|then= {{{Editor}}} |
||
}} ''{{qif |
}} ''{{qif |
||
|test={{{ |
|test={{{URL|}}} |
||
|then={{ |
|then=[{{{URL}}} {{{Title}}}] |
||
|else={{{Title}}} |
|||
|2={{{title}}} |
|||
}} |
|||
|else={{qif |
|||
|test={{{url|}}} |
|||
|then=[{{{url}}} {{{title}}}] |
|||
|else={{{title}}} |
|||
}} |
|||
}}''{{qif |
}}''{{qif |
||
|test={{{ |
|test={{{Others|}}} |
||
|then= |
|then=, {{{Others}}} |
||
|else={{qif |
|||
|test={{{format|}}} |
|||
|then= ({{{format}}}) |
|||
}} |
|||
}}{{qif |
}}{{qif |
||
|test={{{ |
|test={{{Edition|}}} |
||
|then=, {{{ |
|then=, {{{Edition}}} |
||
}}{{qif |
}}{{qif |
||
|test={{{ |
|test={{{Pages|}}} |
||
|then=, {{{ |
|then=, {{{Pages}}} |
||
}}{{qif |
}}{{qif |
||
|test={{{ |
|test={{{Publisher|}}} |
||
|then=, {{{pages}}} |
|||
}}{{qif |
|||
|test={{{publisher|}}} |
|||
|then=, {{qif |
|then=, {{qif |
||
|test={{{ |
|test={{{Location|}}} |
||
|then={{{ |
|then={{{Location}}}:  |
||
}}{{{ |
}}{{{Publisher}}} |
||
}}{{qif |
}}{{qif |
||
|test={{{ |
|test={{{ID|}}} |
||
|then=. {{{ |
|then=. {{{ID}}} |
||
}}{{qif |
|||
|test={{{link|}}} |
|||
|then= |
|||
|else={{qif |
|||
|test={{{accessdate|}}} |
|||
|then=. URL accessed {{{accessdate}}} |
|||
|else={{qif |
|||
|test={{{accessyear|}}} |
|||
|then=. URL accessed {{qif |
|||
|test={{{accessmonth|}}} |
|||
|then=on {{{accessmonth}}} {{{accessyear}}} |
|||
|else=during {{{accessyear}}} |
|||
}} |
|||
}} |
|||
}} |
|||
}}.</cite><noinclude> |
}}.</cite><noinclude> |
||
This template replaces the deprecated {{tl|book reference}}. |
|||
{{esoteric}} |
{{esoteric}} |
||
[[Category:Citation templates|{{PAGENAME}}]] |
[[Category:Citation templates|{{PAGENAME}}]] |