Difference between revisions of "Template:Double-dagger"

From blackwiki
Jump to navigation Jump to search
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={{ifempty|{{{alt|}}}|double-dagger}}|link=]]<noinclude>
+
[[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>(either the symbol or the alternative text is displayed according to the browser).
+
:<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

Script error: No such module "If empty".

Template documentation

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 Script error: No such module "If empty".
{{double-dagger|alt=footnote}} produces Script error: No such module "If empty".
(Either the symbol or the alternative text is displayed, according to the browser settings.)

See also