Template:LogoBox/doc

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

This template is used on Browsing Portals to create the logo boxes. It is used within {{ColorBox}} and {{ContentGrid}} templates to set the correct width.

Syntax

The following syntax is used (see TemplateData below for full parameters):

{{LogoBox| 1 | 2 | 3 | 4 | b= | flex= | css= }}

Template Data

Boxes used to contain logos on Browsing Portal pages.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Image1

The logo image to be displayed in the box (Don't include "File:")

Example
Pokémon Origins logo.png
Filerequired
Link2

The article the image will link to

Example
Pokémon Scarlet and Violet
Page namerequired
Image size3

The size of the logo (Must include "px")

Default
100px
Example
50px
Stringsuggested
Padding4

The padding within the box

Default
10px
Example
5px 0
Stringsuggested
Backgroundb

The background color of the box (Don't include "#")

Default
E0F2B6
Example
FFF
Stringsuggested
Flex basisflex

The "flex-basis" css value

Default
200px
Stringoptional
Other CSScss

Any other CSS

Example
border: 1px solid #000;
Stringoptional