सांचो:Page status indicator
Disnnem
Documentation
[बदल]This template can be called by other templates to create a page status indicator (an icon appearing at the top-right of the page, to the right of the page title — see an example above on this page). It should not be used directly in articles!
Usage
[बदल]Common parameters:
{{Page status indicator
| name =
| icon =
| description = }}
All parameters:
{{Page status indicator
| name =
| icon =
| size =
| alt =
| link =
| description = }}
Note: Remove a parameter line completely to use its default value.
Parameters
[बदल]- name
- used in an "id" attribute in the rendered HTML
- default value:
page-status-indicator - must be overridden by the calling template, because this template might be called multiple times on a single page
- icon
- the file name of the icon; do not use the prefix
File:orImage: - default value:
Symbol_question.svg - should be overridden by the calling template; the default value is provided as a kind of "error message" for the user creating the calling template
- size
- icon display size
- default value:
20px - the default should generally be used for consistency; do not use sizes larger than 24px
- alt
- used as an "alt" attribute for the icon image
- default value:
Status - not used by browsers that display graphics or text (so, screen readers only?); the default should be fine
- link
- if provided, links the icon to the specified target page
- no default value (empty)
- should be left empty
- description
- text to be displayed as a tooltip
- default value:
This article's status is unknown. - should be overridden by the calling template, since the default value is not helpful