Wikia

Memory Alpha

St.com

Discuss0
37,586pages on
this wiki

Template page

The following documentation is transcluded from Template:St.com/doc:

UsageEdit

This template is used to link to the StarTrek.com website entries as inline links to be used for references. 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. If the second variable is left blank, then the link will use the default numbering system created by the Wiki in the article.

The "end path" to the article is the portion of text in the URL following "database_article/".

For example, Chang would have a template call such as:

{{st.com|chang-general}}

This would produce:

Chang

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

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

This would produce:

General Chang

Leaving the second parameter blank as such:

{{st.com|chang-general|}}

This would produce:

[1]

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:

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

This would produce:

Interview with Mike Sussman

Again, without the second parameter, but with the third parameter to be used as a reference:

{{st.com|catching-up-with-star-trek-writer-mike-sussman||article}}

This would produce:

[2]

See alsoEdit

Around Wikia's network

Random Wiki