Template:Template shortcut/doc: Difference between revisions
More actions
copy the template documentation from w:Template:Template shortcut/doc |
remove redlinked category |
||
| Line 39: | Line 39: | ||
<!-- ADD CATEGORIES BELOW THIS LINE --> | <!-- ADD CATEGORIES BELOW THIS LINE --> | ||
[[Category:Disambiguation and redirection templates|{{PAGENAME}}]] | [[Category:Disambiguation and redirection templates|{{PAGENAME}}]] | ||
<!-- ADD INTERWIKIS BELOW THIS LINE --> | <!-- ADD INTERWIKIS BELOW THIS LINE --> | ||
Revision as of 07:10, 22 June 2010
This is the {{Template shortcut}} template.
It can be used to show the names of shortcuts to a template.
It can take up to six shortcuts as parameters.
Usage
If you want to indicate that {{Edit conflict}} has a shortcut {{Ec}}, then you could use:
{{template shortcut|ec}}
Additional parameters
This template has some additional parameters.
"float=left" makes this template flow to the left of the page instead:
{{template shortcut|float=left|ec}}
"pre=something", "pre2=something" and "pre3=something" feeds some text to show before the shortcut links but within the braces. This is mostly used to indicate that the template should be used with substitution. Then you can do like this:
{{template shortcut|pre=subst:|ec}}
See also
- {{Shortcut}} – The normal shortcut.