Template:StarTrek.com link/doc
This is a documentation subpage for Template:StarTrek.com link. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 1,400 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
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]
TemplateData for StarTrek.com link
This template displays an external link to a Star Trek episode page at StarTrek.com.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Series | 1 | String used in the URL to identify the Star Trek series. Valid values include: TOS, ANI, TNG, DS9, VOY, and ENT. | String | required |
Episode | 2 | Number used in the URL to identify the Star Trek episode. | Number | required |
Name | 3 | Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | optional |
Series abbreviations and episode lists[edit source]
- TOS for Original Series episodes (Wikipedia and StarTrek.com episode lists)
- ANI for Animated Series episodes (Wikipedia and StarTrek.com episode lists)
- TNG for The Next Generation episodes (Wikipedia and StarTrek.com episode lists)
- DS9 for Deep Space Nine episodes (Wikipedia and StarTrek.com episode lists)
- VOY for Voyager episodes (Wikipedia and StarTrek.com episode lists)
- ENT for Enterprise episodes (Wikipedia and StarTrek.com episode lists)
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]