Difference between revisions of "Module:Dagger"
Jump to navigation
Jump to search
Module documentation
blackwiki>Primefac m (Changed protection level for "Template:Dagger": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
blackwiki>RexxS (differentiate templates in the see also section) |
||
Line 9: | Line 9: | ||
== See also == | == See also == | ||
+ | These allow alternate text of the editor's choice: | ||
* [[Template:Double-dagger]] | * [[Template:Double-dagger]] | ||
− | |||
* [[Template:Down-arrow]] | * [[Template:Down-arrow]] | ||
* [[Template:Up-arrow]] | * [[Template:Up-arrow]] | ||
* [[Template:Hash-tag]] | * [[Template:Hash-tag]] | ||
* [[Template:Section-sign]] | * [[Template:Section-sign]] | ||
+ | These do not allow alternate text of the editor's choice: | ||
+ | * [[Template:Extinct]] | ||
* [[Template:KIA]] for the "Killed in action" marker | * [[Template:KIA]] for the "Killed in action" marker | ||
* [[Template:Gc]] for a light gray superscripted dagger | * [[Template:Gc]] for a light gray superscripted dagger |
Revision as of 12:30, 14 May 2019

This template generates a dagger symbol with 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 readers for those with visual impairment, and can be used by search engines to determine the content of the image.
Usage
{{dagger}}
produces{{dagger|alt=footnote}}
produces
(Either the symbol or the alternative text is displayed, according to the browser settings.)
See also
These allow alternate text of the editor's choice:
- Template:Double-dagger
- Template:Down-arrow
- Template:Up-arrow
- Template:Hash-tag
- Template:Section-sign
These do not allow alternate text of the editor's choice:
- Template:Extinct
- Template:KIA for the "Killed in action" marker
- Template:Gc for a light gray superscripted dagger
You might want to create a documentation page for this Scribunto module. Editors can experiment in this module's sandbox (create | mirror) and testcases (create) pages. Subpages of this module. |