no shortcut name given ( help)
This template uses Lua: |
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.
A simple example:
{{WP|BOLD}}
generates
WP:BOLD.
For pages without a nutshell, it just displays a normal link. You can use it with help pages or pseudo-namespaces, as in {{WP|MOS:ICON}}
to generate
MOS:ICON, or {{WP|H:ALPH}}
to generate
Help:ALPH.
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 {{WP|DUE}}
will display the nutshell for
WP:NPOV, which won't be that useful.
This template produces error messages. These messages are:
{{WP|BOLD]}}
→ shortcut: invalid title: WP:BOLD] (
help){{WP|XXXX}}
→ shortcut: page does not exist: WP:XXXX (
help){{WP| }}
→ no shortcut name given (
help){{WP|TALK:AVCHD}}
→ namespace 'TALK' not recognized in shortcut: TALK:AVCHD (
help)
Creates a link to a project space page with hover text displaying the page's nutshell
Parameter | Description | Type | Status | |
---|---|---|---|---|
Shortcut | 1 | The shortcut or page you want to link to
| Page name | required |