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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(note available Wikidata property, add see also links, misc formatting)
imported>LibraryGeek
m (Add to WikiProject Libraries categories)
Line 77: Line 77:
 
[[Category:External link templates|{{PAGENAME}}]]
 
[[Category:External link templates|{{PAGENAME}}]]
 
[[Category:Internet Archive templates| ]]
 
[[Category:Internet Archive templates| ]]
 +
[[Category:WikiProject Libraries templates]]
 
</includeonly>
 
</includeonly>

Revision as of 17:38, 23 December 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