(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...") |
|||
| Line 38: | Line 38: | ||
<pre> | <pre> | ||
{{PokemonTileContainer|max-columns= | {{PokemonTileContainer|max-columns=4| | ||
... | ... | ||
}} | }} | ||
Revision as of 00:22, 12 November 2026
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
{{PokemonTileContainer|max-columns=}}
- max-columns (optional) sets the maximum number of columns to display. If left blank, it defaults to six columns.
Example
{{PokemonTileContainer|
{{PokemonTile2|name=Bulbasaur|number=001|type=grass }}
{{PokemonTile2|name=Ivysaur|number=002|type=grass }}
...
{{PokemonTile2|name=Pikachu|number=025|type=electric }}
{{PokemonTile2|name=Raichu|number=026|type=electric }}
}}
Produces:
max-columns
With a different number of columns:
{{PokemonTileContainer|max-columns=4|
...
}}
Produces: