Difference between revisions of "Template:Button"
From Roll20 Wiki
Andreas J. (Talk | contribs) m |
Andreas J. (Talk | contribs) m |
||
Line 1: | Line 1: | ||
− | <code style="font-family:mono;{{#ifeq: {{{2|}}}|blue|color:#ffffff;background-color: #0064cd;text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);border-color: | + | <code style="font-family:mono;{{#ifeq: {{{2|}}}|blue|color:#ffffff;background-color: #0064cd;text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);border-color:black;background-image: -webkit-linear-gradient(top, #049cdb, #0064cd);background-repeat: repeat-x;|background:#e6e2e2;color:black;}}border:1px solid;border-radius:5px;font-weight:bold;font-size:14px;box-shadow: 3px 2px 2px rgba(0, 0, 0, 0.5);">{{{1}}}</code><noinclude> |
{{ex}} | {{ex}} | ||
Press {{button|F12}}. Do {{button|Shift}}+{{button|Alt}}+{{button|K}} | Press {{button|F12}}. Do {{button|Shift}}+{{button|Alt}}+{{button|K}} | ||
<pre>Press {{button|F12}}. Do {{button|Shift}}+{{button|Alt}}+{{button|K}}</pre> | <pre>Press {{button|F12}}. Do {{button|Shift}}+{{button|Alt}}+{{button|K}}</pre> | ||
You can use {{code|blue}} parameters to change the look of the "button", to mimic how roll20 menu buttons look | You can use {{code|blue}} parameters to change the look of the "button", to mimic how roll20 menu buttons look | ||
+ | {{ex}} | ||
Press the {{button|{{gear}}|blue}} to open Turn tracker settings. | Press the {{button|{{gear}}|blue}} to open Turn tracker settings. | ||
<pre>Press the {{button|{{gear}}|blue}} to open Turn tracker settings.</pre> | <pre>Press the {{button|{{gear}}|blue}} to open Turn tracker settings.</pre> |
Revision as of 08:19, 11 February 2022
{{{1}}}
Example:
Press F12. Do Shift+Alt+K
Press {{button|F12}}. Do {{button|Shift}}+{{button|Alt}}+{{button|K}}
You can use blue
parameters to change the look of the "button", to mimic how roll20 menu buttons look
Example:
Press the y to open Turn tracker settings.
Press the {{button|{{gear}}|blue}} to open Turn tracker settings.