- Portals
- The Current Year
- ED in the News
- Admins
- Help ED Rebuild
- Archive
- ED Bookmarklet
- Donate Bitcoin
Contact an admin on Discord or EDF if you want an account. Also fuck bots.
Template:Wayback: Difference between revisions
Jump to navigation
Jump to search
imported>TabbyGarf 1 revision imported |
imported>TabbyGarf switching to the more secure protocol |
||
| Line 1: | Line 1: | ||
<includeonly><span class="plainlinks" style="white-space:nowrap;">[[File:Wayback_Machine_Favicon.jpg|link= | <includeonly><span class="plainlinks" style="white-space:nowrap;">[[File:Wayback_Machine_Favicon.jpg|link=https://web.archive.org/web/{{#if:{{{2|}}}|{{{2}}}/{{{1}}}|*/{{{1}}}}}<!-- If {{{2}}} is used, insert "{{{2}}}/{{{1}}}" into the URL; if {{{2}}} isn't used, insert "*/{{{1}}}" into the URL. -->]] '''[https://web.archive.org/web/{{#if:{{{2|}}}|{{{2}}}/{{{1}}}|*/{{{1}}}}}<!-- If {{{2}}} is used, insert "{{{2}}}/{{{1}}}" into the URL; if {{{2}}} isn't used, insert "*/{{{1}}}" into the URL. --> {{#if:{{{title|}}}|{{{title}}}|(Wayback Machine)}}<!-- If {{{title}}} is used, then display "{{{title}}}"; if {{{title}}} isn't used, then display "(Wayback Machine)". -->]'''</span></includeonly><noinclude> | ||
== Usage == | == Usage == | ||
| Line 16: | Line 16: | ||
<pre> | <pre> | ||
{{wayback| | {{wayback|https://www.fuck-neopets.com/}} | ||
{{wayback| | {{wayback|https://www.fuck-neopets.com/|title=Fuck Neopets}} | ||
{{wayback| | {{wayback|https://www.fuck-neopets.com/|20090503084402}} | ||
{{wayback| | {{wayback|https://www.fuck-neopets.com/|20090503084402|title=Fuck Neopets}} | ||
</pre> | </pre> | ||
the results: | the results: | ||
* {{wayback| | * {{wayback|https://www.fuck-neopets.com/}} | ||
* {{wayback| | * {{wayback|https://www.fuck-neopets.com/|title=Fuck Neopets}} | ||
* {{wayback| | * {{wayback|https://www.fuck-neopets.com/|20090503084402}} | ||
* {{wayback| | * {{wayback|https://www.fuck-neopets.com/|20090503084402|title=Fuck Neopets}} | ||
'''Note:''' if there are one or more equal signs in the URL do this: | '''Note:''' if there are one or more equal signs in the URL do this: | ||
Revision as of 19:25, 30 January 2023
Usage
To create links to the Wayback Machine internet archive follow this syntax:
{{ wayback | 1 | 2 | title }}
where:
- 1 = URL
- 2 = YYYYMMDDhhmmss
Note: do not use whitespace immediately before or after vertical bars or curly brackets
Example
{{wayback|https://www.fuck-neopets.com/}}
{{wayback|https://www.fuck-neopets.com/|title=Fuck Neopets}}
{{wayback|https://www.fuck-neopets.com/|20090503084402}}
{{wayback|https://www.fuck-neopets.com/|20090503084402|title=Fuck Neopets}}
the results:
Note: if there are one or more equal signs in the URL do this:
{{wayback|1=URL|2=Date|title=title}}
(or use Template:= in place of the equal signs)