Editor
243
edits
(Created page with "'''Template:PokemonTileContainer''' is used to create a grid out of tiles (Template:PokemonTile2). It will attempt to show as many columns as possible, up to six columns wide, with each column hardcoded to 140px. ==Usage== <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. ==Example== <pre> {{PokemonTileContainer| {{PokemonTile2|n...") |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| 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== | ||
| Line 38: | Line 38: | ||
<pre> | <pre> | ||
{{PokemonTileContainer|max-columns= | {{PokemonTileContainer|max-columns=4| | ||
... | ... | ||
}} | }} | ||