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

From blackwiki
Jump to navigation Jump to search
imported>Bokkibear
m (Added examples of use with only one parameter)
imported>Bokkibear
m (Updated templatedata - name parameter is not required)
Line 41: Line 41:
 
"description": "Collection name as displayed as the link text.",
 
"description": "Collection name as displayed as the link text.",
 
"type": "string",
 
"type": "string",
                         "required": true,
+
                         "required": false,
 
"aliases": [ "2" ]
 
"aliases": [ "2" ]
 
}
 
}

Revision as of 14:26, 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

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