Jump to content

Template:Memory Alpha/doc

From Wikipedia, the free encyclopedia

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

Usage

[edit]

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

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Memory Alpha in articles based on its TemplateData.

TemplateData for Memory Alpha

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

Template parameters

ParameterDescriptionTypeStatus
ID1

ID string used in the URL. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

Stringoptional
Name2

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).

Stringoptional

Examples

[edit]

No parameters

[edit]

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

[edit]

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

[edit]

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

[edit]