Template:Cite book: Difference between revisions

From All Skies Encyclopaedia
imported>Gracefool
updated from devel
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
 
(170 intermediate revisions by 76 users not shown)
Line 1: Line 1:
<cite class="book" style="font-style:normal">{{qif
<includeonly>{{#invoke:citation/CS1|citation
  |test={{{author|{{{authorlast|}}}}}}
|CitationClass=book
  |then={{qif
}}</includeonly><noinclude>
    |test={{{authorlink|}}}
{{documentation}}
    |then={{wikilink
{{collapse top|TemplateData}}
      |1={{{authorlink}}}
{{Cite book/TemplateData}}
      |2={{qif
{{collapse bottom}}
        |test={{{authorlast|}}}
        |then={{{authorlast}}}{{qif
          |test={{{authorfirst|}}}
          |then=, {{{authorfirst}}}
        }}
        |else={{{author}}}
      }}
    }}
    |else={{qif
      |test={{{authorlast|}}}
      |then={{{authorlast}}}{{qif
        |test={{{authorfirst|}}}
        |then=, {{{authorfirst}}}
      }}
      |else={{{author}}}
    }}
  }}
}}{{qif
  |test={{{author|{{{authorlast|}}}}}}
  |then={{qif
    |test={{{author2|}}}
    |then={{qif
      |test={{{author3|}}}
      |then=,&#32;
      |else=&#32;&amp;&#32;
    }}
  }}
}}{{qif
  |test={{{author|{{{authorlast|}}}}}}
  |then={{qif
    |test={{{author2link|}}}
    |then={{wikilink
      |1={{{author2link}}}
      |2={{qif
        |test={{{author2|}}}
        |then={{{author2}}}
      }}
    }}
    |else={{{author2|}}}
  }}{{qif
    |test={{{author2|}}}
    |then={{qif
      |test={{{author3|}}}
      |then={{qif
        |test={{{author4|}}}
        |then=,&#32;
        |else=&#32;&amp;&#32;
      }}
    }}
  }}{{qif
    |test={{{author3link|}}}
    |then={{wikilink
      |1={{{author3link}}}
      |2={{qif
        |test={{{author3|}}}
        |then={{{author3}}}
      }}
    }}
    |else={{{author3|}}}
  }}{{qif
    |test={{{author2|}}}
    |then={{qif
      |test={{{author3|}}}
      |then={{qif
        |test={{{author4|}}}
        |then={{qif
          |test={{{author5|}}}
          |then=,&#32;
          |else=&#32;&amp;&#32;
        }}
      }}
    }}
  }}{{qif
    |test={{{author4link|}}}
    |then={{wikilink
      |1={{{author4link}}}
      |2={{qif
        |test={{{author4|}}}
        |then={{{author4}}}
      }}
    }}
    |else={{{author4|}}}
  }}{{qif
    |test={{{author2|}}}
    |then={{qif
      |test={{{author3|}}}
      |then={{qif
        |test={{{author4|}}}
        |then={{qif
          |test={{{author5|}}}
          |then=&#32;&amp;&#32;
        }}
      }}
    }}
  }}{{qif
    |test={{{author5link|}}}
    |then={{wikilink
      |1={{{author5link}}}
      |2={{qif
        |test={{{author5|}}}
        |then={{{author5}}}
      }}
    }}
    |else={{{author5|}}}
  }}
}}{{qif
  |test={{{date|}}}
  |then=&#32;({{{date}}})
  |else={{qif
    |test={{{year|}}}
    |then={{qif
      |test={{{month|}}}
      |then=&#32;({{{month}}} {{{year}}})
      |else=&#32;({{{year}}})
    }}
  }}
}}{{qif
  |test={{{authorlast|{{{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.