Template:Ombox/shortcut/sandbox: Difference between revisions
Appearance
< Template:Ombox | shortcut
Content deleted Content added
m fix |
Newslinger (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
Adding the shortcut links: |
Adding the shortcut links: |
||
--><div style="display: inline-block; border-bottom: 1px solid #aaa; line-height: 1.5em; font-weight: normal; margin-bottom: .2em;">[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]</div><!-- |
--><div style="display: inline-block; border-bottom: 1px solid #aaa; line-height: 1.5em; font-weight: normal; margin-bottom: .2em;">[[Wikipedia:Shortcut|Shortcut{{#if:{{{2|}}}|s}}]]</div><!-- |
||
-->{{#if:{{{1|}}}|{{Unbulleted list/sandbox|{{nowrap|{{no redirect|{{{1}}}}}}}|{{#if:{{{2|}}}|{{nowrap|{{no redirect|{{{2}}}}}}}}}|{{#if:{{{3|}}}|{{nowrap|{{no redirect|{{{3}}}}}}}}}|{{#if:{{{4|}}}|{{nowrap|{{no redirect|{{{4}}}}}}}}}|{{#if:{{{5|}}}|{{nowrap|{{no redirect|{{{5}}}}}}}}}}}}} |
-->{{#if:{{{1|}}}|{{Unbulleted list/sandbox |
||
|{{nowrap|{{no redirect|{{{1}}}}}}} |
|||
|{{#if:{{{2|}}}|{{nowrap|{{no redirect|{{{2}}}}}}}}} |
|||
|{{#if:{{{3|}}}|{{nowrap|{{no redirect|{{{3}}}}}}}}} |
|||
|{{#if:{{{4|}}}|{{nowrap|{{no redirect|{{{4}}}}}}}}} |
|||
|{{#if:{{{5|}}}|{{nowrap|{{no redirect|{{{5}}}}}}}}} |
|||
}}}} |
|||
</div> |
</div> |
||
<noinclude> |
<noinclude> |
Latest revision as of 21:06, 11 September 2019
![]() | This is the template sandbox page for Template:Ombox/shortcut (diff). See also the companion subpage for test cases. |
![]() | 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
{{tmbox
|text= Some text in a box
|image=none
|imageright={{Ombox/Shortcut|WP:MOS|MOS:MAIN|MOS:}}
|style=text-align:center;
}}
Some text in a box |