Template:PokemonTileContainer/doc

Template page
Revision as of 00:21, 12 November 2026 by Trrgtw (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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=3|
...
}}

Produces: