Template:No alt text: Difference between revisions
more fitting crystal icon (wordspace in image) that also avoids confusion with Template:Too many photos |
m Localise imported template guidance and policy links; preserve index layout and licence information |
||
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
| class = ambox-no-alt-text-section |
| class = ambox-no-alt-text-section |
||
| image = [[File:Crystal128-rtf.svg|50px|alt=icon]] |
| image = [[File:Crystal128-rtf.svg|50px|alt=icon]] |
||
| issue = This article '''contains images without alternative text.''' [[Alt attribute|Alternative text]] helps readers who use screen readers to access |
| issue = This article '''contains images without alternative text.''' [[Alt attribute|Alternative text]] helps readers who use screen readers to access this wiki due to visual impairment. {{#if:{{{reason|}}}|In particular, {{{reason}}}.}} |
||
| fix = Please help improve |
| fix = Please help improve this wiki by adding descriptive text to images. See the [[Project:Manual of Style|Manual of Style]] for guidelines. |
||
| removalnotice = yes |
| removalnotice = yes |
||
| talk = {{{talk|}}} |
| talk = {{{talk|}}} |
||
Latest revision as of 10:25, 31 October 2026
This article contains images without alternative text. Alternative text helps readers who use screen readers to access this wiki due to visual impairment. |
| Template documentation follows |
|---|
| Note: the template above may sometimes be partially or fully invisible. |
| Visit "Template:No alt text/doc" to edit its documentation if it is available. (How does this work?) |
Usage
{{No alt text|optionalpar1|optionalpar2|optionalpar3}}
Parameters
If no parameters are present then the article will be added to Category:Unclassified articles missing image alternative text.
If parameters are present then the article with be added to Category:optionalpar articles missing image alternative text. That category may need to be created as this template only creates the link – it does not create the category.
The categories should be hidden categories using Template:Hidden category. To view hidden categories, one needs to activate them at Preferences → Appearance → Advanced options →
Show hidden categories.
Removal of template
The template should be removed when the alternative text has been added to the article.
Calling this template from other templates
When called from within another template this template MUST be called with the demospace option set to main i.e.
{{No alt text|optionalpar1|optionalpar2|optionalpar3|demospace=main}}
Or cut and paste the following:
<!--
***** flag those images that need alt text adding *****
-->{{#if: {{{static_image_alt|}}}
|<!-- then --><!-- do nothing -->
|<!-- else -->{{#if: {{{static_image|}}}
|<!-- then -->{{No alt text|{{{country}}}|{{{shire_county/state}}}
|Unclassified|demospace=main}} }} }}
{{#if: {{{static_image_alt_2|}}}
|<!-- then --><!-- do nothing -->
|<!-- else -->{{#if: {{{static_image_2|}}}
|<!-- then -->{{No alt text|{{{country}}}|{{{shire_county/state}}}
|Unclassified|demospace=main}} }} }}
Redirects
{{Alternative text missing}} redirects to this template