Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Incubator escapee wiki:Extended image syntax
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Using the basic syntax=== The most basic example uses the syntax <syntaxhighlight lang="wikitext" inline>[[File:Westminstpalace.jpg|Alt text]]</syntaxhighlight>. This does not scale the image or allow text to wrap around it. This is not normally appropriate in an article. [[File:Westminstpalace.jpg|Alt text]] This is rendered inline, and the specified text is used as the image's ''alt'' attribute (alternate text for programs which cannot display images, such as [[screen reader]]s) and as the ''title'' attribute (supplementary text, often displayed as a tooltip when the mouse is over the image). See [[Wikipedia:Captions]] for discussion of appropriate caption text. See [[Wikipedia:Alternative text for images]] for discussion of appropriate alt text. Above, the image of the Thames was put into its own paragraph. This isn't mandatory; images can sit inline in text, as shown below. <syntaxhighlight lang="wikitext" style="overflow:auto;"> text text text text text text [[File:Westminstpalace.jpg|150px|alt=A large clock tower and other buildings line a great river.|The Palace of Westminster]] text text text text text [[File:tst.png|100px|alt=Tiny globe|This is a globe.]] text text text text </syntaxhighlight> gives text text text text text text [[File:Westminstpalace.jpg|150px|alt=A large clock tower and other buildings line a great river.|The Palace of Westminster]] text text text text text [[File:tst.png|100px|alt=Tiny globe|This is a globe.]] text text text text
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)