Difference between revisions of "Template:Wayback"

From Dharmawiki
Jump to navigation Jump to search
m (1 revision imported)
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#switch:x{{#if:{{{2|{{{title|}}}}}}|t}}{{#iferror:{{#time:U|{{{date|*}}}}}||d}}
+
<includeonly>{{#invoke:Wayback|wayback}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Articles with Wayback Machine links]]|}}</includeonly>{{Tfm/dated|page=Wayback|otherpage=webarchive|link=Wikipedia:Templates for discussion/Log/2016 October 24#Web archive templates|type=inline|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}<noinclude>
|xd=[https://web.archive.org/web/{{{date|*}}}/{{{1|{{{site|{{{url}}}}}}}}} Archived] {{#time:{{#ifeq:{{yesno|{{{df|}}}}}|yes|j F Y|F j, Y,}}|{{{date|*}}}}} at the [[Wayback Machine]].
 
|x|xt|xtd|#default=[https://web.archive.org/web/{{{date|*}}}/{{{1|{{{site|{{{url}}}}}}}}} {{{2|{{{title|Archive copy}}}}}}] at the [[Wayback Machine]]{{#iferror:&#32;(archived {{#time:{{#ifeq:{{yesno|{{{df|}}}}}|yes|j F Y|F j, Y}}|{{{date|*}}}}})}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Articles with Wayback Machine links]]|}}
 
}}<noinclude>
 
  
 
{{documentation}}
 
{{documentation}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 
</noinclude>

Latest revision as of 12:32, 30 October 2016

Lua error in mw.lua at line 307: frame:expandTemplate: a title is required.