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>CrackRabbit
Reverted edits by Kitbogal (talk) to last revision by MarioMario456
imported>RkNAME
Update docs
 
(45 intermediate revisions by 5 users not shown)
Line 2: Line 2:


==Syntax==
==Syntax==
  '''<nowiki>{{ archive | ID }}</nowiki>'''
  '''<nowiki>{{ archive | 1 | 2 }}</nowiki>'''
# '''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: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: