Difference between revisions of "Template:Double-dagger"
Jump to navigation
Jump to search
Template documentation
imported>Pol098 m (brief explanation of alternative text) |
imported>Jdaloner m (Updated usage of "if empty" template. Tweaked punctuation and wording as well.) |
||
| Line 1: | Line 1: | ||
| − | [[File:Double-dagger-14-plain.png|alt={{ | + | [[File:Double-dagger-14-plain.png|alt={{if empty|{{{alt|}}}|double-dagger}}|link=]]<noinclude> |
{{documentation | {{documentation | ||
|content = | |content = | ||
| Line 6: | Line 6: | ||
== Usage == | == Usage == | ||
:<code><nowiki>{{double-dagger}}</nowiki></code> produces {{double-dagger}} | :<code><nowiki>{{double-dagger}}</nowiki></code> produces {{double-dagger}} | ||
| − | :<code><nowiki>{{double-dagger|alt=footnote}}</nowiki></code> produces {{double-dagger|alt=footnote}}<br>( | + | :<code><nowiki>{{double-dagger|alt=footnote}}</nowiki></code> produces {{double-dagger|alt=footnote}}<br />(Either the symbol or the alternative text is displayed, according to the browser settings.) |
== See also == | == See also == | ||
Revision as of 11:11, 27 September 2014
This template generates a double-dagger symbol with alternative text. The text is not normally visible to readers, but may be displayed by web browsers when images are switched off, is read out loud by screen readers for those with visual impairment, and can be used by search engines to determine the content of the image.
Usage
{{double-dagger}}produces
{{double-dagger|alt=footnote}}produces
(Either the symbol or the alternative text is displayed, according to the browser settings.)
See also
| Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |