Template:Memory Alpha

From Wikipedia, the free encyclopedia
  (Redirected from Template:Memoryalpha)
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]

Template:Memory Alpha displays an external link to an article at Memory Alpha (a Star Trek wiki).

Usage

No parameters (uses the Wikipedia article title as the ID string for URL and as the link text):

{{Memory Alpha}}

One parameter (uses 1st parameter as the ID string for URL and as the link text):

{{Memory Alpha | ID }}

Two parameters (uses 1st parameter as ID string for URL and 2nd parameter as the link text):

{{Memory Alpha | ID | NAME }}

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Memory Alpha

This template displays an external link to an article at Memory Alpha (a Star Trek wiki).

Template parameters
Parameter Description Type Default Auto value Status
ID 1 ID string used in the URL. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. string empty empty optional
Name 2 Name displayed in the link text. If not specified it defaults to the value of the ID parameter (if the ID is specified, it defaults to the article's {{PAGENAME}}, without disambiguation). string empty empty optional

Examples

No parameters

The following example shows a link using the Wikipedia article title in the URL:

http://memory-alpha.org/wiki/Memory_Alpha

Usage:

{{Memory Alpha}}

Results:

One parameter

The following example shows a link to the Memory Alpha page for Borg:

http://memory-alpha.org/wiki/Borg

Usage:

{{Memory Alpha | Borg }}

Results:

Two parameters

The following example shows a link to the Memory Alpha page for "The Cage" (Star Trek: The Original Series):

http://memory-alpha.org/wiki/The_Cage_(episode)

Usage:

{{Memory Alpha | The Cage (episode) | "The Cage" }}

Results:

See also