Template:Ombox/shortcut/doc
< Template:Ombox | shortcut
![]() | This is a documentation subpage for Template:Ombox/shortcut. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 4,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Description
This is a substitute for {{Shortcut}} intended for use in message box templates.
Use
{{Ombox/shortcut|shortcut|...}}
- shortcut
- text to be displayed as the wikilinked shortcut; displays up to five shortcuts
Example
<syntaxhighlight lang="wikitext">{{tmbox |text= Some text in a box |image=none |imageright={{Ombox/Shortcut|WP:MOS|MOS:MAIN}} |style=text-align:center;
}}</syntaxhighlight>
Some text in a box |