Editor
243
edits
No edit summary |
|||
| Line 1: | Line 1: | ||
'''Template:PokemonTileContainer''' is used to create a grid out of tiles ([[Template:PokemonTile2]]). It will attempt to show as many columns as | '''Template:PokemonTileContainer''' is used to create a grid out of tiles ([[Template:PokemonTile2]]). It will attempt to show as many columns as fit on the screen, up to six columns wide (unless overridden), with each column hardcoded at 140px. | ||
==Usage== | ==Usage== | ||
<pre><nowiki>{{PokemonTileContainer|max-columns=}}</nowiki></pre> | <pre><nowiki>{{PokemonTileContainer|max-columns=}}</nowiki></pre> | ||
* '''max-columns (optional)''' sets the maximum number of columns to display. If left blank, it defaults to six columns. | * '''max-columns (optional)''' sets the maximum number of columns to display, although fewer may be shown if the screen is too narrow. If left blank, it defaults to six columns. | ||
==Example== | ==Example== | ||