Wikia

Memory Alpha

Startrek.com

Discuss3
37,577pages on
this wiki

Template page

Revision as of 13:52, May 17, 2011 by Sulfur (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The following documentation is transcluded from Template:Startrek.com/doc:

UsageEdit

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 alsoEdit

Around Wikia's network

Random Wiki