Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Template:Button"

From Roll20 Wiki

Jump to: navigation, search
m
m
Line 1: Line 1:
<code style="font-family:mono;{{#switch: {{{2|}}}
+
<code style="{{#switch: {{{2|}}}
 
  | blue    = color:#ffffff;background-color: #0064cd;text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);border-color:black !important;background-image: -webkit-linear-gradient(top, #049cdb, #0064cd);background-repeat: repeat-x;
 
  | blue    = color:#ffffff;background-color: #0064cd;text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);border-color:black !important;background-image: -webkit-linear-gradient(top, #049cdb, #0064cd);background-repeat: repeat-x;
 
  | red      = color:#ffffff;background-color: #bd362f;text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);border-color:black !important;background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);background-repeat: repeat-x;
 
  | red      = color:#ffffff;background-color: #bd362f;text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);border-color:black !important;background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);background-repeat: repeat-x;
 
  | white    = color:#333333;background-color: #f5f5f5;text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);border-color:black !important;background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);background-repeat: repeat-x;
 
  | white    = color:#333333;background-color: #f5f5f5;text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);border-color:black !important;background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);background-repeat: repeat-x;
  | #default = background:#e6e2e2;color:black;font-weight:bold;
+
  | #default = background:#e6e2e2;color:black;font-weight:bold;font-family:mono;
 
}}border:1px solid;border-radius:5px;font-size:14px;box-shadow: 3px 2px 2px rgba(0, 0, 0, 0.5);">{{{1}}}</code><noinclude>
 
}}border:1px solid;border-radius:5px;font-size:14px;box-shadow: 3px 2px 2px rgba(0, 0, 0, 0.5);">{{{1}}}</code><noinclude>
 
{{ex}}
 
{{ex}}
Line 16: Line 16:
 
{{button|Delete|red}} is permanent, and can only be recovered with a rollback.
 
{{button|Delete|red}} is permanent, and can only be recovered with a rollback.
  
Press {{button|<span class="pictos">c</span>Upload|white}} to upload more content to your {{Art Library}}, or {{button|<span class="pictos">o</span>Add|white}} to add new folder to the {{Journal}}  
+
 
 +
Press {{button|{{upload}}Upload|white}} to upload more content to your {{Art Library}}, or {{button|{{folder}}Add|white}} to add new folder to the {{Journal}}  
 
<pre>Press the {{button|{{gear}}|blue}} to open Turn tracker settings.
 
<pre>Press the {{button|{{gear}}|blue}} to open Turn tracker settings.
 
Press the {{button|Apply Changes|white}} to continue.
 
Press the {{button|Apply Changes|white}} to continue.
 
{{button|Delete|red}} is permanent, and can only be recovered with a rollback.
 
{{button|Delete|red}} is permanent, and can only be recovered with a rollback.
Press {{button|<span class="pictos">c</span>Upload|white}} to upload more content to your {{Art Library}}, or {{button|<span class="pictos">o</span>Add|white}} to add new folder to the {{Journal}}</pre>
+
Press {{button|{{upload}}Upload|white}} to upload more content to your {{Art Library}}, or {{button|{{folder}}Add|white}} to add new folder to the {{Journal}}</pre>
 
[[Category:Templates]]
 
[[Category:Templates]]
 
[[Category:Template Documentation]]
 
[[Category:Template Documentation]]
 
</noinclude>
 
</noinclude>

Revision as of 09:22, 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, red, white parameters to change the button to more closely resemble buttons from the Roll20 UI
Example:

Press the y to open Turn tracker settings.

Press the Apply Changes to continue.

Delete is permanent, and can only be recovered with a rollback.


Press cUpload to upload more content to your P Art Library, or oAdd to add new folder to the N Journal

Press the {{button|{{gear}}|blue}} to open Turn tracker settings.
Press the {{button|Apply Changes|white}} to continue.
{{button|Delete|red}} is permanent, and can only be recovered with a rollback.
Press {{button|{{upload}}Upload|white}} to upload more content to your {{Art Library}}, or {{button|{{folder}}Add|white}} to add new folder to the {{Journal}}