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

From blackwiki
Jump to navigation Jump to search
imported>LibraryGeek
m (Undid revision 875082344 by LibraryGeek (talk) Will use Category:Internet Archive templates instead.)
imported>Zyxw
(add actual examples)
Line 28: Line 28:
 
* {{Internet Archive|id=ID|name=NAME|page=PAGE}}
 
* {{Internet Archive|id=ID|name=NAME|page=PAGE}}
 
* {{Internet Archive|ID|NAME|PAGE}}
 
* {{Internet Archive|ID|NAME|PAGE}}
 +
 +
== Examples ==
 +
{{nowiki template demo|code=<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|alicesadventures19002gut|Alice's Adventures Under Ground}}</nowiki>}}
 +
{{nowiki template demo|code=<nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|handbuchderdrog02buchgoog|Handbuch der Drogisten-praxis|337}}</nowiki>}}
  
 
== Tracking categories ==
 
== Tracking categories ==

Revision as of 04:25, 25 January 2019

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

Examples

Template:Nowiki template demo Template:Nowiki template demo

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