Template:Shortcut

Template page

Test Template Info-Icon.svg Template Documentation [ view ] [ edit ]
This template creates a small box on the right that shows a list of up to five shortcuts to the current page.

Usage looks like:

{{Shortcut | link1 | link2 | link3 | link4 | link5 }}

where only link1 is mandatory. [[ ]] are not necessary.

The remaining links will form a list of links. If more than five shortcuts need to be added in the future, the change should be pretty simple.

Currently this is done with a long line of if statements. A more elegant solution probably exists but this works.

Templates that use this template

Cookies help us deliver our services. By using our services, you agree to our use of cookies.