Difference between revisions of "Template:Internet Archive short film"

From blackwiki
Jump to navigation Jump to search
imported>Bokkibear
(Allow usage of numbered parameters and remove extraneous "more" link)
imported>Bokkibear
(Fix issue where whitespace was not trimmed from the parameters)
 
Line 1: Line 1:
<includeonly>{{#if:{{{1|{{{id|}}}}}}||<span class="error">ERROR: missing "id" →</span>}}</includeonly>The short film ''[https://archive.org/details/{{{1|{{{id}}}}}} {{{2|{{{name|{{PAGENAME}}}}}}}}]'' is available for free download at the [[Internet Archive]]<noinclude>
+
<includeonly>{{#if:{{{1|{{{id|}}}}}}||<span class="error">ERROR: missing "id" →</span>}}</includeonly>The short film ''[https://archive.org/details/{{Trim|{{{1|{{{id}}}}}}}} {{Trim|{{{2|{{{name|{{PAGENAME}}}}}}}}}}]'' is available for free download at the [[Internet Archive]]<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
 
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS -->
 
</noinclude>
 
</noinclude>

Latest revision as of 13:40, 9 January 2015

The short film Internet Archive short film is available for free download at the Internet Archive

Template documentation[view] [edit] [history] [purge]

Template:Wikidata property

Using this template when linking externally to short films (usually 40 minutes or less including credits) that are available for free download at the Internet Archive allows for easy listing by "what links here" in the toolbox.

Usage

One parameter:

{{Internet Archive short film | ID }}
{{Internet Archive short film | id= ID }}

Two parameters:

{{Internet Archive short film | ID | NAME }}
{{Internet Archive short film | id= ID | name= NAME }}

Examples

https://archive.org/details/gov.archives.arc.2569725

One parameter:

  1. {{Internet Archive short film | gov.archives.arc.2569725 }}
    The short film Internet Archive short film is available for free download at the Internet Archive
  2. {{Internet Archive short film | id= gov.archives.arc.2569725 }}
    The short film Internet Archive short film is available for free download at the Internet Archive

Two parameters:

  1. {{Internet Archive short film | gov.archives.arc.2569725 | The General George S. Patton Story }}
    The short film The General George S. Patton Story is available for free download at the Internet Archive
  2. {{Internet Archive short film | id= gov.archives.arc.2569725 |name= The General George S. Patton Story }}
    The short film The General George S. Patton Story is available for free download 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 short film

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

Film name displayed as the link text.

Stringoptional

See also