Template:WP/doc

This template creates a link to a shortcut in project space, along with hover text that shows a tooltip of the page's nutshell (if it has one) when someone hovers over the link. It can be useful when linking shortcuts in talk page conversations where newcomers may see them.

Usage
A simple example: generates.

For pages without a nutshell, it just displays a normal link. You can use it with help pages or pseudo-namespaces, as in  to generate, or   to generate.

Please note that the template is case-sensitive — if you use Wp, you'll insert a template about water polo, which is probably not what you want. Please also note that some shortcuts link to sections of pages, so trying  will display the nutshell for WP:NPOV, which won't be that useful.

Error messages
This template produces error messages. These messages are:
 * shortcut or target &lt;title> is not a valid Wikipedia page name; see
 * example:  →
 * Wikipedia does not have a page at &lt;namespace>:&lt;title>
 * example:  →
 * Wikipedia page &lt;title> exists but has no content
 * This template called without a shortcut name
 * example:  →
 * namespace portion of the shortcut is not one of those recognized by the template (see ). This template recognizes a limited subset of available namespace names:
 * namespace names: Help, Wikipedia
 * namespace aliases: Project, WP
 * pseudo namespaces: H, MOS
 * example:  →
 * This template called without a shortcut name
 * example:  →
 * namespace portion of the shortcut is not one of those recognized by the template (see ). This template recognizes a limited subset of available namespace names:
 * namespace names: Help, Wikipedia
 * namespace aliases: Project, WP
 * pseudo namespaces: H, MOS
 * example:  →
 * example:  →

TemplateData
{	"params": { "1": {			"label": "Shortcut", "description": "The shortcut or page you want to link to", "example": "BOLD", "type": "wiki-page-name", "required": true }	},	"description": "Creates a link to a project space page with hover text displaying the page's nutshell" }