- 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:Archiveorg: Difference between revisions
Jump to navigation
Jump to search
imported>CrackRabbit |
imported>RkNAME Update docs |
||
(19 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{ws|Wayback Machine Favicon.jpg|https://archive.org/details/{{{1}}}|{{{2|(archive.org)}}}}}</includeonly> | ||
<noinclude>This template is for creating link backups using [https://archive.org/details/ archive.org/details]. Simply use the part of the link after the last backslash like so <nowiki>{{ | <noinclude>This template is for creating link backups using [https://archive.org/details/ archive.org/details]. Simply use the part of the link after the last backslash like so <nowiki>{{archiveorg|foo}}</nowiki>. Simple, eh? | ||
==Syntax== | ==Syntax== | ||
'''<nowiki>{{ | '''<nowiki>{{archiveorg|ID|Text}}</nowiki>''' | ||
# '''ID''' - | # '''ID''' - The last portion of the URL to a archive.org/details page, after the slash | ||
# '''Text''' - (Optional) The text to display, defaults to '''(archive.org)''' if unspecified | |||
<br /> | <br /> | ||
Line 10: | Line 11: | ||
==Example== | ==Example== | ||
<nowiki>{{ | <nowiki>{{archiveorg|example}} | ||
{{archiveorg|example|Example Archive}}</nowiki> | |||
produces:<br /> | produces:<br /> | ||
{{ | *{{archiveorg|example}} | ||
*{{archiveorg|example|Example Archive}} | |||
[[Category:Link Templates|{{PAGENAME}}]]</noinclude> | [[Category:Link Templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 03:14, 21 April 2024
This template is for creating link backups using archive.org/details. Simply use the part of the link after the last backslash like so {{archiveorg|foo}}. Simple, eh?
Syntax
{{archiveorg|ID|Text}}
- ID - The last portion of the URL to a archive.org/details page, after the slash
- Text - (Optional) The text to display, defaults to (archive.org) if unspecified
Note: remember to remove all whitespaces and put everything in one line, otherwise it might get broken.
Example
{{archiveorg|example}} {{archiveorg|example|Example Archive}}
produces: