Difference between revisions of "Template:Dagger"

From PhysWiki
Jump to: navigation, search
m (24 revisions: Column template)
 
(18 intermediate revisions by 14 users not shown)
Line 1: Line 1:
[[File:Dagger-14-plain.png|alt={{ifempty|{{{alt|}}}|dagger}}|link=]]<noinclude>
+
[[File:Dagger-14-plain.png|alt={{if empty|{{{alt|}}}|dagger}}|link=]]<noinclude>
 
{{documentation
 
{{documentation
 
|content =  
 
|content =  
This template generates a dagger symbol with [[Wikipedia:Alternative text for images|alternative text]].
+
This template generates a dagger symbol with [[Wikipedia:Alternative text for images|alternative text]]. The default alt text is "dagger". 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 reader]]s for those with visual impairment, and can be used by search engines to determine the content of the image.
  
 
== Usage ==
 
== Usage ==
 
:<code><nowiki>{{dagger}}</nowiki></code> produces {{dagger}}
 
:<code><nowiki>{{dagger}}</nowiki></code> produces {{dagger}}
:<code><nowiki>{{dagger|alt=footnote}}</nowiki></code> produces {{dagger|alt=footnote}}
+
:<code><nowiki>{{dagger|alt=footnote}}</nowiki></code> produces {{dagger|alt=footnote}}<br />(Either the symbol or the alternative text is displayed, according to the browser settings.)
  
 
== See also ==
 
== See also ==
 
* [[Template:Double-dagger]]
 
* [[Template:Double-dagger]]
 +
* [[Template:Extinct]]
 +
* [[Template:Down-arrow]]
 +
* [[Template:Up-arrow]]
 +
* [[Template:Hash-tag]]
 
* [[Template:Section-sign]]
 
* [[Template:Section-sign]]
* [[Template:Hash tag]]
+
* [[Template:KIA]] for the "Killed in action" marker
 +
* [[Template:Gc]] for a light gray superscripted dagger
 
}}
 
}}
[[Category:Image insertion templates]]
+
[[Category:Single-image insertion templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 06:06, 5 September 2016

Template:If empty {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox