Template:StarTrek.com link/doc

From Hârn
Jump to navigation Jump to search

Template:StarTrek.com link displays an external link to a Star Trek episode page at StarTrek.com.

Usage[edit source]

Two parameters (uses the Wikipedia article title as the link text):

{{StarTrek.com link | series | episode }}

Three parameters:

{{StarTrek.com link | series | episode | name }}

Template data[edit source]

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

TemplateData for StarTrek.com link

This template displays an external link to a Star Trek episode page at StarTrek.com.

Template parameters

ParameterDescriptionTypeStatus
Series1

String used in the URL to identify the Star Trek series. Valid values include: TOS, ANI, TNG, DS9, VOY, and ENT.

Stringrequired
Episode2

Number used in the URL to identify the Star Trek episode.

Numberrequired
Name3

Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

Stringoptional

Series abbreviations and episode lists[edit source]

Examples[edit source]

The following examples show a link to the StarTrek.com page for "Future Imperfect" (Star Trek: The Next Generation):

http://www.startrek.com/startrek/view/library/episodes/TNG/detail/68470.html

Two parameters[edit source]

Usage:

{{StarTrek.com link | TNG | 68470 }}

Results:

Three parameters[edit source]

Usage:

{{StarTrek.com link | TNG | 68470 | Future Imperfect }}

Results:

See also[edit source]