User:Boblers/flexwrapper

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


Usage

{{flexwrapper
| (include as many inline-formatted items as desired)
}}

Functionality:

  • This template takes a set of inline-formatted items (example: Instances of the {{User:Boblers/tableimage2}} template).
  • The set of items will be formatted as a flex with wrapping, will be centered horizontally, and will be aligned vertically by the middle of each item.
  • On wide screens such as on desktop, the items will display horizontally. If there are too many items to display horizontally given the screen size, they will wrap to the next row.

Examples

{{User:Boblers/flexwrapper|
{{User:Boblers/tableimageset2
|border=FFAAFF
|background=AAFFAA
|title='''[[Professor Oak's Big Pokémon Encyclopedia]]:''' {{p|Glaceon}}
|images=
{{User:Boblers/tableimage|file=Professor Oak Lecture DP094.png|hovertext=Glaceon|caption=}}
|descname1=Original (JP)
|desc1=ゆきのなか にわかけまわれ グレイシア
|descname2=Romaji
|desc2=''Yuki no naka, niwa kakemaware, gureishia.''
|descname3=Translation (EN)
|desc3="Run around the snowy garden, {{tt|Glacia|Glaceon}}."
|notes=Add notes here
}}
{{User:Boblers/tableimageset2
|border={{Pearl color}}
|background={{Diamond color}}
|title='''[[Professor Oak's Big Pokémon Encyclopedia]]:''' {{p|Glaceon}}
|images=
{{User:Boblers/tableimage|file=Professor Oak Lecture DP094.png|hovertext=Glaceon|caption=}}
|descname1=Original (JP)
|desc1=ゆきのなか にわかけまわれ グレイシア
|descname2=Romaji
|desc2=''Yuki no naka, niwa kakemaware, gureishia.''
}}
}}