Template:Memory Alpha/doc
This is a documentation subpage for Template:Memory Alpha. It may contain usage information, categories and other content that is not part of the original template page. |
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]TemplateData for Memory Alpha
This template displays an external link to an article at Memory Alpha (a Star Trek wiki).
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | 1 | ID string used in the URL. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation. | String | 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 | optional |
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:
- Borg at Memory Alpha
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]