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

From blackwiki
Jump to navigation Jump to search
imported>Mathematics & Geometry
imported>Bokkibear
(Expand documentation in line with Template:Internet Archive film)
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 [[Internet Archive|IA]] collection.
+
 
 +
This template generates an external link to an 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>{{</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>
  
:::<code><nowiki>{{Internet Archive collection|id=|name=}}</nowiki></code>
+
# <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": true,
 +
"aliases": [ "2" ]
 +
}
 +
}
 +
}
 +
</templatedata>
  
 +
== See also ==
 +
* {{tl|Internet Archive film}} for films
 +
* {{tl|Internet Archive film clip}} for shorter films
 +
* {{tl|Internet Archive game}} for playable games
 +
* {{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>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 +
<!--Categories below this line, please; interwikis at Wikidata-->
 +
{{DEFAULTSORT:Internet Archive collection}}
 +
[[Category:Internet Archive templates|collection]]
 +
}}</includeonly>

Revision as of 14:21, 7 January 2015

This template generates an external link to an 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

  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.

Stringrequired

See also