Open main menu

Difference between revisions of "Template:Cite web"

4,415 bytes added ,  09:51, 15 November 2021
Alias "magazine" für "work" ergänzt
en>Anthony Appleyard
m (Protected "Template:Cite web": restore old protection ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite)))
 
en>Queryzo
(Alias "magazine" für "work" ergänzt)
Line 1: Line 1:
<includeonly>{{#invoke:citation/CS1|citation
<includeonly>{{
|CitationClass=web
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
  ||<span class="error">Fehler beim Aufruf der [[Vorlage:cite web]]: Die Parameter '''url''' und '''title''' müssen vorhanden sein.</span>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Kategorie:Wikipedia:Vorlagenfehler/Vorlage:Cite web/Pflichtparameter fehlt]]}}
}}{{
#if: {{{archiveurl|{{{archive-url|}}}}}}{{{archivedate|{{{archive-date|}}}}}}
  | {{#if: {{#if: {{{archiveurl|{{{archive-url|}}}}}}| {{#if: {{{archivedate|{{{archive-date|}}}}}} |1}}}}
    ||<span class="error">Fehler beim Aufruf der [[Vorlage:cite web]]: Die Parameter '''archive-url''' und '''archive-date''' müssen beide vorhanden sein oder müssen beide fehlen.</span>{{#ifeq: {{NAMESPACENUMBER}} | 0 | [[Kategorie:Wikipedia:Vorlagenfehler/Vorlage:Cite web]]}}
  }}
}}{{#if: {{{author|}}}{{{last|}}}{{{last1|}}}
  | {{#if: {{{authorlink|}}}
    | [[{{{authorlink}}}|{{#if: {{{last|}}}
      | {{#if: {{{first|}}} | {{{first}}} }} {{{last}}}
      | {{#if: {{{author|}}} | {{{author}}} | {{#if: {{{first1|}}} | {{{first1}}} }} {{{last1}}} }}
      }}]]
    | {{#if: {{{last|}}}
      | {{#if: {{{first|}}} | {{{first}}} }} {{{last}}}
      | {{#if: {{{author|}}} | {{{author}}} | {{#if: {{{first1|}}} | {{{first1}}} }} {{{last1}}} }}
      }}
    }}
}}{{#if: {{{last2|}}}
  | , {{#if: {{{first2|}}} | {{{first2}}} }} {{{last2}}}
}}{{#if: {{{last3|}}}
  | , {{#if: {{{first3|}}} | {{{first3}}} }} {{{last3}}}
}}{{#if: {{{last4|}}}
  | , {{#if: {{{first4|}}} | {{{first4}}} }} {{{last4}}}
}}{{#if: {{{last5|}}}
  | , {{#if: {{{first5|}}} | {{{first5}}} }} {{{last5}}}
}}{{#if: {{{last6|}}}
  | , {{#if: {{{first6|}}} | {{{first6}}} }} {{{last6}}}
}}{{#if: {{{last7|}}}
  | , {{#if: {{{first7|}}} | {{{first7}}} }} {{{last7}}}
}}{{#if: {{{last8|}}}
  | , {{#if: {{{first8|}}} | {{{first8}}} }} {{{last8}}}
}}{{#if: {{{last8|}}}
  | , et al.
}}{{#if: {{{author|}}}{{{last|}}}{{{last1|}}}
  | {{#if: {{{coauthors|}}}| <nowiki>,</nowiki>&#32;{{{coauthors}}} }}
}}{{#if: {{{last|}}}{{{author|}}}{{{last1|}}}
| &#58;&#32;}}{{#if: {{{archiveurl|{{{archive-url|}}}}}}
    | {{#if: {{{archiveurl|{{{archive-url|}}}}}} | {{#if: {{{title|}}} | <cite>[{{{archiveurl|{{{archive-url|}}}}}} {{{title}}}]</cite> }} }}
    | {{#if: {{{url|}}} | {{#if: {{{title|}}} | <cite>[{{{url}}} {{{title}}}]</cite> }} }}
}}{{#if: {{{language|}}}{{{format|}}}
    |&#32;({{#if: {{{language|}}}|<span style="color:#555; font-size:90%;">{{{language}}}</span>{{#if: {{{format|}}}|,&#32;|}}
      }}{{#if: {{{format|}}}|{{{format|}}}}})
    |{{#if: {{{url|}}} | {{#if: {{{title|}}} |.}}}}
}}{{#if: {{{work|{{{website|{{{magazine|}}}}}}}}}
  | &#32;In: <cite>{{{work|{{{website|{{{magazine|}}}}}}}}}</cite>.
}}{{#if: {{{publisher|}}}
  |&#32;{{{publisher}}}.|
}}{{#if: {{{pages|}}}
  | &#32;S. {{{pages}}}.
  | {{#if: {{{at|}}}
    | &#32;{{{at}}}.}}
}}{{#if: {{{date|}}}
    | &#32;{{#iferror:{{FormatDate|{{{date}}}}}|{{{date}}}}}.
    | {{#if: {{{year|}}}
      | {{#if: {{{month|}}}
        | &#32;{{{month}}} {{{year}}}.
        | &#32;{{{year}}}.
      }}
    }}
}}{{#if: {{{id|}}}
  | &#32;{{{id}}}.
}}{{#if: {{{bibcode|}}}
  | &#32;Bibcode:&nbsp;[https://adsabs.harvard.edu/abs/{{{bibcode}}} {{{bibcode}}}].
}}{{#if: {{{doi|}}}
  | &#32;{{DOI|{{{doi}}}}}.
}}{{#if: {{{pmid|}}}
  | &#32;PMID {{{pmid}}}.
}}{{#if: {{{PMID|}}}
  | &#32;PMID {{{PMID}}}.
}}{{#if: {{{pmc|}}}
  | &#32;Volltext bei [[PubMed Central|PMC]]: [https://www.ncbi.nlm.nih.gov/pmc/articles/PMC{{{pmc}}} {{{pmc}}}].
}}{{#if: {{{arxiv|}}}
  | &#32;{{arXiv|{{{arxiv}}}}}.
}}{{#if: {{{archivedate|{{{archive-date|}}}}}}
  | &#32;Archiviert vom {{Referrer|url={{{url}}}}} am {{#iferror: {{FormatDate|{{{archivedate|{{{archive-date|}}}}}} }} | {{{archivedate|{{{archive-date|}}}}}} }}.<!--
-->{{#if:{{{archivebot|}}}<!--
  -->|{{Webarchiv/archiv-bot<!--
          -->|archiv-bot={{{archivebot|}}}<!--
          -->|url={{{url}}}<!--
          -->}}<!--
  -->}}<!--
  -->}}{{#if: {{{accessdate|{{{access-date|}}}}}}
  | &#32;Abgerufen {{#if:{{Str match|{{{accessdate|{{{access-date|}}}}}}|^%d+%.}}|am|{{#if:{{Str match|{{FormatDate|{{{accessdate|{{{access-date|}}}}}} }}|^%d+%.}}|am|im}}}} {{#iferror: {{FormatDate|{{{accessdate|{{{access-date|}}}}}} }} | {{{accessdate|{{{access-date|}}}}}} }}{{#if: {{{quote|}}}||.}}
}}{{#if: {{{quote|}}}
  | &#58;&nbsp;„{{{quote}}}“
}}{{#if:{{Boolandnot|{{{offline|}}}|{{{archiveurl|{{{archive-url|}}}}}}}}|{{Dead link|url={{{url}}}|archivebot={{{archivebot|}}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
{{documentation}}
{{Dokumentation}}</noinclude>
</noinclude>
Anonymous user