Vorlage:Internetquelle: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Andrer (Diskussion | Beiträge) (Quelle https://de.wikipedia.org/w/index.php?title=Vorlage:Internetquelle/Doku&oldid=202314334) |
Andrer (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
− | < | + | <onlyinclude><includeonly><span class="cite"><!-- |
− | + | --><!-- | |
− | + | -->{{#if:{{{archiv-datum|}}}|{{#iferror: {{FormatDate|{{{archiv-datum}}}}}|<span style="visibility: hidden;display:none;">[[Vorlage:Internetquelle/Wartung/Archivdatum nicht im ISO-Format|<nowiki />]]</span> |}}}}<!-- | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | -->{{#if:{{{autor|}}}|{{{autor}}}<nowiki />: }}<!-- | |
− | + | -->{{#if:{{{archiv-url|}}}<!-- | |
− | + | -->|{{#if:{{{titel|}}}|<!-- | |
+ | -->[{{#invoke:Vorlage:Internetquelle|archivURL|1={{#invoke:URLutil|getNormalized|1={{{archiv-url}}}}}}} {{#invoke:Vorlage:Internetquelle|TitelFormat|titel={{{titel}}}}}]<!-- | ||
+ | -->{{#if:{{{format|}}}| ({{{format}}})}}<!-- | ||
+ | -->{{#if:{{{titelerg|}}}| {{{titelerg}}}{{#invoke:Vorlage:Internetquelle|Endpunkt|titel={{{titelerg}}}}}}}<!-- | ||
+ | -->}}<!-- | ||
− | + | -->|{{#if:{{{url|}}}|<!-- | |
+ | -->{{#if:{{#invoke:TemplUtl|faculty|{{{offline|}}}}}<!-- | ||
+ | -->|{{#invoke:Vorlage:Internetquelle|TitelFormat|titel={{#invoke:WLink|getEscapedTitle|1={{{titel}}}}}}}<!-- | ||
+ | -->|[{{#invoke:URLutil|getNormalized|1={{{url}}}}} {{#invoke:Vorlage:Internetquelle|TitelFormat|titel={{#invoke:WLink|getEscapedTitle|1={{{titel}}}}}}}]<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if:{{{format|}}}| ({{{format}}}<!-- | ||
+ | -->{{#if:{{{titelerg|}}}{{{offline|}}}{{{werk|}}}{{{hrsg|}}}{{{datum|}}}{{{seiten|}}}{{{archiv-url|}}}{{#if: {{{abruf|{{{zugriff|}}}}}} | {{#if:{{#invoke:TemplUtl|faculty|{{{abruf-verborgen|}}}}}||1}}}} | ||
+ | | ) | ||
+ | | {{#if:{{#ifeq:{{{sprache|de}}}|de||{{#if:{{{sprache|}}}|1}}}}{{{kommentar|}}}| ;  | ||
+ | | )}}}}}}<!-- | ||
− | + | -->{{#if:{{{titelerg|}}}| {{{titelerg}}}{{#invoke:Vorlage:Internetquelle|Endpunkt|titel={{{titelerg}}}}}}}<!-- | |
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if:{{#invoke:TemplUtl|faculty|{{{offline|}}}}}| (Nicht mehr online verfügbar.)}}<!-- | ||
− | == | + | -->{{#if:{{{url|}}}|<!-- |
− | + | -->{{#if:{{#invoke:URLutil|isResourceURL|1={{{url}}}}}||<span class="error useronly" style="display:none"> URL ungültig</span>[[Kategorie:Wikipedia:Vorlagenfehler/Parameter:URL]]}}}}<!-- | |
+ | -->{{#if:{{{titel|}}}|<!-- | ||
+ | -->{{#if:{{#invoke:WLink|isValidLinktext|1={{{titel}}}|lines=0}}||<span class="error Linkwartung" style="display:none"> Linktext ungültig</span>[[Kategorie:Wikipedia:Vorlagenfehler/Parameter:Linktext]]}}}}<!-- | ||
− | + | -->{{#if: {{{werk|}}}| In: <nowiki />{{#invoke:Vorlage:Internetquelle|TitelFormat|titel={{{werk}}}}}}}<!-- | |
− | + | -->{{#if: {{{hrsg|}}}| {{{hrsg}}}<nowiki />{{#if: {{{datum|}}}{{{seiten|}}}{{{archiv-url|}}}|,|{{#if: {{{abruf|{{{zugriff|}}}}}} | {{#if:{{#invoke:TemplUtl|faculty|{{{abruf-verborgen|}}}}}|<span style="display:none">;</span>|,}}}}}}}}<!-- | |
− | + | -->{{#if: {{{datum|}}}|<!-- | |
+ | --> {{#if:{{#invoke:DateTime|format|{{{datum}}}|noerror=1}} | ||
+ | |{{#invoke:DateTime|format|{{{datum}}}|T._Monat JJJJ}} | ||
+ | |{{#invoke:TemplUtl|failure|1=Fehler bei [[Vorlage:Internetquelle]], <code>datum={{{datum}}}</code>|class=Zitationswartung}} [[Kategorie:Wikipedia:Vorlagenfehler/Parameter:Datum]]}}<!-- | ||
+ | -->{{#if: {{{seiten|}}}{{{archiv-url|}}}|,|{{#if: {{{abruf|{{{zugriff|}}}}}} | {{#if:{{#invoke:TemplUtl|faculty|{{{abruf-verborgen|}}}}}|<span style="display:none">;</span>|,}}}}}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if: {{{seiten|}}}|<!-- | ||
+ | --> <span style="white-space:nowrap;">S. {{{seiten}}}</span><!-- | ||
+ | -->{{#if: {{{archiv-url|}}}|,|{{#if: {{{abruf|{{{zugriff|}}}}}} | {{#if:{{#invoke:TemplUtl|faculty|{{{abruf-verborgen|}}}}}|<span style="display:none">;</span>|,}}}}}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if: {{{archiv-url|}}}{{#invoke:TemplUtl|faculty|{{{offline|}}}}}| <!-- | ||
+ | -->{{#if:{{{seiten|}}}{{{datum|}}}{{{hrsg|}}}<!-- | ||
+ | -->|{{#if:{{{archiv-url|}}}|archiviert|ehemals}}<!-- | ||
+ | -->|{{#if:{{{archiv-url|}}}|Archiviert|Ehemals}}<!-- | ||
+ | -->}}<!-- | ||
+ | --> {{#if:{{{archiv-url|}}}|vom|im}}<!-- | ||
+ | --> {{Referrer|url={{{url}}}}}<!-- | ||
+ | -->{{#if: {{{archiv-datum|}}}| am <span style="white-space:nowrap;">{{#iferror: {{FormatDate|{{{archiv-datum}}} }}|{{{archiv-datum}}}{{#if:{{REVISIONID}}|<!-- nix -->|<span class="error">(?)</span>}}}}</span>}}<!-- | ||
+ | -->{{#if: {{{zitat|}}}{{{abruf|{{{zugriff|}}}}}}|<span {{#if:{{#invoke:TemplUtl|faculty|{{{abruf-verborgen|}}}}}|style="display:none"}}>;</span>}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if: {{{abruf|{{{zugriff|}}}}}}|<!-- | ||
+ | --><span class="Abrufdatum" {{#if:{{#invoke:TemplUtl|faculty|{{{abruf-verborgen|}}}}}|style="display:none"}}> <!-- | ||
+ | -->{{#if:{{{seiten|}}}{{{datum|}}}{{{hrsg|}}}{{{archiv-url|}}}{{#invoke:TemplUtl|faculty|{{{offline|}}}}}|abgerufen|Abgerufen}} <!-- | ||
+ | -->{{#switch: {{str len| {{#invoke:DateTime|format| {{{abruf|{{{zugriff}}}}}} |ISO|noerror=1}} }} | ||
+ | |4=im Jahr | ||
+ | |7=im | ||
+ | |10=am | ||
+ | |#default={{#invoke:TemplUtl|failure|1=Fehler bei [[Vorlage:Internetquelle]], <code>abruf={{{abruf|{{{zugriff}}}}}}</code>|class=Zitationswartung}} [[Kategorie:Wikipedia:Vorlagenfehler/Parameter:Datum]]}} {{#invoke:DateTime|format|{{{abruf|{{{zugriff}}}}}}|T._Monat JJJJ}}<!-- | ||
+ | --></span> | ||
+ | | {{#invoke:TemplUtl|failure|1=[[Vorlage:Internetquelle]] | <code>abruf=</code>{{CURRENTYEAR}}-MM-TT ist Pflichtparameter}} <span class="error editoronly" style="display:none">[[Vorlage:Internetquelle]] | <code>abruf=</code>{{CURRENTYEAR}}-MM-TT ist Pflichtparameter</span>}}<!-- | ||
− | + | -->{{#if:{{#ifeq:{{{sprache|de}}}|de||{{#if:{{{sprache|}}}|1}}}}{{{kommentar|}}}|<!-- | |
+ | -->{{#if:{{{titelerg|}}}{{{offline|}}}{{{werk|}}}{{{hrsg|}}}{{{datum|}}}{{{seiten|}}}{{{archiv-url|}}}{{#if: {{{abruf|{{{zugriff|}}}}}} | {{#if:{{#invoke:TemplUtl|faculty|{{{abruf-verborgen|}}}}}||1}}}} | ||
+ | |  ( | ||
+ | | {{#if:{{{format|}}} | |  (}} | ||
+ | }}<!-- | ||
− | + | -->{{#ifeq:{{#if:{{{sprache|de}}}|{{{sprache|de}}}|de}}|de|| | |
+ | {{#invoke:Multilingual|format|{{{sprache}}}|slang=!|split=[%s,]+|shift=m|separator=, }}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if: {{{kommentar|}}}|<!-- | ||
+ | -->{{#ifeq:{{#if:{{{sprache|de}}}|{{{sprache|de}}}|de}}|de||, }}<!-- | ||
+ | -->{{{kommentar}}}}}<!-- | ||
+ | -->)<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if: {{{datum|}}}{{{seiten|}}}{{{archiv-url|}}}{{#if: {{{abruf|{{{zugriff|}}}}}} | {{#if:{{#invoke:TemplUtl|faculty|{{{abruf-verborgen|}}}}}||1}} }}{{{sprache|}}}{{{kommentar|}}}{{{zitat|}}}|<!-- | ||
+ | -->{{#if: {{{zitat|}}}|<!-- | ||
+ | -->: {{"{{#if: {{#invoke:TemplUtl|faculty|{{{CH|}}}}}|-de-CH}}|{{{zitat}}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->|<!-- | ||
+ | -->.{{#if:{{#invoke:TemplUtl|faculty|{{{offline|}}}}}|{{#if:{{{archiv-url|}}}||{{#ifeq: {{{offline|}}} | JaKeinHinweis |{{Toter Link|url={{{url}}}|checked=ausgeblendet|botlauf=deadurl}}|{{Toter Link|url={{{url}}}|archivebot={{{archiv-bot|}}}}} }}}}}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- | ||
+ | --></span><!-- | ||
+ | -->{{#if:{{{archiv-bot|}}}| | ||
+ | {{#invoke:Vorlage:Internetquelle|archivBot|stamp={{{archiv-bot}}}|text={{#if:{{{archiv-url|}}}|{{Webarchiv/archiv-bot|url={{{url}}}|archiv-bot={{{archiv-bot|}}}}}}} | ||
+ | }}}}<!-- | ||
+ | --><span style="display: none;" class="Z3988" title="ctx_ver=Z39.88-2004<!-- | ||
+ | -->&rft_val_fmt={{urlencode:info:ofi/fmt:kev:mtx:dc}}<!-- | ||
+ | -->&rfr_id={{urlencode:info:sid/de.wikipedia.org:{{FULLPAGENAME}}}}<!-- | ||
+ | -->&rft.title={{urlencode:{{{titel}}}}}<!-- | ||
+ | -->&rft.description={{urlencode:{{{titel}}}}}<!-- | ||
+ | -->&rft.identifier={{urlencode:{{{archiv-url|{{{url}}}}}}}}<!-- | ||
+ | -->{{#if:{{{autor|}}} | &rft.creator={{urlencode:{{{autor}}}}} }}<!-- | ||
+ | -->{{#if:{{{hrsg|}}} | &rft.publisher={{urlencode:{{{hrsg}}}}} }}<!-- | ||
+ | -->{{#iferror:{{#expr:{{{datum}}}}} || &rft.date={{{datum}}} }}<!-- | ||
+ | -->{{#if:{{{archiv-url|}}} | &rft.source={{{url}}} }}<!-- | ||
+ | -->{{#if:{{{sprache|}}} | &rft.language={{{sprache}}} }}<!-- | ||
+ | -->"> </span></includeonly><!-- | ||
− | + | Parameterwartung | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | --><includeonly>{{#invoke:TemplatePar|check | |
+ | |all= url= titel= | ||
+ | |opt= autor= hrsg= format= sprache= titelerg= werk= seiten= datum= abruf= zugriff= abruf-verborgen= archiv-url= archiv-datum= archiv-bot= kommentar= zitat= AT= CH= offline= | ||
+ | |cat= {{#ifeq: {{NAMESPACENUMBER}} | 0 | Wikipedia:Vorlagenfehler/Vorlage:Internetquelle}} | ||
+ | |template= [[Vorlage:Internetquelle]] | ||
+ | |format=0 | ||
+ | |preview=1 | ||
+ | }}</includeonly></onlyinclude> | ||
− | + | Ein Dokumentation der Vorlage ist in der deutschen [https://de.wikipedia.org/wiki/Vorlage:Internetquelle Wikipedia] zu finden. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Aktuelle Version vom 18. September 2020, 14:21 Uhr
Ein Dokumentation der Vorlage ist in der deutschen Wikipedia zu finden.