Difference between revisions of "Template:Internet Archive/doc"

From blackwiki
Jump to navigation Jump to search
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 AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
 +
{{Wikidata property|P724}}
  
=== Usage ===
+
== 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===
+
== 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 all credits)
+
* {{tl|Internet Archive collection}} for links to a collection of resources
*{{tl|Internet Archive film clip}} for shorter films
+
* {{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 linking to member profiles
+
* {{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}})
  
<includeonly>
+
== TemplateData ==
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[Category:External link templates|{{PAGENAME}}]]
 
[[Category:Internet Archive templates| ]]
 
 
 
[[de:Vorlage:IA]]
 
[[ja:Template:Internet archive]]
 
</includeonly>
 
 
<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

Template:Wikidata property

Usage

For links of the form https://archive.org/details/ID

* {{Internet Archive|id=ID|name=NAME}}
* {{Internet Archive|ID|NAME}}
* {{Internet Archive|ID}}

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}}

Tracking categories

See also

TemplateData

Generates a link to a work at the Internet Archive.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page numberpage

Makes link go to specific page

Example
15
Numberoptional
Internet Archive collection identifierid

ID of the work to be linked to

Example
alicesadventures00carr_12
Stringrequired
Titlename

Title of the work; defaults to article title

Example
Alice's adventures in Wonderland
Stringsuggested