Template:Cite book: Difference between revisions

From All Skies Encyclopaedia
imported>Wwoods
m added a comma after the chapter title [I think].
Sushoff (talk | contribs)
Replaced content with "<includeonly>{{#invoke:citation/CS1|citation |CitationClass=book }}</includeonly><noinclude> {{documentation}} {{collapse top|TemplateData}} {{Cite book/TemplateData}} {{collapse bottom}} </noinclude>"
Tag: Replaced
 
(144 intermediate revisions by 68 users not shown)
Line 1: Line 1:
<cite class="book" style="font-style:normal">{{qif
<includeonly>{{#invoke:citation/CS1|citation
  |test={{{author|{{{last|}}}}}}
|CitationClass=book
  |then={{qif
}}</includeonly><noinclude>
    |test={{{authorlink|}}}
{{documentation}}
    |then=[[{{{authorlink}}}|{{qif
{{collapse top|TemplateData}}
      |test={{{last|}}}
{{Cite book/TemplateData}}
      |then={{{last}}}{{qif
{{collapse bottom}}
        |test={{{first|}}}
        |then=, {{{first}}}
      }}
      |else={{{author}}}
    }}]]
    |else={{qif
      |test={{{last|}}}
      |then={{{last}}}{{qif
        |test={{{first|}}}
        |then=, {{{first}}}
      }}
      |else={{{author}}}
    }}
  }}
}}{{qif
  |test={{{author|{{{last|}}}}}}
  |then={{qif
    |test={{{coauthors|}}}
    |then=<nowiki>;</nowiki>&#32;{{{coauthors}}}
  }}
}}{{qif
  |test={{{origdate|}}}
  |then=&#32;<nowiki>[</nowiki>{{{origdate}}}]
  |else={{qif
    |test={{{origyear|}}}
    |then={{qif
      |test={{{origmonth|}}}
      |then=&#32;<nowiki>[</nowiki>{{{origmonth}}} {{{origyear}}}]
      |else=&#32;<nowiki>[</nowiki>{{{origyear}}}]
    }}
  }}
}}{{qif
  |test={{{date|}}}
  |then=&#32;({{{date}}})
  |else={{qif
    |test={{{year|}}}
    |then={{qif
      |test={{{month|}}}
      |then=&#32;({{{month}}} {{{year}}})
      |else=&#32;({{{year}}})
    }}
  }}
}}{{qif
  |test={{{author|{{{last|}}}}}}
  |then=.
}}{{qif
  |test={{{chapter|}}}
  |then=&#32;“{{qif
  |test={{{chapterurl|}}}
  |then=[{{{chapterurl}}} {{{chapter}}}]
  |else={{{chapter}}}
}}”,}}{{qif
  |test={{{editor|}}}
  |then=&#32;{{{editor}}}
}} ''{{qif
  |test={{{url|}}}
  |then=[{{{url}}} {{{title}}}]
  |else={{{title}}}
}}''{{qif
  |test={{{format|}}}
  |then=&#32;({{{format}}})
}}{{qif
  |test={{{others|}}}
  |then=, {{{others}}}
}}{{qif
  |test={{{edition|}}}
  |then=, {{{edition}}}
}}{{qif
  |test={{{language|}}}
  |then=&#32;(in {{{language}}})
}}{{qif
  |test={{{pages|}}}
  |then=,&#32;{{{pages}}}
}}{{qif
  |test={{{publisher|}}}
  |then=, {{qif
    |test={{{location|}}}
    |then={{{location}}}:&#32;
  }}{{{publisher}}}
}}{{qif
  |test={{{id|}}}
  |then=. {{{id}}}
}}{{qif
  |test={{{accessdate|}}}
  |then=. URL accessed [[{{{accessdate}}}]]
  |else={{qif
    |test={{{accessyear|}}}
    |then=. URL accessed {{qif
      |test={{{accessmonth|}}}
      |then=on [[{{{accessmonth}}} {{{accessyear}}}]]
      |else=during [[{{{accessyear}}}]]
    }}
  }}
}}.{{qif
  |test={{{quote|}}}
  |then=&nbsp;“{{{quote}}}”
}}</cite><noinclude>
 
 
This template replaces the deprecated {{tl|book reference}}.
{{esoteric}}
[[Category:Citation templates|{{PAGENAME}}]]
 
[[ja:Template:Cite book]]
[[no:mal:Kilde bok]]
[[ru:Шаблон:Описание книги]]
[[sk:Šablóna:Knižná referencia]]
[[vi:Tiêu bản:Chú thích sách]]
</noinclude>
</noinclude>

Latest revision as of 11:58, 1 February 2025

Lua error in mw.title.lua at line 230: too many expensive function calls.

  1. Compare archived talk page.