Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Template:Shortcut

From FlightGear wiki
Revision as of 13:00, 31 October 2015 by Red Leader (Talk | contribs) (Add clear:right)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{shortcut}}: No shortcut parameter given


The following template description is not displayed when the template is inserted in an article.

Goal

This template will add a box with shortcuts on the top right of a page.

With shortcuts you need less typing to get to a page.

Note Use shortcuts only in the Help and FlightGear Wiki namespaces.

Tip Remember to actually add a shortcut to that page. For details, see Help:Shortcuts#Creating shortcuts.

Usage

Add the template to somewhere at the top of the page.

{{shortcut|shortcut|shortcut |msg=}}

The first shortcut parameter is mandatory. All other parameters are optional.

shortcut
Name of the shortcut. The first one should preferably be an abbreviation.
The second one can be a little bit longer, for example a word instead of an abbreviation.
msg
A very short message.

Examples

{{shortcut|FGW:VP}}

Shortcut
FGW:VP


{{shortcut|FGW:VP|FGW:PUMP}}

Shortcuts
FGW:VP
FGW:PUMP


{{shortcut|FGW:VP|msg=Wiki</br>discussion}}

Shortcut
FGW:VP

Wiki
discussion