Template talk:Shortcut

Add topic
Active discussions
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Template

Instead of requiring users of this template to specify how many shortcuts they want, why don't we just recode it with if statements to eliminate one parameter? Something like:

{| border=1 align="right" style="background: #fff; border:1px solid #000; border-collapse:collapse;"
| align="center" | '''Shortcuts'''
{{#if: {{{1|}}} | <br>[[{{{1}}}]] }}
{{#if: {{{2|}}} | <br>[[{{{2}}}]] }}
{{#if: {{{3|}}} | <br>[[{{{3}}}]] }}
{{#if: {{{4|}}} | <br>[[{{{4}}}]] }}
{{#if: {{{5|}}} | <br>[[{{{5}}}]] }}
{{#if: {{{6|}}} | <br>[[{{{6}}}]] }}
|}<noinclude>[[Category:Table templates]]</noinclude>

This makes it much easier to see what's going on, and easier to add another line too. — Laoris (Blah) 19:57, 4 December 2008 (UTC)

Return to "Shortcut" page.