Template:Cite book: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Ligulem copied Template:Book reference as base version for comparing |
meta>Ligulem reverted to Gracefool's last revision |
||
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={{{link|}}} | ||
|then=[{{{ | |then={{wikilink | ||
|1={{{link}}} | |||
|2={{{title}}} | |||
}} | |||
|else={{qif | |||
|test={{{url|}}} | |||
|then=[{{{url}}} {{{title}}}] | |||
|else={{{title}}} | |||
}} | |||
}}''{{qif | }}''{{qif | ||
|test={{{ | |test={{{link|}}} | ||
|then=, {{{ | |then= | ||
|else={{qif | |||
|test={{{format|}}} | |||
|then= ({{{format}}}) | |||
}} | |||
}}{{qif | |||
|test={{{others|}}} | |||
|then=, {{{others}}} | |||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{edition|}}} | ||
|then=, {{{ | |then=, {{{edition}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{pages|}}} | ||
|then=, {{{ | |then=, {{{pages}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |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}}]] | ||
[[sk:Šablóna:Knižná_referencia]] | [[sk:Šablóna:Knižná_referencia]] | ||
</noinclude> | </noinclude> |