- 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:Archive: Difference between revisions
Jump to navigation
Jump to search
imported>CrackRabbit Reverted edits by Kitbogal (talk) to last revision by MarioMario456 |
imported>RkNAME Update docs |
||
(43 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
==Syntax== | ==Syntax== | ||
'''<nowiki>{{ archive | | '''<nowiki>{{ archive | 1 | 2 }}</nowiki>''' | ||
* '''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: