• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.154
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Alternative text missing

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here


Template documentation[view] [edit] [history] [purge]

This template is used to mark articles which are missing the alternative text for images (see WP:ALT). The template is based on Template:Coord missing which uses an identical structure to flag those articles needing geographical coordinates added.

Contents

  • 1 Usage
    • 1.1 Parameters
  • 2 Removal of template
  • 3 Calling this template from other templates
  • 4 See also

Usage

{{Alt text missing|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:hiddencat. To view hidden categories, one needs to activate them in Special:Preferences. Under "Misc", there is "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.

{{Alt text missing|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 -->{{alt text missing|{{{country}}}|{{{shire_county/state}}}
|Unclassified|demospace=main}} }} }}
{{#if: {{{static_image_alt_2|}}}
|<!-- then --><!-- do nothing -->
|<!-- else -->{{#if: {{{static_image_2|}}}
|<!-- then -->{{alt text missing|{{{country}}}|{{{shire_county/state}}}
|Unclassified|demospace=main}} }} }}

See also

  • Wikipedia:Alternative text for images
  • Wikipedia:Cleanup
The above documentation is transcluded from Template:Alternative text missing/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Alternative_text_missing&oldid=5000"
Categories:
  • Cleanup templates
  • Wikipedia cleanup
Last edited on 18 January 2018, at 19:28

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 18 January 2018, at 19:28.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop