Wide Image Sizer

LƯU Ý:

Đây là trang component được sử dụng nội bộ bởi Wiki SCP-VN. Trang này được tạo để sử dụng và thêm vào các trang khác.

đánh giá: 0+x

Usage

On any wiki:

[[include :scp-wiki:component:wide-image-sizer]]

Then for the image:

[[include component:image-block
name=https://scp-wiki.wikidot.com/local--files/(REST OF LINK TO YOUR IMAGE) |
caption=(YOUR CAPTION HERE) |
align=center |
width=100%
]]

What this is

A component to automatically scale a wide image to 215px height and an appropriate width for the current screen. This way you can ensure a consistent viewing experience across a wide range of devices while avoiding the need precisely crop the source image.

What it looks like

With component:

with-component.png

Without component:

without-component.png

The CSS was created by WoedenazWoedenaz, and this component was created by aismallardaismallard.

Nếu không có ngoại lệ được nêu, nội dung của trang này được xuất bản dưới giấy phép Creative Commons Attribution-ShareAlike 3.0 License