The Pokémon: Symphonic Evolutions concert tour is coming to Philadelphia on September 19th. Seats are limited, so be sure to book your tickets quick!
Pokémon Omega Ruby and Alpha Sapphire have been announced! Check BNN and Bulbanews for up-to-date Pokémon news and discuss it on the forums or in our IRC channel.

Template talk:Shortcut

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to: navigation, search

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)