Template:Cite book: Difference between revisions

From All Skies Encyclopaedia
imported>Ligulem
Removing id attribute of <cite> tag. See talk
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
 
(168 intermediate revisions by 76 users not shown)
Line 1: Line 1:
<cite style="font-style:normal">{{qif
<includeonly>{{#invoke:citation/CS1|citation
  |test={{{authorlink|}}}
|CitationClass=book
  |then={{wikilink
}}</includeonly><noinclude>
    |1={{{authorlink}}}
{{documentation}}
    |2={{qif
{{collapse top|TemplateData}}
      |test={{{author|}}}
{{Cite book/TemplateData}}
      |then={{{author}}}
{{collapse bottom}}
      |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=&#32;({{{date}}})
  |else={{qif
    |test={{{year|}}}
    |then={{qif
      |test={{{month|}}}
      |then=&#32;({{{month}}} {{{year}}})
      |else=&#32;({{{year}}})
    }}
  }}
}}{{qif
  |test={{{author|{{{last|{{{year|}}}}}}}}}
  |then=.
}}{{qif
  |test={{{chapter|}}}
  |then=&#32;"{{qif
  |test={{{chapterurl|}}}
  |then=[{{{chapterurl}}} {{{chapter}}}]
  |else={{{chapter}}}
}}"}}{{qif
  |test={{{editor|}}}
  |then=&#32;{{{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=&#32;({{{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}}}:&#32;
  }}{{{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><noinclude>
 
 
This template replaces the deprecated {{tl|book reference}}.
{{esoteric}}
[[Category:Citation templates|{{PAGENAME}}]]
[[sk:Šablóna:Knižná_referencia]]
</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.