Примечание:
Эта страница - компонент, используемый на данной вики. Он предназначен для включения в другие страницы.
What is this?
A collection of alternative [image blocks]
that provide extra interactivity to the images in your Articles, SCPs, Tales, or whatever the heck you want!
How to use
Most are self-explanatory but there are a few shared features:
- THESE WORK ON BOTH SIGMA-9 AND BLACK HIGHLIGHTER
- Any
true/false
options must be included. - Images can be floated. This means text will wrap around them. If you chose
|float=true
you also need to pick|align=left/right
. This will choose what side of the screen the image will float on. - Width is max-width. On mobile, images will always be max-50% screen width. If you want to change this, you'll have to edit CSS values:
.scp-image-block[data-feature="image-feature"] {
max-width: [add width here] !important;
} - Captions are optional! If you chose
|add-caption=false
, you do not need to include a|caption=text
. - Fractal Noise Reveal and Pixelate Reveal both use HTML in iframes which are… a little odd on Wikidot. They should work but there is certainly a chance they will bug out.
- If you have any more questions or requests feel free to contact Woedenaz. No guarantee that I'll respond quickly but I'll try!
Multi-Line Captions
You can have multi-line captions.
You just need to format the code like so:
|caption=This is a super duper long caption that is eventually going to have a line break. _
You just need to add a space WITH an underscore after. _
Remember the space or it will not work. _
Adding a space after the underscore will also cause it not to work.
IMAGE REVEALS
Hover Blur Reveal
Tap Blur Reveal on Mobile
|blur-amount=Number 1.5 - 5 Recommended. Higher number = More blur!
|speed=Number Animation speed in milliseconds
|float=true/false
|align=left/right
|width=px/rem/vw/% All measurement types work here.
|url=url
|add-caption=true/false
|caption=text
]]
Hover Blur Change Image
Tap Blur Change Image on Mobile
|blur-amount=Number 1.5 - 5 Recommended. Higher number = More blur!
|speed=Number Animation speed in milliseconds
|float=true/false
|align=left/right
|width=px/rem/vw/% All measurement types work here.
|start-url=url URL of image BEFORE hover.
|hover-url=url URL of image AFTER hover.
|add-caption=true/false
|caption=text
]]
Hover Slide Blur Reveal
Tap Slide Blur Reveal on Mobile
Firefox supported blur slide code provided by EstrellaYoshte!
|blur-amount=Number 5 - 10 Recommended. Higher number = More blur!
|slide-direction=left/right/top/bottom Direction slide will move AWAY from.
|float=true/false
|align=left/right
|speed=Number Animation speed in milliseconds
|width=px/rem/vw/% All measurement types work here.
|url=url
|add-caption=true/false
|caption=text
]]
Hover Slide Block Reveal
Tap Slide Block Reveal on Mobile
|block-color=hex/rgb/hsl All color inputs work here.
|slide-direction=left/right/top/bottom Direction slide will move AWAY from.
|speed=Number Animation speed in milliseconds
|float=true/false
|align=left/right
|width=px/rem/vw/% All measurement types work here.
|url=url
|add-caption=true/false
|caption=text
]]
Slide Image Revealer
|block-color=hex/rgb/hsl All color inputs work here.
|float=true/false
|align=left/right
|width=px/rem/vw/% All measurement types work here.
|left-url=url This is the URL for the left image.
|right-url=url This is the URL for the right image.
|slider-start-percent=0-100 % from the left where the slider will start.
|slider-color=hex/rgb/hsl All color inputs work here.
|slider-circle-size=px/rem/vw/% All measurement types work here.
|add-caption=true/false
|caption=text
]]
Hover Fractal Noise Reveal
Tap Fractal Noise Reveal on Mobile
|fractal-size=1-999 Larger # means smaller fractal.
|speed=Number Animation speed in milliseconds
|float=true/false
|align=left/right
|width=px/rem vw/% WILL NOT WORK.
|background=color/url("")/gradient Any sort of background input will work here.
|url=url
|add-caption=true/false
|caption=text
]]
Hover Pixelate Reveal
Tap Pixelate Reveal on Mobile
|pixel-res=Number Larger # means larger pixels. (4-32 suggested)
|speed=Number Animation speed in milliseconds
|float=true/false
|align=left/right
|width=px/rem vw/% WILL NOT WORK.
|url=url
|add-caption=true/false
|caption=text
]]
IMAGE ZOOMS
Hover Enlarge
Tap Enlarge on Mobile
|enlarge-amount=Number Higher number: Larger Expand. (5-20 Recommended)
|speed=Number Animation speed in milliseconds
|float=true/false
|align=left/right
|width=px/rem/vw/% All measurement types work here.
|url=url
|add-caption=true/false
|caption=text
]]
Click & Hold Fullscreen
Tap Fullscreen on Mobile
|speed=Number Animation speed in milliseconds
|float=true/false
|align=left/right
|width=px/rem/vw/% All measurement types work here.
|url=url
|add-caption=true/false
|caption=text
]]