Template:Icon alt text: Difference between revisions
Template page
More actions
Created page with "{{documentation header}} <!-- documentation here --> Creates hidden alt text to put on a page. Useful for templates like {{xp|1}} or {{health|2}} or {{nbt|int}} (raw text upon copying: <code>1XP or 2HP or [Int]</code>) where significant meaning is denoted only through the icon. Allows keeping important contexts when copy pasting sentences. Uses CSS class <code>.hidden-alt-text</code> → MediaWiki:Common.css." |
No edit summary |
||
| Line 1: | Line 1: | ||
<span class="hidden-alt-text">{{{1}}}</span><noinclude>{{documentation}} | |||
< | <!-- Put categories/interwikis on the documentation page --></noinclude> | ||
Revision as of 16:21, 9 March 2026
{{{1}}}
Creates hidden alt text to put on a page. Useful for templates like Template:Xp or 2HP or (raw text upon copying: 1XP or 2HP or [Int]) where significant meaning is denoted only through the icon. Allows keeping important contexts when copy pasting sentences.
Uses CSS class .hidden-alt-text → MediaWiki:Common.css.
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Icon alt text/doc.