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

From blackwiki
Jump to navigation Jump to search
imported>Mathematics & Geometry
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
+
<!--Categories where indicated at the bottom of this page, please; interwikis at Wikidata (see [[Wikipedia:Wikidata]])-->
Using this template when linking externally to an IA collection.
+
{{Wikidata property|P724}}
 +
 
 +
This template generates an external link to a collection of resources at the [[Internet Archive]]. Using the template allows for easy listing by "[[Special:WhatLinksHere/Template:Internet_Archive_game|what links here]]" in the toolbox.
  
 
== Usage ==
 
== Usage ==
  
:::<code><nowiki>{{Internet Archive collection|id=|name=}}</nowiki></code>
+
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' | ''NAME'' }}</code>
 +
: <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | name= ''NAME'' }}</code>
 +
 
 +
== Examples ==
 +
<code><nowiki>https://</nowiki>archive.org/details/{{hilite|simonschwartzman}}</code>
 +
 
 +
One parameter:
 +
# <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | simonschwartzman }}</code>
 +
#: {{{{BASEPAGENAME}} | simonschwartzman }}
 +
# <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |id=simonschwartzman }}</code>
 +
#: {{{{BASEPAGENAME}} |id=simonschwartzman }}
 +
 
 +
Two parameters:
 +
# <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | simonschwartzman | Collected texts of Simon Schwartzman}}</code>
 +
#: {{{{BASEPAGENAME}} | simonschwartzman  | Collected texts of Simon Schwartzman }}
 +
# <code><nowiki>{{</nowiki>{{BASEPAGENAME}} |id=simonschwartzman|name=Collected texts of Simon Schwartzman}}</code>
 +
#: {{{{BASEPAGENAME}} |id=simonschwartzman|name=Collected texts of Simon Schwartzman}}
  
<includeonly>
+
== Template data ==
<!-- Categories go here, and interwikis go in Wikidata -->
+
{{TemplateDataHeader}}
 +
<templatedata>
 +
{
 +
        "description": "This template generates an external link to a full-length feature film available for free download at the Internet Archive.",
 +
"params": {
 +
"id": {
 +
"label": "ID",
 +
"description": "ID string used in the URL.",
 +
"type": "string",
 +
"required": true,
 +
"aliases": [ "1" ]
 +
},
 +
"name": {
 +
"label": "Name",
 +
"description": "Collection name as displayed as the link text.",
 +
"type": "string",
 +
                        "required": false,
 +
"aliases": [ "2" ]
 +
}
 +
}
 +
}
 +
</templatedata>
  
 +
== See also ==
 +
* {{tl|Internet Archive}}
 +
* {{tl|Internet Archive author}} for links to works by a person (of any type e.g. author, musician, director)
 +
* {{tl|Internet Archive film}} for links to full-length feature films (usually more than 40 minutes including credits)
 +
* {{tl|Internet Archive short film}} for links to short films (usually 40 minutes or less including credits)
 +
* {{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 the Internet Archive texts
 +
* {{tl|Wayback}} for the [[Internet_Archive#Wayback_Machine|Wayback Machine]] archive linker
  
[[Category:Internet Archive templates]]
+
<includeonly>{{Sandbox other||
 +
<!--Categories below this line, please; interwikis at Wikidata-->
 +
{{DEFAULTSORT:Internet Archive collection}}
 +
[[Category:Internet Archive templates|collection]]
 +
}}</includeonly>

Latest revision as of 21:58, 25 April 2020

Template:Wikidata property

This template generates an external link to a collection of resources at the Internet Archive. Using the template allows for easy listing by "what links here" in the toolbox.

Usage

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

Examples

https://archive.org/details/simonschwartzman

One parameter:

  1. {{Internet Archive collection | simonschwartzman }}
    The Internet Archive collection/doc collection at the Internet Archive
  2. {{Internet Archive collection |id=simonschwartzman }}
    The Internet Archive collection/doc collection at the Internet Archive

Two parameters:

  1. {{Internet Archive collection | simonschwartzman | Collected texts of Simon Schwartzman}}
    The Collected texts of Simon Schwartzman collection at the Internet Archive
  2. {{Internet Archive collection |id=simonschwartzman|name=Collected texts of Simon Schwartzman}}
    The Collected texts of Simon Schwartzman collection at the Internet Archive

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Internet Archive collection

This template generates an external link to a full-length feature film available for free download at the Internet Archive.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

ID string used in the URL.

Stringrequired
Namename 2

Collection name as displayed as the link text.

Stringoptional

See also