Difference between revisions of "Template:Key/0"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(only show tooltips for characters that are different from their lowercase representations, not the same as their uppercase (i.e. don't show tooltips for punctuation))
(escape everything with nowiki, to fix ; : '' etc)
 
Line 1: Line 1:
<span class="keyboard-key nowrap" style="border: 1px solid #aaa; {{border-radius|0.2em}} {{box-shadow|0.1em|0.2em|0.2em|#ddd}} background-color: #f9f9f9; {{linear-gradient|top|#eee, #f9f9f9, #eee}} padding: 0.1em 0.3em; font-family: inherit; font-size: 0.9em;" title="{{#ifeq:{{#strlen:{{{1}}}}}|1|{{#ifeq:{{{1}}}|{{lc:{{{1}}}}}||Shift-{{lc:{{#mreplace:{{{1}}}|<|&lt;|>|&gt;|*|<nowiki>*</nowiki>}}}}}}}}">{{#mreplace:{{{1}}}|<|&lt;|>|&gt;|*|<nowiki>*</nowiki>}}</span>
+
<span class="keyboard-key nowrap" style="border: 1px solid #aaa; {{border-radius|0.2em}} {{box-shadow|0.1em|0.2em|0.2em|#ddd}} background-color: #f9f9f9; {{linear-gradient|top|#eee, #f9f9f9, #eee}} padding: 0.1em 0.3em; font-family: inherit; font-size: 0.9em;" title="{{#tag:nowiki|{{#ifeq:{{#strlen:{{{1}}}}}|1|{{#ifeq:{{{1}}}|{{lc:{{{1}}}}}||Shift-{{lc:{{#mreplace:{{{1}}}|<|&lt;|>|&gt;}}}}}}}}}}">{{#tag:nowiki|{{#mreplace:{{{1}}}|<|&lt;|>|&gt;}}}}</span>

Latest revision as of 23:22, 3 April 2021

{{{1}}}