Cite book: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
updated from User:Gracefool/cite book |
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=[{{{URL}}} {{{Title}}}] | |||
|else={{{Title}}} | |||
}}''{{qif | }}''{{qif | ||
|test={{{ | |test={{{Others|}}} | ||
|then=, {{{Others}}} | |||
|then=, {{{ | |||
}}{{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}}} | ||
}}.</cite><noinclude> | }}.</cite><noinclude> | ||
{{esoteric}} | {{esoteric}} | ||
[[Category:Citation templates|{{PAGENAME}}]] | [[Category:Citation templates|{{PAGENAME}}]] | ||
[[sk:Šablóna:Knižná_referencia]] | [[sk:Šablóna:Knižná_referencia]] | ||
</noinclude> | </noinclude> |