Image Block

W A R N I N G
PLEASE DO NOT TOUCH THIS PAGE WITHOUT STAFF PERMISSION.

This is a template page used internally by the Backrooms Wiki.


This component was originally made by ShroomDispencerShroomDispencer.

How to use:

This component has 6 parameters you can set:

name= This is where the file’s url goes.
alt= This is alternative text for the image, it should be 1 or 2 sentences describing the contents of the image itself. This is crucial for accessibility, as the alt text is the primary way screen readers convey the content of images to users who have visual impairments. Refer to this article for more info.
caption= This is where you put the text that you’d like to show up in the caption.
width= This is where you specify (in pixels) the width of the image you’d like. This defaults to the width of the image file if not specified.
align= This is where you specify where you’d like the image to show up. It only accepts left, right, or center.
captionless= This is where you specify if you want to hide the caption of the image, set this value to "a" to hide the caption block entirely.

Demo:

A cartoonish drawing of the site mascot, Tesseract, coding on a laptop. They are telling the reader, "Happy coding!"

This is the result of the demo.

[[include component:image-block
|name=http://reyday.wikidot.com/local--files/component-hub/TessCoding
|caption=This is the result of the demo.
|alt=A cartoonish drawing of the site mascot, Tesseract, coding on a laptop. They are telling the reader, "Happy coding!"
|width=300px
|align=right
]]

And here’s a blank version to copy+paste:

[[include component:image-block
|name=
|caption=
|alt=
|width=
|align=
|captionless=
]]


Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License