Template:Cite book: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
m (Reverted edits by U mad bro (talk) to last revision by Rise Up Against the Ribbon) Tag: Rollback |
||
Line 1: | Line 1: | ||
< | <cite style="font-style:normal" {{qif | ||
|test={{{ref}}} | |||
|then={{qif | |||
|test={{booleq | |||
|{{{ref}}} | |||
|none | |||
}} | |||
|then= | |||
|else=id="{{{ref}}}" | |||
}} | |||
|else={{qif | |||
|test={{booland | |||
|1={{{last|}}} | |||
|2={{{year|}}} | |||
}} | |||
|then=id="Reference-{{{last}}}-{{{year}}}" | |||
}} | |||
}} | |||
}}>{{qif | |||
|test={{{authorlink|}}} | |||
|then={{wikilink | |||
|1={{{authorlink}}} | |||
|2={{qif | |||
|test={{{author|}}} | |||
|then={{{author}}} | |||
|else={{{last|}}}{{qif | |||
|test={{{first|}}} | |||
|then=, {{{first}}} | |||
}} | |||
}} | |||
}} | |||
|else={{qif | |||
|test={{{author|}}} | |||
|then={{{author}}} | |||
|else={{{last|}}}{{qif | |||
|test={{{first|}}} | |||
|then=, {{{first}}} | |||
}} | |||
}} | |||
}}{{qif | |||
|test={{{coauthors|}}} | |||
|then=<nowiki>,</nowiki> {{{coauthors}}} | |||
}}{{qif | |||
|test={{{date|}}} | |||
|then= ({{{date}}}) | |||
|else={{qif | |||
|test={{{year|}}} | |||
|then={{qif | |||
|test={{{month|}}} | |||
|then= ({{{month}}} {{{year}}}) | |||
|else= ({{{year}}}) | |||
}} | |||
}} | |||
}}{{qif | |||
|test={{{author|{{{last|{{{year|}}}}}}}}} | |||
|then=. | |||
}}{{qif | |||
|test={{{chapter|}}} | |||
|then= "{{qif | |||
|test={{{chapterurl|}}} | |||
|then=[{{{chapterurl}}} {{{chapter}}}] | |||
|else={{{chapter}}} | |||
}}"}}{{qif | |||
|test={{{editor|}}} | |||
|then= {{{editor}}} | |||
}} ''{{qif | |||
|test={{{link|}}} | |||
|then={{wikilink | |||
|1={{{link}}} | |||
|2={{{title}}} | |||
}} | |||
|else={{qif | |||
|test={{{url|}}} | |||
|then=[{{{url}}} {{{title}}}] | |||
|else={{{title}}} | |||
}} | |||
}}''{{qif | |||
|test={{{link|}}} | |||
|then= | |||
|else={{qif | |||
|test={{{format|}}} | |||
|then= ({{{format}}}) | |||
}} | |||
}}{{qif | |||
|test={{{others|}}} | |||
|then=, {{{others}}} | |||
}}{{qif | |||
|test={{{edition|}}} | |||
|then=, {{{edition}}} | |||
}}{{qif | |||
|test={{{pages|}}} | |||
|then=, {{{pages}}} | |||
}}{{qif | |||
|test={{{publisher|}}} | |||
|then=, {{qif | |||
|test={{{location|}}} | |||
|then={{{location}}}:  | |||
}}{{{publisher}}} | |||
}}{{qif | |||
|test={{{id|}}} | |||
|then=. {{{id}}} | |||
}}{{qif | |||
|test={{{link|}}} | |||
|then= | |||
|else={{qif | |||
|test={{{accessdate|}}} | |||
|then=. URL accessed {{{accessdate}}} | |||
|else={{qif | |||
|test={{{accessyear|}}} | |||
|then=. URL accessed {{qif | |||
|test={{{accessmonth|}}} | |||
|then=on {{{accessmonth}}} {{{accessyear}}} | |||
|else=during {{{accessyear}}} | |||
}} | |||
}} | |||
}} | |||
}}.</cite> |
Latest revision as of 15:50, 20 October 2021
{{{title}}}.