Difference between revisions of "Template:Internet Archive/doc"
imported>HughLilly (add TemplateData) |
imported>Zyxw (note available Wikidata property, add see also links, misc formatting) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- PLEASE ADD CATEGORIES | + | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> |
| + | {{Wikidata property|P724}} | ||
| − | + | == Usage == | |
For links of the form https://archive.org/details/ID | For links of the form https://archive.org/details/ID | ||
<pre> | <pre> | ||
| Line 31: | Line 32: | ||
* {{clc|Articles using internet archive template with an invalid ID}} | * {{clc|Articles using internet archive template with an invalid ID}} | ||
| − | + | == See also == | |
| − | *{{tl|Internet Archive author}} for works by a person (of any type e.g. author, musician, director) | + | * {{tl|Internet Archive author}} for links to works by a person (of any type e.g. author, musician, director) |
| − | *{{tl|Internet Archive film}} for full-length feature films (usually more than 40 minutes including | + | * {{tl|Internet Archive collection}} for links to a collection of resources |
| − | *{{tl|Internet Archive film clip}} for | + | * {{tl|Internet Archive film}} for links to full-length feature films (usually more than 40 minutes including credits) |
| − | *{{tl|Internet Archive game}} for playable games | + | * {{tl|Internet Archive short film}} for links to short films (usually 40 minutes or less including credits) |
| − | *{{tl|Internet Archive member}} for | + | * {{tl|Internet Archive film clip}} for links to film clips |
| + | * {{tl|Internet Archive game}} for links to playable games | ||
| + | * {{tl|Internet Archive member}} for links to member profiles | ||
| + | * {{tl|Internet Archive music}} for links to live recordings by a specific music group | ||
*{{tl|OL author}} for [[Open Library]], a universal book catalog (see also {{tl|worldcat}}) | *{{tl|OL author}} for [[Open Library]], a universal book catalog (see also {{tl|worldcat}}) | ||
| − | + | == TemplateData == | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 75: | Line 72: | ||
} | } | ||
</templatedata> | </templatedata> | ||
| + | |||
| + | <includeonly> | ||
| + | <!-- CATEGORIES HERE, THANKS --> | ||
| + | [[Category:External link templates|{{PAGENAME}}]] | ||
| + | [[Category:Internet Archive templates| ]] | ||
| + | </includeonly> | ||
Revision as of 14:43, 20 August 2018
| 40px | This is a documentation subpage for Template:Internet Archive. It contains usage information, categories and other content that is not part of the original template page. |
Usage
For links of the form https://archive.org/details/ID
* {{Internet Archive|id=ID|name=NAME}}
* {{Internet Archive|ID|NAME}}
* {{Internet Archive|ID}}
- NAME at the Internet Archive
- NAME at the Internet Archive
- Internet Archive/doc at the Internet Archive
Parameter ID is the Internet Archive collection identifier - e.g., for https://archive.org/details/alicesadventures19002gut the ID is alicesadventures19002gut. This field is required.
Parameter NAME defaults to the page name if omitted, but is useful (to avoid problems if the page is moved later to a title with parentheses, for instance).
This template can be invoked using the {{IA}} shortcut.
Optionally a page number may be specified to deep link into a resource. This will create a link in the form https://archive.org/stream/ID:
* {{Internet Archive|id=ID|name=NAME|page=PAGE}}
* {{Internet Archive|ID|NAME|PAGE}}
- NAME at the Internet Archive
- NAME at the Internet Archive
Tracking categories
See also
- {{Internet Archive author}} for links to works by a person (of any type e.g. author, musician, director)
- {{Internet Archive collection}} for links to a collection of resources
- {{Internet Archive film}} for links to full-length feature films (usually more than 40 minutes including credits)
- {{Internet Archive short film}} for links to short films (usually 40 minutes or less including credits)
- {{Internet Archive film clip}} for links to film clips
- {{Internet Archive game}} for links to playable games
- {{Internet Archive member}} for links to member profiles
- {{Internet Archive music}} for links to live recordings by a specific music group
- {{OL author}} for Open Library, a universal book catalog (see also {{worldcat}})
TemplateData
Generates a link to a work at the Internet Archive.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Page number | page | Makes link go to specific page
| Number | optional |
| Internet Archive collection identifier | id | ID of the work to be linked to
| String | required |
| Title | name | Title of the work; defaults to article title
| String | suggested |