Template:LogoBox/doc: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(Created page with "This template is used on Browsing Portals to create the logo boxes. It is used within {{template|ColorBox}} and {{template|ContentGrid}} templates to set the correct width. ==Syntax== The following syntax is used (see TemplateData below for full parameters): <pre> {{LogoBox| 1 | 2 | 3 | 4 | b= | flex= | css= }} </pre> ==Template Data== <templatedata> { "params": { "1": { "label": "Image", "description": "The lo...") |
m (Changing category) |
||
Line 75: | Line 75: | ||
} | } | ||
</templatedata> | </templatedata> | ||
<includeonly>[[Category: | <includeonly>[[Category:Portal templates]]</includeonly> | ||
<noinclude>[[Category:Documentation templates]]</noinclude> | <noinclude>[[Category:Documentation templates]]</noinclude> |
Latest revision as of 13:51, 1 July 2024
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | 1 | The logo image to be displayed in the box (Don't include "File:")
| File | required |
Link | 2 | The article the image will link to
| Page name | required |
Image size | 3 | The size of the logo (Must include "px")
| String | suggested |
Padding | 4 | The padding within the box
| String | suggested |
Background | b | The background color of the box (Don't include "#")
| String | suggested |
Flex basis | flex | The "flex-basis" css value
| String | optional |
Other CSS | css | Any other CSS
| String | optional |