Template:Memory Alpha/doc

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

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

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

Template data
{       "description": "This template displays an external link to an article at Memory Alpha (a Star Trek wiki).", "params": { "1": {			"label": "ID", "description": "ID string used in the URL. If not specified it defaults to the article's, without disambiguation.", "type": "string", "required": false },		"2": {			"label": "Name", "description": "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, without disambiguation).", "type": "string", "required": false }	} }

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

Usage:

Results:

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

Usage:

Results:

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

Usage:

Results: