Actions

Template

Shortcut

From Joomla! Documentation

Revision as of 13:46, 10 May 2008 by CirTap (Talk | contribs)

Shortcut:


[view] [edit] [history]

Template-info.pngTemplate documentation

Contents

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

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



Shortcut is based on: Wikipedia:Shortcut (edit|talk|history|links|watch|logs)