Template

Shortcut/doc

From Joomla! Documentation

< Template:Shortcut

This template is primarily used on the Joomla! Documentation guideline and policy pages to show the shortest alias of a given page. For example, [[JEDL]] redirects to [[Joomla! Electronic Documentation Licence]]. The point of this template is not to list every single redirect (indeed, that's what Special:Whatlinkshere is for); for any given page, it should list only one or two common and easily-remembered redirects.

Don't use this template on other templates, e.g. to state that the shortcut to [[Template:Foo]] is in fact {{Foo}}. There's no need to state the obvious like that, by default every template uses its own name as a shortcut for transclusion.

This template can take up to five shortcuts as parameters. The first parameter can be linked or unlinked; the remaining parameters must be unlinked.

Examples[edit]

Code Result
{{Shortcut|JDOC:PAG}}
Shortcut:
JDOC:PAG
{{Shortcut|JDOC:PAG|JDOC:GUIDE}}
Shortcuts:
JDOC:PAG
JDOC:GUIDE
{{Shortcut|[[JDOC:PAG]]|JDOC:GUIDE|JDOC:POLICY}}
Shortcuts:
JDOC:PAG
JDOC:GUIDE
JDOC:POLICY