Difference between revisions of "Template:Key"

From Underrail Wiki
Jump to navigation Jump to search
(new template)
 
m
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
''([[Controls|keybind]]: '''{{{1}}}''')''<noinclude>
+
[[Controls|<kbd style="color:#000; font-weight:bold; text-shadow: 0px 0px 2px #888; background-image:linear-gradient(#777,#444); border:1px solid; border-color:#999 #111 #111 #999; border-radius:3px; padding:0 .4em; white-space:nowrap;">{{{1}}}</kbd>]]<noinclude>{{documentation}}</noinclude>
[[Category:General wiki templates]]
 
 
 
= Documentation =
 
This is a simple template for inputting inline keybinds.
 
 
 
=== Syntax ===
 
<code><nowiki>{{key|the keybind you want}}</nowiki></code>
 
 
 
=== Example ===
 
<code><nowiki>{{key|Esc}}</nowiki></code> results in {{key|Esc}}
 
</noinclude>
 

Latest revision as of 02:52, 1 December 2016

{{{1}}}

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Key/doc to view this documentation. (edit) (How does this work?)
Description
This template is used for inputting keybinds inline.
Syntax
Insert this template using {{key|<the keybind you want>}}
Example
{{key|Esc}} results in Esc