Vorlage:Cite web: Unterschied zwischen den Versionen

Aus Android Wiki
Keine Bearbeitungszusammenfassung
K (1 Version importiert)
 
(11 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
<includeonly>{{
<includeonly>{{#invoke:citation/CS1|citation
#if: {{#if: {{{url|}}} | {{#if: {{{title|}}} |1}}}}
|CitationClass=web
  ||Fehler beim Aufruf der [[Vorlage:cite web]]: Die Parameter '''url''' und '''title''' müssen vorhanden sein.
}}{{
#if: {{{archiveurl|}}}{{{archivedate|}}}
  | {{#if: {{#if: {{{archiveurl|}}}| {{#if: {{{archivedate|}}} |1}}}}
    ||Fehler beim Aufruf der [[Vorlage:cite web]]: Die Parameter '''archiveurl''' und '''archivedate''' müssen beide vorhanden sein oder müssen beide fehlen.
  }}
}}{{#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|}}}
    | {{#if: {{{archiveurl|}}} | {{#if: {{{title|}}} | <cite>[{{{archiveurl}}} {{{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|}}}
  | &#32;In: <cite>{{{work}}}</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;[http://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]]: [http://www.pubmedcentral.gov/articlerender.fcgi?tool=pmcentrez&artid={{{pmc}}} {{{pmc}}}].
}}{{#if: {{{arxiv|}}}
  | &#32;{{arxiv|{{{arxiv}}}}}.
}}{{#if: {{{archivedate|}}}
  | &#32;Archiviert vom [{{{url}}} Original] am {{#iferror: {{FormatDate|{{{archivedate}}} }} | {{{archivedate}}} }}.
}}{{#if: {{{accessdate|}}}
  | &#32;Abgerufen am {{#iferror: {{FormatDate|{{{accessdate}}} }} | {{{accessdate}}} }}{{#if: {{{quote|}}}||.}}
}}{{#if: {{{quote|}}}
  | &#58;&nbsp;„{{{quote}}}“
}}{{#if:{{{accessdate|}}}||[[Kategorie:Wikipedia:Fehlender Parameter accessdate in Vorlage Cite web]]
}}{{#if:{{Boolandnot|{{{offline|}}}|{{{archiveurl|}}}}}|{{Dead link|url={{{url}}}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
# Diese Vorlage wird verwendet, um in der DroidWiki (ebenso in der Wikipedia) Einzelnachweise zu formatieren, bei denen es sich um Weblinks handelt.
{{documentation}}
# Als Parameterwert für andere Vorlagen, wie z.&nbsp;B. Infoboxen, ist sie schlecht geeignet, da sie die Übersicht im Quelltext sehr verschlechtert. Hier sollte nach Möglichkeit ein einfacher externer Link benutzt werden, insbesondere bei Websites, die als dauerhaft betrachtet werden können. Auf jeden Fall sollten leere Parameter ganz weggelassen werden.
 
== Verwendung ==
'''Verwendung von last (Nachname), first (Vorname)'''
 
'''Horizontales Layout'''
 
<span style="white-space:normal"><nowiki>{{</nowiki>cite web | url= | title= | accessdate={{LOKALES_JAHR}}-{{LOKALER_MONAT}}-{{LOKALER_KALENDERTAG_2}} | last= | first= | authorlink= | coauthors= | date= | format= | work= | publisher= | pages= | language= | archiveurl= | archivedate= | quote= | offline = <nowiki>}}</nowiki></span>
 
Folgende Form bitte im Fließtext (Einzelnachweise) nicht benutzen, weil es den Wikitext recht sperrig macht:
 
'''Vertikales Layout'''
 
<nowiki>{{</nowiki>cite web
| url        =
| title      =
| accessdate  = {{LOKALES_JAHR}}-{{LOKALER_MONAT}}-{{LOKALER_KALENDERTAG_2}}
| last        =
| first      =
| authorlink  =
| coauthors  =
| date        =
| format      =
| work        =
| publisher  =
| pages      =
| language    =
| archiveurl  =
| archivedate =
| quote      =
| offline    =
<nowiki>}}</nowiki>
 
'''Verwendung von author (Autor)'''
 
'''Horizontales Layout'''
<nowiki>{{</nowiki>cite web | url= | title= | accessdate={{LOKALES_JAHR}}-{{LOKALER_MONAT}}-{{LOKALER_KALENDERTAG_2}} | author= | authorlink= | coauthors= | date= | format=
| work= | publisher= | pages= | language= | archiveurl= | archivedate= | quote= <nowiki>}}</nowiki>
 
 
Folgende Form bitte im Fließtext (Einzelnachweise) nicht benutzen, weil es den Wikitext recht sperrig macht:
 
'''Vertikales Layout'''
<nowiki>{{</nowiki>cite web
| url        =
| title      =
| accessdate  = {{LOKALES_JAHR}}-{{LOKALER_MONAT}}-{{LOKALER_KALENDERTAG_2}}
| author      =
| authorlink  =
| coauthors  =
| date        =
| format      =
| work        =
| publisher  =
| pages      =
| language    =
| archiveurl  =
| archivedate =
| quote      =
| offline    =
<nowiki>}}</nowiki>
 
=== Pflichtparameter ===
* '''url''': URL der Webseite.
* '''title''': Titel der Webseite.
* '''accessdate''': Volles Datum, an dem die Webseite gefunden wurde. Aus Gründen der internationalen Kompatiblität sollte die Angabe im ISO-Format ''YYYY-MM-DD'' (zum Beispiel "accessdate = 2006-02-17") erfolgen. Die Vorlage wandelt dies gem. [https://de.wikipedia.org/wiki/Wikipedia:Datumskonventionen Wikipedia Datumskonventionen] um.
 
=== Optionale Parameter ===
* '''author''': Autor
** '''last''' produziert zusammen mit '''first''' <code>Vorname Nachname</code>
** '''last2''' produziert zusammen mit '''first2''' <code>Vorname Nachname</code>, der an den mit ''last'' und ''first'' erzeugten Autorennamen mit Schrägstrich angeschlossen wird.
** '''authorlink''' produziert mit '''author''' oder mit '''last''' & '''first''' einen Link zum Wikipedia-Artikel des Autoren. Funktioniert nicht mit URLs.
** '''coauthors''': weitere Autoren
* '''date''': Datum der Veröffentlichung in der ISO-Form.
* '''format''': Format mit Semikolon abgetrent die Größe, z.&nbsp;B. PDF; 2,0 MB. Es wird HTML angenommen, wenn hier nichts angegeben wird.
* '''work''': Wenn die Webseite Teil eines größeren Werkes ist: Name des Werkes.
* '''publisher''': Herausgebende Körperschaft, wenn vorhanden – z.&nbsp;B. wenn die Webseite von einer staatlichen Anstalt, einer Bildungseinrichtung oder einer Firma betrieben wird
* '''pages''': Seitennummer, wenn es eine gibt, insbesondere für PDF. Hier sollen die für das Zitat relevanten Seiten angegeben werden, nicht die Gesamtseitenzahl des Werkes. Für Texte, in denen es keine Seitennummerierung gibt, kann stattdessen der Parameter '''at''' verwendet werden.
* '''language''': Sprache der Publikation.
* '''archiveurl''': URL der archivierten Version der Webseite (benötigt '''archivedate''').
* '''archivedate''': Datum, an dem die Webseite archiviert wurde in der ISO-Form. (benötigt '''archiveurl''').
* '''quote''': Relevantes Zitat aus der Webseite.
* '''offline''': „offline=yes“  wenn die Seite nicht mehr erreichbar ist. Ist der Link erreichbar hier nichts ausfüllen. (Darf nicht zusammen mit '''archiveurl''' verwendet werden).
 
== Beispiel ==
'''Einige Standardfälle'''
<pre>{{cite web
| author    = John Doe
| title      = My Favorite Things Part II
| publisher  = Open Publishing
| date      = 2005-04-30
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2005-04-30
}}</pre>→ <span style="background:white;">{{cite web
| author    = John Doe
| title      = My Favorite Things Part II
| publisher  = Open Publishing
| date      = 2005-04-30
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2005-04-30
}}</span>
 
<pre>{{cite web
| author    = John Doe
| title      = My Favorite Things Part II
| date      = 2005-04-30
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2005-04-30
}}</pre>→ <span style="background:white;">{{cite web
| author    = John Doe
| title      = My Favorite Things Part II
| date      = 2005-04-30
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2005-04-30
}}</span>
 
<pre>{{cite web
| author    = John Doe
| title      = My Favorite Things Part II
| date      = 2005-04-30
| url        = http://www.example.com/
| accessdate = 2005-06-06
}}</pre>→ <span style="background:white;">{{cite web
| author    = John Doe
| title      = My Favorite Things Part II
| date      = 2005-04-30
| url        = http://www.example.com/
| accessdate = 2005-06-06
}}</span>
 
<pre>{{cite web
| author    = John Doe
| title      = My Favorite Things Part II
| url        = http://www.example.com/
| accessdate = 2005-06-06
}}</pre>→ <span style="background:white;">{{cite web
| author    = John Doe
| title      = My Favorite Things Part II
| url        = http://www.example.com/
| accessdate = 2005-06-06
}}</span>
 
<pre>{{cite web
| title      = My Favorite Things Part II
| url        = http://www.example.com/
| accessdate = 2005-06-06
}}</pre>→ <span style="background:white;">{{cite web
| title      = My Favorite Things Part II
| url        = http://www.example.com/
| accessdate = 2005-06-06
}}</span>
 
<pre>{{cite web
| url        = http://www.nfl.com/fans/
| title      = Digest of Rules
| publisher  = National Football League
| accessdate = 2005-06-06
}}</pre>→ <span style="background:white;">{{cite web
| url        = http://www.nfl.com/fans/
| title      = Digest of Rules
| publisher  = National Football League
| accessdate = 2005-06-06
}}</span>
 
'''Unter Verwendung von format'''
<pre>{{cite web
| title      = List of psychotropic substances under international control
| publisher  = International Narcotics Control Board
| url        = http://www.incb.org/pdf/e/list/green.pdf
| format    = PDF
| accessdate = 2005-06-06
}}</pre>→ <span style="background:white;">{{cite web
| title      = List of psychotropic substances under international control
| publisher  = International Narcotics Control Board
| url        = http://www.incb.org/pdf/e/list/green.pdf
| format    = PDF
| accessdate = 2005-06-06
}}</span>
 
'''Unter Verwendung von language'''
<pre>{{cite web
| author    = Joliet, François
| title      = Honnit soit qui mal y pense
| date      = 2005-04-30
| url        = http://www.example.com/
| accessdate = 2005-06-06
| language  = französisch
}}</pre>→ <span style="background:white;">{{cite web
| author    = Joliet, François
| title      = Honnit soit qui mal y pense
| date      = 2005-04-30
| url        = http://www.example.com/
| accessdate = 2005-06-06
| language  = französisch
}}</span>
 
'''Unter Verwendung von coauthors'''
<pre>{{cite web
| first      = John
| last      = Doe
| coauthors  = Peter Smith, Jim Smythe
| title      = My Favorite Things Part II
| publisher  = Open Publishing
| date      = 2005-04-30
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2006-05-16
}}</pre>→ <span style="background:white;">{{cite web
| first      = John
| last      = Doe
| coauthors  = Peter Smith, Jim Smythe
| title      = My Favorite Things Part II
| publisher  = Open Publishing
| date      = 2005-04-30
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2006-05-16
}}</span>
 
'''Unter Verwendung von first2 und last2'''
<pre>{{cite web
| first      = John
| last      = Doe
| first2    = Peter
| last2      = Smith
| title      = My Favorite Things Part II
| publisher  = Open Publishing
| date      = 2005-04-30
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2006-05-16
}}</pre>→ <span style="background:white;">{{cite web
| first      = John
| last      = Doe
| first2    = Peter
| last2      = Smith
| title      = My Favorite Things Part II
| publisher  = Open Publishing
| date      = 2005-04-30
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2006-05-16
}}</span>
 
'''Ohne Autoren'''
<pre>{{cite web
| title      = My Favorite Things Part II
| publisher  = Open Publishing
| date      = 30. April 2005
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2006-05-16
}}</pre>→ <span style="background:white;">{{cite web
| title      = My Favorite Things Part II
| publisher  = Open Publishing
| date      = 30. April 2005
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2006-05-16
}}</span>
 
'''Ohne Autoren, ohne Herausgeber'''
<pre>{{cite web
| title      = My Favorite Things Part II
| date      = 2005-04-30
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2005-06-06
}}</pre>→ <span style="background:white;">{{cite web
| title      = My Favorite Things Part II
| date      = 2005-04-30
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2005-06-06
}}</span>
 
<pre>{{cite web
| title=My Favorite Things Part II
| date=2005-04-30
| url=http://www.example.com/
| accessdate=2005-06-06
}}</pre>→ <span style="background:white;">{{cite web
| title      = My Favorite Things Part II
| date      = 2005-04-30
| url        = http://www.example.com/
| accessdate = 2005-06-06
}}</span>
 
<pre>{{cite web
| title      = My Favorite Things Part II
| date      = 2005-04-30
| url        = http://www.example.com/
| accessdate = 2005-04-30
}}</pre>→ <span style="background:white;">{{cite web
| title      = My Favorite Things Part II
| date      = 2005-04-30
| url        = http://www.example.com/
| accessdate = 2005-04-30
}}</span>
 
<pre>{{cite web
| title      = List of psychotropic substances under international control
| date      = 2005-04-30
| url        = http://www.incb.org/pdf/e/list/green.pdf
| format    = PDF
| accessdate = 2005-06-06
| language  = griechisch
}}</pre>→ <span style="background:white;">{{cite web
| title      = List of psychotropic substances under international control
| date      = 2005-04-30
| url        = http://www.incb.org/pdf/e/list/green.pdf
| format    = PDF
| accessdate = 2005-06-06
| language  = griechisch
}}</span>
 
'''Unter Verwendung von archiveurl und archivedate, um Webseiten zu referenzieren, die es nicht mehr gibt, die aber auf einer Archivseite zu finden sind.'''
<pre>{{cite web
| title      = List of psychotropic substances under international control
| date        = 2005-04-30
| url        = http://www.incb.org/pdf/e/list/green.pdf
| format      = PDF
| accessdate  = 2005-06-06
| archiveurl  = http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf
| archivedate = 2005-09-11
}}</pre>→ <span style="background:white;">{{cite web
| title      = List of psychotropic substances under international control
| date        = 2005-04-30
| url        = http://www.incb.org/pdf/e/list/green.pdf
| format      = PDF
| accessdate  = 2005-06-06
| archiveurl  = http://www.archive.org/2005-09-11/www.incb.org/pdf/e/list/green.pdf
| archivedate = 2005-09-11
}}</span>
 
<pre>{{cite web
| url        = http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm
| title      = Interview with Maggie Downs
| date        = 2006-03-31
| publisher  = The Desert Sun
| archiveurl  = http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm
| archivedate = 2006-04-26
}}</pre>→ <span style="background:white;">{{cite web
| url        = http://joanjettbadrep.com/cgi-bin/fullStory.cgi?archive=currnews&story=20060405-01shore.htm
| title      = Interview with Maggie Downs
| date        = 2006-03-31
| publisher  = The Desert Sun
| archiveurl  = http://72.14.207.104/search?q=cache:JAxf4v-pQmgJ:joanjettbadrep.com/cgi-bin/fullStory.cgi%3Farchive%3Dcurrnews%26story%3D20060405-01shore.htm
| archivedate = 2006-04-26
}}</span>
 
'''Unter Verwendung von quote'''
<pre>{{cite web
| title      = My Favorite Things Part II
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2005-06-06
| quote      = Lorem ipsum dolor.
}}</pre>→ <span style="background:white;">{{cite web
| title      = My Favorite Things Part II
| work      = Encyclopedia of Things
| url        = http://www.example.com/
| accessdate = 2005-06-06
| quote      = Lorem ipsum dolor.
}}</span>
 
'''Keine Parameter (Fehler)'''
<pre>{{cite web}}</pre>→ <span style="background:white;">{{cite web}}</span>
 
{{Wikipedia|Vorlage:Cite_web}}
</noinclude>
</noinclude>

Aktuelle Version vom 27. Mai 2016, 18:28 Uhr

Interner Lua-Fehler: Der Interpreter beendet sich mit dem Status 127.