Template:Gallery/doc: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
Line 13: Line 13:
* '''<code>''Alt text''</code>''' is the alt text for the image, used by visually impaired and other readers who cannot see the image. See ''[[Wikipedia:Alternative text for images]]''. If omitted, the image's alt text is blank.
* '''<code>''Alt text''</code>''' is the alt text for the image, used by visually impaired and other readers who cannot see the image. See ''[[Wikipedia:Alternative text for images]]''. If omitted, the image's alt text is blank.
* '''<code>''Caption''</code>''' is the caption; see ''[[Wikipedia:Captions]]''.
* '''<code>''Caption''</code>''' is the caption; see ''[[Wikipedia:Captions]]''.
* Add '''<code>|spoiler=yes</code>''' at the end of the line if the image is a spoiler image. This will only blank the image, not the text; to mark the text as a spoiler, use the {{tl|Spoiler}} template in the description itself.
* Add '''<code>|spoiler''N''=yes</code>''' at the end of the line if the image is a spoiler image. This will only blank the image, not the text; to mark the text as a spoiler, use the {{tl|Spoiler}} template in the description itself.


If no such lines are present, a gallery with a single question-mark image is produced. There is currently a limit of 100 such lines.
If no such lines are present, a gallery with a single question-mark image is produced. There is currently a limit of 100 such lines.

Navigation menu