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.
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:
Without component:
The CSS was created by Woedenaz, and this component was created by aismallard.