Difference between revisions of "Template:Button"

From EVE University Wiki
Jump to: navigation, search
m
(Moved documentation to Template:Button/doc.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span style="font-size:95%; border:1px solid #505050; border-radius:5px; background-color:#222222; padding-left:2px; padding-right:2px; padding-bottom:2px; padding-top:0px;"><small><span style="text-transform: capitalize;">{{{1}}}</span></small></span><noinclude>
+
<includeonly><span style="font-size:95%; border:1px solid #505050; border-radius:5px; background-color:#222222; padding-left:2px; padding-right:2px; padding-bottom:2px; padding-top:0px;"><small><span style="text-transform: capitalize;">{{{1}}}</span></small></span></includeonly><noinclude>
 
+
{{documentation}}
'''Usage:''' <code><nowiki>{{ button | text }}</nowiki></code>
 
 
 
'''Result:''' {{button|Control}} + {{button|C}} will paste stuff!
 
[[Category:Template]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 18:25, 24 February 2017

Template documentation (for the above template, sometimes hidden or invisible)
Description
Use this template to indicate keyboard button presses.
Usage
{{button|text}}
Example
{{button|CTRL}} + {{button|C}} gives:
CTRL + C
Visit Template:Button/doc to edit this text! (How does this work?) (Refresh this text - why?)