Template:Cite book: Difference between revisions
rv
m>Gracefool (updated from User:Gracefool/cite book) |
m>Gracefool (rv) |
||
Line 1: | Line 1: | ||
<cite | <cite style="font-style:normal">{{qif | ||
|test={{{ | |test={{{authorlink|}}} | ||
|then={{ | |then={{wikilink | ||
| | |1={{{authorlink}}} | ||
|2={{qif | |||
|test={{{author|}}} | |||
|then={{{author}}} | |||
|else={{{last|}}}{{qif | |||
|test={{{first|}}} | |test={{{first|}}} | ||
|then=, {{{first}}} | |then=, {{{first}}} | ||
Line 22: | Line 12: | ||
}} | }} | ||
}} | }} | ||
|else={{qif | |else={{qif | ||
|test={{{ | |test={{{author|}}} | ||
|then={{ | |then={{{author}}} | ||
|else={{{last|}}}{{qif | |||
| | |test={{{first|}}} | ||
| | |then=, {{{first}}} | ||
}} | }} | ||
}} | }} | ||
}}{{qif | |||
|test={{{coauthors|}}} | |||
|then=<nowiki>,</nowiki> {{{coauthors}}} | |||
}}{{qif | }}{{qif | ||
|test={{{date|}}} | |test={{{date|}}} | ||
|then= ( | |then= ({{{date}}}) | ||
|else={{qif | |else={{qif | ||
|test={{{year|}}} | |test={{{year|}}} | ||
|then={{qif | |then={{qif | ||
|test={{{month|}}} | |test={{{month|}}} | ||
|then= ( | |then= ({{{month}}} {{{year}}}) | ||
|else= ( | |else= ({{{year}}}) | ||
}} | }} | ||
}} | }} | ||
}}{{qif | }}{{qif | ||
|test={{{last|}}} | |test={{{author|{{{last|{{{year|}}}}}}}}} | ||
|then=. | |then=. | ||
}}{{qif | }}{{qif | ||
Line 63: | Line 47: | ||
|then= {{{editor}}} | |then= {{{editor}}} | ||
}} ''{{qif | }} ''{{qif | ||
|test={{{url|}}} | |test={{{link|}}} | ||
|then={{wikilink | |||
|1={{{link}}} | |||
|2={{{title}}} | |||
}} | |||
|else={{qif | |||
|test={{{url|}}} | |||
|then=[{{{url}}} {{{title}}}] | |||
|else={{{title}}} | |||
}} | |||
}}''{{qif | }}''{{qif | ||
|test={{{format|}}} | |test={{{link|}}} | ||
|then= | |||
|else={{qif | |||
|test={{{format|}}} | |||
|then= ({{{format}}}) | |||
}} | |||
}}{{qif | }}{{qif | ||
|test={{{others|}}} | |test={{{others|}}} | ||
Line 75: | Line 70: | ||
|test={{{edition|}}} | |test={{{edition|}}} | ||
|then=, {{{edition}}} | |then=, {{{edition}}} | ||
}}{{qif | }}{{qif | ||
|test={{{pages|}}} | |test={{{pages|}}} | ||
Line 91: | Line 83: | ||
|then=. {{{id}}} | |then=. {{{id}}} | ||
}}{{qif | }}{{qif | ||
|test={{{ | |test={{{link|}}} | ||
|then= | |then= | ||
|else={{qif | |else={{qif | ||
|test={{{ | |test={{{accessdate|}}} | ||
|then=. URL accessed {{qif | |then=. URL accessed {{{accessdate}}} | ||
|test={{{accessmonth|}}} | |else={{qif | ||
|test={{{accessyear|}}} | |||
|then=. URL accessed {{qif | |||
|test={{{accessmonth|}}} | |||
|then=on {{{accessmonth}}} {{{accessyear}}} | |||
|else=during {{{accessyear}}} | |||
}} | |||
}} | }} | ||
}} | }} |