Wide Image Sizer
Примечание:
Эта страница - компонент, используемый на данной вики. Он предназначен для включения в другие страницы.
0/0%
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 user Woedenaz, and this component was created by aismallard.
версия страницы: 5, Последняя правка: 17 Сен. 2024, 06:50 (4 дня назад)