Template:Flexheader: Difference between revisions

functionality update
(reworking with customizable fields)
(functionality update)
Line 14: Line 14:


Functionality:
Functionality:
* Between <nowiki>{{Flexheader}}</nowiki> and <nowiki>{{Flexfooter}}</nowiki>, include a list of inline-formatted items (example: Instances of the <nowiki>{{BonusSegmentDisplay}}</nowiki> template).
* Between <nowiki>{{Flexheader}}</nowiki> and <nowiki>{{Flexfooter}}</nowiki>, include a list of inline-formatted items (example: Instances of [[Template:TypeProperties]]).
* 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.
* The set of items will be formatted as a flex with wrapping, will be centered horizontally, and will be aligned vertically at the top edge of each item. This can be customized (see Template fields below).
* 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.
* 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.