Template:MangaBox

From Bulbapedia, the community-driven Pokémon encyclopedia.
Revision as of 09:09, 31 August 2024 by Rustle (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
link={{{2}}}
[[{{{2}}}|{{{2}}}]]



Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)

This template is used on Browse:Manga to create the character image 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):

{{MangaBox| 1 | 2 | 3 | s= | h= | css= }}

TemplateData

Template used on Browse:Manga to display manga volume covers

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Image1

Image name (include file extension, don't include "File:")

Example
Pokemon Adventures volume 1 VIZ cover.jpg
Filerequired
Link2

The article to link to

Example
Pokémon Adventures volume 1
Page namerequired
Link label3

(Optional) Text to be displayed instead of article title

Example
Volume 1
Stringsuggested
Image sizes

Size of the image (Must include "px")

Default
90px
Stringoptional
Heighth

The height of the box (Must include "px")

Default
140px
Stringoptional
Other CSScss

Any other CSS to include

Example
border: 1px solid #000;
Stringoptional