Template:Cite book: Difference between revisions
From All Skies Encyclopaedia
imported>Ligulem (Removing id attribute of <cite> tag. See talk) |
imported>Gracefool (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={{{ |
|test={{{last|}}} |
||
|then={{ |
|then={{qif |
||
| |
|test={{{authorlink|}}} |
||
| |
|then={{wikilink |
||
| |
|1={{{authorlink}}} |
||
| |
|2={{qif |
||
| |
|test={{{last|}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
|test={{{first|}}} |
|test={{{first|}}} |
||
|then=, {{{first}}} |
|then=, {{{first}}} |
||
Line 12: | Line 22: | ||
}} |
}} |
||
}} |
}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}}{{qif |
|||
⚫ | |||
|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 63: | ||
|then= {{{editor}}} |
|then= {{{editor}}} |
||
}} ''{{qif |
}} ''{{qif |
||
|test={{{ |
|test={{{url|}}} |
||
|then={{ |
|then=[{{{url}}} {{{title}}}] |
||
|else={{{title}}} |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}}''{{qif |
}}''{{qif |
||
|test={{{ |
|test={{{format|}}} |
||
|then= |
|then= ({{{format}}}) |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}}{{qif |
}}{{qif |
||
|test={{{others|}}} |
|test={{{others|}}} |
||
Line 70: | Line 75: | ||
|test={{{edition|}}} |
|test={{{edition|}}} |
||
|then=, {{{edition}}} |
|then=, {{{edition}}} |
||
}}{{qif |
|||
|test={{{language|}}} |
|||
|then= (in {{{language}}}) |
|||
}}{{qif |
}}{{qif |
||
|test={{{pages|}}} |
|test={{{pages|}}} |
||
Line 83: | Line 91: | ||
|then=. {{{id}}} |
|then=. {{{id}}} |
||
}}{{qif |
}}{{qif |
||
|test={{{ |
|test={{{accessdate|}}} |
||
|then=. URL accessed [[{{{accessdate}}}]] |
|||
|then= |
|||
|else={{qif |
|else={{qif |
||
|test={{{ |
|test={{{accessyear|}}} |
||
|then=. URL accessed {{ |
|then=. URL accessed {{qif |
||
| |
|test={{{accessmonth|}}} |
||
| |
|then=on [[{{{accessmonth}}} {{{accessyear}}}]] |
||
| |
|else=during [[{{{accessyear}}}]] |
||
⚫ | |||
|then=on {{{accessmonth}}} {{{accessyear}}} |
|||
|else=during {{{accessyear}}} |
|||
⚫ | |||
}} |
}} |
||
}} |
}} |