Template:Flexheader

Revision as of 07:30, 9 July 2023 by Boblers (talk | contribs) (Boblers moved page User:Boblers/flexheader to Template:Flexheader: mainspacing per request)
Bulbapedia bulb.png This article is intended to be moved into one of Bulbapedia's main content spaces.
Be mindful that it is still part of a personal userspace. Any content changes should be brought up on the talk page for this article.

Usage

{{User:Boblers/flexheader}}
(include as many inline-formatted items as desired)
{{User:Boblers/flexfooter}}

Functionality:

  • Between {{User:Boblers/flexheader}} and {{User:Boblers/flexfooter}}, include a list 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/flexheader}}
{{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.''
}}
{{User:Boblers/flexfooter}}

User:Boblers/flexheader User:Boblers/tableimageset2 User:Boblers/tableimageset2 User:Boblers/flexfooter