Registration has been disabled and the moderation extension has been turned off.
Contact an admin on Discord or EDF if you want an account. Also fuck bots.

Template:Archive: Difference between revisions

From Encyclopedia Dramatica
Jump to navigation Jump to search
imported>TabbyGarf
No edit summary
imported>RkNAME
Update docs
 
(12 intermediate revisions by 2 users not shown)
Line 2: Line 2:


==Syntax==
==Syntax==
  '''<nowiki>{{ archive | 1 }}</nowiki>'''
  '''<nowiki>{{ archive | 1 | 2 }}</nowiki>'''
* '''1''' - Is the ID the last portion of the URL to a archive.today page, after the slash
* '''1''' - Is the ID the last portion of the URL to an archive.today page, after the slash
* '''2''' - (Optional) The text to display, defaults to '''(archive)''' if unspecified


<br />
<br />
Line 9: Line 10:


==Example==
==Example==
  <nowiki>{{archive|example}}</nowiki>
  <nowiki>{{archive|example}}
{{archive|example|Example link}}</nowiki>
produces:<br />
produces:<br />
{{archive|example}}
*{{archive|example}}
*{{archive|example|Example link}}


[[Category:Archive Templates|{{PAGENAME}}]][[Category:Link Templates|{{PAGENAME}}]][[Category:Link Templates|{{PAGENAME}}]]</noinclude>
[[Category:Archive Templates|{{PAGENAME}}]][[Category:Link Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 02:59, 13 April 2024

This template is for creating link backups using archive.today. Simply use the part of the link after the last backslash like so {{archive|foo}}. Simple, eh?

Syntax

{{ archive | 1 | 2 }}
  • 1 - Is the ID the last portion of the URL to an archive.today page, after the slash
  • 2 - (Optional) The text to display, defaults to (archive) if unspecified


Note: remember to remove all whitespaces and put everything in one line, otherwise it might get broken.

Example

{{archive|example}}
{{archive|example|Example link}}

produces: