Template:Shortcut/doc

Template page

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.

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