Cite book: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
rv |
updated from User:Gracefool/cite book |
||
Line 1: | Line 1: | ||
<cite style="font-style:normal">{{qif | <cite class="book" style="font-style:normal">{{qif | ||
|test={{{authorlink|}}} | |test={{{author|{{{last|}}}}}} | ||
|then={{qif | |||
|test={{{authorlink|}}} | |||
|then={{wikilink | |||
|1={{{authorlink}}} | |||
|2={{qif | |||
|else={{{last|}}}{{qif | |test={{{last|}}} | ||
|then={{{last}}}{{qif | |||
|test={{{first|}}} | |||
|then=, {{{first}}} | |||
}} | |||
|else={{{author}}} | |||
}} | |||
}} | |||
|else={{qif | |||
|test={{{last|}}} | |||
|then={{{last}}}{{qif | |||
|test={{{first|}}} | |test={{{first|}}} | ||
|then=, {{{first}}} | |then=, {{{first}}} | ||
}} | }} | ||
|else={{{author}}} | |||
}} | }} | ||
}} | }} | ||
}}{{qif | |||
|test={{{author|{{{last|}}}}}} | |||
|then={{qif | |||
|test={{{coauthors|}}} | |||
|then=, {{{coauthors}}} | |||
}} | |||
}}{{qif | |||
|test={{{origdate|}}} | |||
|then= <nowiki>[</nowiki>[[{{{origdate}}}]]] | |||
|else={{qif | |else={{qif | ||
|test={{{ | |test={{{origyear|}}} | ||
|then={{ | |then={{qif | ||
|test={{{origmonth|}}} | |||
| | |then= <nowiki>[</nowiki>[[{{{origmonth}}} {{{origyear}}}]]] | ||
| | |else= <nowiki>[</nowiki>[[{{{origyear}}}]]] | ||
}} | }} | ||
}} | }} | ||
}}{{qif | }}{{qif | ||
|test={{{date|}}} | |test={{{date|}}} | ||
|then= ({{{date}}}) | |then= ([[{{{date}}}]]) | ||
|else={{qif | |else={{qif | ||
|test={{{year|}}} | |test={{{year|}}} | ||
|then={{qif | |then={{qif | ||
|test={{{month|}}} | |test={{{month|}}} | ||
|then= ({{{month}}} {{{year}}}) | |then= ([[{{{month}}} {{{year}}}]]) | ||
|else= ({{{year}}}) | |else= ([[{{{year}}}]]) | ||
}} | }} | ||
}} | }} | ||
}}{{qif | }}{{qif | ||
|test= | |test={{{last|}}} | ||
|then=. | |then=. | ||
}}{{qif | }}{{qif | ||
Line 47: | Line 64: | ||
|then= {{{editor}}} | |then= {{{editor}}} | ||
}} ''{{qif | }} ''{{qif | ||
|test={{{ | |test={{{url|}}} | ||
|then=[{{{url}}} {{{title}}}] | |||
|else={{{title}}} | |||
}}''{{qif | }}''{{qif | ||
|test={{{ | |test={{{format|}}} | ||
|then= ({{{format}}}) | |||
}}{{qif | }}{{qif | ||
|test={{{others|}}} | |test={{{others|}}} | ||
Line 70: | Line 76: | ||
|test={{{edition|}}} | |test={{{edition|}}} | ||
|then=, {{{edition}}} | |then=, {{{edition}}} | ||
}}{{qif | |||
|test={{{language|}}} | |||
|then= (in {{{language}}}) | |||
}}{{qif | }}{{qif | ||
|test={{{pages|}}} | |test={{{pages|}}} | ||
Line 83: | Line 92: | ||
|then=. {{{id}}} | |then=. {{{id}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{accessdate|}}} | ||
|then= | |then=. URL accessed [[{{{accessdate}}}]] | ||
|else={{qif | |else={{qif | ||
|test={{{ | |test={{{accessyear|}}} | ||
|then=. URL accessed | |then=. URL accessed {{qif | ||
|test={{{accessmonth|}}} | |||
|test={{{ | |then=on [[{{{accessmonth}}} {{{accessyear}}}]] | ||
|else=during [[{{{accessyear}}}]] | |||
}} | }} | ||
}} | }} |