Template:KeySmall: Difference between revisions

m
docs: wording
(docs: added note about problem characters and solution)
m (docs: wording)
 
Line 75: Line 75:
*It has not been tested with all possible keys on all possible keyboards so some characters may need special tweaking to look good or even be legible. The only special layout created so far is for the tilde key, so this can serve as a model for future special layouts being added to the template code.
*It has not been tested with all possible keys on all possible keyboards so some characters may need special tweaking to look good or even be legible. The only special layout created so far is for the tilde key, so this can serve as a model for future special layouts being added to the template code.


*Certain characters may not display unless prefixed with another character; known problem characters are <code>#</code>, <code>*</code>, <code>:</code>, and <code>;</code>. Insert a zero-width non-joiner (<code>&&zwnj;zwnj;</code>) before the character to fix the problem.
*Certain characters will be interpreted by the MediaWiki parser as having special meaning unless prefixed with another character, such as <code>#</code>, <code>*</code>, <code>:</code>, and <code>;</code>. Insert a zero-width non-joiner (<code>&&zwnj;zwnj;</code>) before the character to avoid the parser.


<code><nowiki>{{KeySmall|#}}</nowiki></code><br>
<code><nowiki>{{KeySmall|#}}</nowiki></code><br>