Template:Startrek.com

Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Usage[edit source]

This template is used to link to the StarTrek.com website entries for characters and starships. An initial variable is required giving the end path to the article in question, and a second variable can be used to alter the linking text. The "end path" to the article is the portion of text in the URL following "database_article/".

If no initial variable is given, the link will go to the main StarTrek.com webpage, such as:

{{startrek.com}}

Which would produce:

StarTrek.com, the official Star Trek website

For example, to link to Chang's StarTrek.com article, a page would have a template call such as:

{{startrek.com|chang-general}}

This would produce:

Chang at StarTrek.com, the official Star Trek website

If other link text is desired, such as "General Chang", the following format should be used:

{{startrek.com|chang-general|General Chang}}

This would produce:

General Chang at StarTrek.com, the official Star Trek website

A third parameter can be passed to change the path from the standard "database_article" path used on StarTrek.com for links to interviews or other such articles:

{{startrek.com|catching-up-with-star-trek-writer-mike-sussman|Interview with Mike Sussman|article}}

This would produce:

Interview with Mike Sussman at StarTrek.com, the official Star Trek website

See also[edit source]

External links[edit source]