Cite book: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
reverted to Gracefool's last revision |
updated from User:Gracefool/cite book. Backwards compatibility with {{book reference}} is broken. |
||
Line 1: | Line 1: | ||
<cite style="font-style:normal" {{qif | <cite class="book" style="font-style:normal">{{qif | ||
|test={{{ | |test={{{author|{{{authorlast|}}}}}} | ||
|then={{qif | |then={{qif | ||
|test={{{authorlink|}}} | |||
|then={{wikilink | |||
|1={{{authorlink}}} | |||
|2={{qif | |||
|test={{{authorlast|}}} | |||
|then={{{authorlast}}}{{qif | |||
|test={{{authorfirst|}}} | |||
|then=, {{{authorfirst}}} | |||
}} | |||
|else={{{author}}} | |||
}} | |||
}} | }} | ||
| | |else={{qif | ||
|test={{{authorlast|}}} | |||
|then={{{authorlast}}}{{qif | |||
|test={{{authorfirst|}}} | |||
|then=, {{{authorfirst}}} | |||
|test={{{ | |||
|then={{{ | |||
|test={{{ | |||
|then=, {{{ | |||
}} | }} | ||
|else={{{author}}} | |||
}} | }} | ||
}} | }} | ||
}}{{qif | |||
|test={{{authorlast|}}} | |||
|then={{qif | |||
| | |test={{{author2|}}} | ||
|test={{{ | |then={{qif | ||
|then=, | |test={{{author3|}}} | ||
|then=,  | |||
|else= &  | |||
}} | }} | ||
}} | }} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{authorlast|}}} | ||
|then= | |then={{qif | ||
|test={{{author2link|}}} | |||
|then={{wikilink | |||
|1={{{author2link}}} | |||
|2={{qif | |||
|test={{{author2|}}} | |||
|then={{{author2}}} | |||
}} | |||
}} | |||
|else={{{author2|}}} | |||
}}{{qif | |||
|test={{{author2|}}} | |||
|then={{qif | |||
|test={{{author3|}}} | |||
|then={{qif | |||
|test={{{author4|}}} | |||
|then=,  | |||
|else= &  | |||
}} | |||
}} | |||
}}{{qif | |||
|test={{{author3link|}}} | |||
|then={{wikilink | |||
|1={{{author3link}}} | |||
|2={{qif | |||
|test={{{author3|}}} | |||
|then={{{author3}}} | |||
}} | |||
}} | |||
|else={{{author3|}}} | |||
}}{{qif | |||
|test={{{author2|}}} | |||
|then={{qif | |||
|test={{{author3|}}} | |||
|then={{qif | |||
|test={{{author4|}}} | |||
|then={{qif | |||
|test={{{author5|}}} | |||
|then=,  | |||
|else= &  | |||
}} | |||
}} | |||
}} | |||
}}{{qif | |||
|test={{{author4link|}}} | |||
|then={{wikilink | |||
|1={{{author4link}}} | |||
|2={{qif | |||
|test={{{author4|}}} | |||
|then={{{author4}}} | |||
}} | |||
}} | |||
|else={{{author4|}}} | |||
}}{{qif | |||
|test={{{author2|}}} | |||
|then={{qif | |||
|test={{{author3|}}} | |||
|then={{qif | |||
|test={{{author4|}}} | |||
|then={{qif | |||
|test={{{author5|}}} | |||
|then= &  | |||
}} | |||
}} | |||
}} | |||
}}{{qif | |||
|test={{{author5link|}}} | |||
|then={{wikilink | |||
|1={{{author5link}}} | |||
|2={{qif | |||
|test={{{author5|}}} | |||
|then={{{author5}}} | |||
}} | |||
}} | |||
|else={{{author5|}}} | |||
}} | |||
}}{{qif | }}{{qif | ||
|test={{{date|}}} | |test={{{date|}}} | ||
Line 53: | Line 123: | ||
}} | }} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{authorlast|{{{year|}}}}}} | ||
|then=. | |then=. | ||
}}{{qif | }}{{qif | ||
Line 116: | Line 186: | ||
}} | }} | ||
}}.</cite><noinclude> | }}.</cite><noinclude> | ||
This template replaces the deprecated {{tl|book reference}}. | This template replaces the deprecated {{tl|book reference}}. | ||
{{esoteric}} | {{esoteric}} |