Vorlage:Webarchiv: Unterschied zwischen den Versionen

Aus HomoWiki
Zur Navigation springen Zur Suche springen
(Änderung 89967849 von Atamari wurde rückgängig gemacht. das ist wohl nicht der Fehler)
(Spielerei)
Zeile 1: Zeile 1:
<includeonly>{{#if: {{{1|}}}|[http://web.archive.org/web/{{{1}}}/{{{2}}} {{{3|{{{2}}}}}}]|
+
<includeonly>{{#if: {{{1|}}}
{{#if: {{{wayback|}}}|[http://replay.web.archive.org/{{{wayback}}}/{{{url}}} {{{text|{{{url}}} (Archivversion)}}}]|
+
| [http://web.archive.org/web/{{{1}}}/{{{2}}} {{{3|{{{2}}}}}}]
{{#if: {{{webciteID|}}}|[http://www.webcitation.org/{{{webciteID|}}} {{{text|{{{url}}} (Archivversion)}}}]|
+
| {{#if: {{{wayback|}}}
Bitte entweder ''wayback''- oder ''WebciteID''-Parameter angeben}}}}}}</includeonly><noinclude>
+
  | [http://replay.web.archive.org/{{{wayback}}}/{{{url}}} {{{text|{{{url}}} (Archivversion {{#iferror: {{#ifexpr: {{{wayback}}}>10000
 +
    | vom {{Datum
 +
    | {{#expr:{{padleft:|8|{{{wayback}}}}} mod 100}}
 +
    | {{#expr:{{padleft:|6|{{{wayback}}}}} mod 100}}
 +
    | {{padleft:|4|{{{wayback}}}}}
 +
    }}
 +
    | von {{#expr:{{{wayback}}}}}
 +
  }}
 +
  | <span class="error">Der Parameter <code>wayback</code> muss eine Zahl sein!</span>
 +
  }})}}}]
 +
  | {{#if: {{{webciteID|}}}
 +
  | [http://www.webcitation.org/{{{webciteID|}}} {{{text|{{{url}}} (Archivversion)}}}]
 +
  | <span class="error">Bitte entweder ''wayback''- oder ''WebciteID''-Parameter angeben</span>
 +
  }}
 +
}}
 +
}}</includeonly><noinclude>
 
{{Dokumentation}}</noinclude>
 
{{Dokumentation}}</noinclude>

Version vom 1. November 2011, 23:04 Uhr