Still working to recover. Please don't edit quite yet.
Difference between revisions of "Template:Cite book"
From Anarchopedia
m (test) |
(trying older version) |
||
Line 1: | Line 1: | ||
− | + | <cite class="book" style="font-style:normal">{{qif | |
− | | | + | |test={{{author|{{{last|}}}}}} |
− | + | |then={{qif | |
− | + | |test={{{authorlink|}}} | |
− | + | |then=[[{{{authorlink}}}|{{qif | |
− | | [[{{{authorlink}}}|{{ | + | |test={{{last|}}} |
− | | {{{last}}}{{ | + | |then={{{last}}}{{qif |
− | | {{{author}}} | + | |test={{{first|}}} |
+ | |then=, {{{first}}} | ||
+ | }} | ||
+ | |else={{{author}}} | ||
}}]] | }}]] | ||
− | | {{ | + | |else={{qif |
− | | {{{last}}}{{ | + | |test={{{last|}}} |
− | | {{{author}}} | + | |then={{{last}}}{{qif |
+ | |test={{{first|}}} | ||
+ | |then=, {{{first}}} | ||
+ | }} | ||
+ | |else={{{author}}} | ||
}} | }} | ||
}} | }} | ||
− | }}{{ | + | }}{{qif |
− | | {{ | + | |test={{{author|{{{last|}}}}}} |
− | }}{{ | + | |then={{qif |
− | |  <nowiki>[</nowiki>{{{origdate}}}] | + | |test={{{coauthors|}}} |
− | | {{ | + | |then=<nowiki>;</nowiki> {{{coauthors}}} |
− | | {{ | + | }} |
− | |  <nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}] | + | }}{{qif |
− | |  <nowiki>[</nowiki>{{{origyear}}}] | + | |test={{{origdate|}}} |
+ | |then= <nowiki>[</nowiki>{{{origdate}}}] | ||
+ | |else={{qif | ||
+ | |test={{{origyear|}}} | ||
+ | |then={{qif | ||
+ | |test={{{origmonth|}}} | ||
+ | |then= <nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}] | ||
+ | |else= <nowiki>[</nowiki>{{{origyear}}}] | ||
}} | }} | ||
}} | }} | ||
− | }}{{ | + | }}{{qif |
− | |  ({{{date}}}) | + | |test={{{date|}}} |
− | | {{ | + | |then= ({{{date}}}) |
− | | {{ | + | |else={{qif |
− | |  ({{{month}}} {{{year}}}) | + | |test={{{year|}}} |
− | |  ({{{year}}}) | + | |then={{qif |
+ | |test={{{month|}}} | ||
+ | |then= ({{{month}}} {{{year}}}) | ||
+ | |else= ({{{year}}}) | ||
}} | }} | ||
}} | }} | ||
− | }}{{ | + | }}{{qif |
− | }}{{ | + | |test={{{author|{{{last|}}}}}} |
− | |   | + | |then=. |
− | + | }}{{qif | |
− | + | |test={{{chapter|}}} | |
− | }} | + | |then= "{{qif |
− | |  {{{editor}}} | + | |test={{{chapterurl|}}} |
− | }} ''{{ | + | |then=[{{{chapterurl}}} {{{chapter}}}] |
− | }}''{{ | + | |else={{{chapter}}} |
− | }}{{ | + | }}"}}{{qif |
− | }}{{ | + | |test={{{editor|}}} |
− | }}{{ | + | |then= {{{editor}}} |
− | }}{{ | + | }} ''{{qif |
− | | { | + | |test={{{url|}}} |
− | | {{{location}}}:  | + | |then=[{{{url}}} {{{title}}}] |
+ | |else={{{title}}} | ||
+ | }}''{{qif | ||
+ | |test={{{format|}}} | ||
+ | |then= ({{{format}}}) | ||
+ | }}{{qif | ||
+ | |test={{{others|}}} | ||
+ | |then=, {{{others}}} | ||
+ | }}{{qif | ||
+ | |test={{{edition|}}} | ||
+ | |then=, {{{edition}}} | ||
+ | }}{{qif | ||
+ | |test={{{language|}}} | ||
+ | |then= (in {{{language}}}) | ||
+ | }}{{qif | ||
+ | |test={{{pages|}}} | ||
+ | |then=, p. {{{pages}}} | ||
+ | }}{{qif | ||
+ | |test={{{publisher|}}} | ||
+ | |then=, {{qif | ||
+ | |test={{{location|}}} | ||
+ | |then={{{location}}}:  | ||
}}{{{publisher}}} | }}{{{publisher}}} | ||
− | }}{{ | + | }}{{qif |
− | + | |test={{{id|}}} | |
− | + | |then=. {{{id}}} | |
− | }}{{ | + | }}{{qif |
− | | . | + | |test={{{accessdate|}}} |
− | | {{ | + | |then=. URL accessed [[{{{accessdate}}}]] |
− | | . | + | |else={{qif |
− | | on [[{{{accessmonth}}} {{{accessyear}}}]] | + | |test={{{accessyear|}}} |
− | | during [[{{{accessyear}}}]] | + | |then=. URL accessed {{qif |
+ | |test={{{accessmonth|}}} | ||
+ | |then=on [[{{{accessmonth}}} {{{accessyear}}}]] | ||
+ | |else=during [[{{{accessyear}}}]] | ||
}} | }} | ||
}} | }} | ||
− | }}.{{ | + | }}.{{qif |
− | }}</cite | + | |test={{{quote|}}} |
+ | |then= "{{{quote}}}" | ||
+ | }}</cite><noinclude> | ||
+ | |||
+ | |||
+ | This template replaces the deprecated {{tl|book reference}}. | ||
+ | {{esoteric}} | ||
+ | [[Category:Citation templates|{{PAGENAME}}]] | ||
+ | |||
+ | [[sk:Šablóna:Knižná_referencia]] | ||
+ | </noinclude> |
Revision as of 01:01, 6 July 2008
{{{title}}}.
This template replaces the deprecated {{book reference}}.
Template:esoteric