Template:Cite book: Difference between revisions
From All Skies Encyclopaedia
imported>Ligulem (reverted to Gracefool's last revision) |
imported>Gracefool (updated from User:Gracefool/cite book. Backwards compatibility with {{book reference}} is broken.) |
||
Line 1: | Line 1: | ||
<cite style="font-style:normal" |
<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|}}} |
||
⚫ | |||
⚫ | |||
}} |
|||
| |
|else={{{author}}} |
||
}} |
|||
}} |
}} |
||
⚫ | |||
|then=id="Reference-{{{last}}}-{{{year}}}" |
|||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
|||
⚫ | |||
⚫ | |||
| |
|then=, {{{authorfirst}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
}} |
||
⚫ | |||
}} |
}} |
||
}} |
}} |
||
}}{{qif |
|||
|test={{{authorlast|}}} |
|||
|then={{qif |
|||
| |
|test={{{author2|}}} |
||
|then={{qif |
|||
| |
|test={{{author3|}}} |
||
|then=,  |
|||
|else= &  |
|||
}} |
}} |
||
}} |
}} |
||
}}{{qif |
}}{{qif |
||
|test={{{ |
|test={{{authorlast|}}} |
||
|then= |
|then={{qif |
||
|test={{{author2link|}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
|test={{{author2|}}} |
|||
|then={{{author2}}} |
|||
}} |
|||
}} |
|||
|else={{{author2|}}} |
|||
⚫ | |||
|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}} |